If you are using the CA Datacom/DB SQL Preprocessor or the Interactive SQL Service Facility, errors can generate non-SQL return codes or messages as described in the CA Datacom/DB Message Reference Guide.
The SQL Manager passes a value to the SQLCODE field of the SQL Communications Area after each SQL statement is processed during preprocessing or during program execution. Most SQLCODE values indicate that the error was detected within the SQL Manager. These have negative values. If no error is indicated, the value is zero. If the message is a warning, the code has a positive value.
Two special cases are indicated when the values -117 or -118 are placed in the SQLCODE field.
Your program should print or display all return code information in the SQLCA.
Note: For information about the SQLCA fields, see the CA Datacom/DB SQL User Guide.
The following pages list all of the SQLCODE values and their meanings. For detailed explanations and appropriate user responses for each, see the CA Datacom/DB Message Reference Guide.
Copyright © 2014 CA.
All rights reserved.
|
|