COBSQ0409: token is not a data item

The precompiler found a host variable that is referenced in an SQL statement but has no valid COBOL definition.

Verify that the host variable exists. If it does not, make the necessary changes to correct the error or use the SQL Option DCLGEN tool to generate a copybook of host variable for the SQL table in question.

If the variable in error message is defined in a COBOL copybook, you may need to specify the XDB(COPY) directive.