If you are using the CA Datacom/DB SQL Preprocessor for COBOL or the Interactive SQL Service Facility, errors can generate non-SQL return codes or messages, as described in the table and the following information.
Note: For a complete list of SQL return codes, see 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 values for the SQLCODE indicate that the error was detected within the SQL Manager. Two special cases occur when SQLCODE contains -117 or -118 (see SQL Return Codes -117 and -118).
Beginning with r11, a SQLSTATE status indicator is listed with each SQLCODE. See the SQL return code information in the CA Datacom/DB Message Reference Guide and SQL States in this chapter..
|
Copyright © 2014 CA.
All rights reserved.
|
|