Previous Topic: -321 - INVALID SQLCODE sqlcode HAS BEEN GENERATEDNext Topic: -323 - LUW_STATEMENT_LIMIT OF x STATEMENTS EXCEEDED - TRY A COMMIT


-322 - INVALID SQLSTATE

Explanation

A user-written procedure has produced an SQLSTATE that is not a valid DATACOM SQLSTATE.

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

User Response

Modify, repreprocess, and recompile the procedure to follow all instructions given in the information about parameter styles and error handling, in the section dealing with procedures and triggers, in the CA Datacom/DB SQL User Guide.