Previous Topic: SQLCA in PL/INext Topic: SQLCA in C Language


SQLCA in Assembler

With the CA Datacom/DB SQL preprocessor for Assembler, the possible formats of the SQLCA are:

In DB2 mode in Assembler, the CA Datacom/DB SQL Communication Area (SQLCA) used is the DB2 SQLCA, including the values for SQLCODE and SQLERRM.

In Assembler, the SQLCA can be generated in an area separate from the SQLDSECT by entering this line in the source (if this include is not used, the SQLCA is generated in the SQLDSECT by default):

 EXEC SQL INCLUDE SQLCA