Previous Topic: -320 - message describing user errorNext Topic: -322 - INVALID SQLSTATE


-321 - INVALID SQLCODE sqlcode HAS BEEN GENERATED

Explanation

A user-written procedure has returned an SQLCODE that is not a valid DATACOM SQLCODE.

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.