Previous Topic: SQL Return Codes -1 through -999Next Topic: -2 - EMPTY QUERY STRING


-1 - NULL INDICATOR VARIABLE REQUIRED FOR OUTPUT HOST VARIABLE NUMBER nnn

Reason:

A projected value is NULL and you have not specified a null indicator.

The SQLSTATE that equates to this SQL return code is 22002.

Action:

This may be a DB, DDOL, or DQ error. If the error occurs in your COBOL program, add a null indicator for that projected value. If it occurs in DDOL or DQ, contact CA Support. For information about contacting CA Support, see Troubleshooting.