Previous Topic: COBOL Example 2Next Topic: SQLCA in COBOL


SQL Communication Area (SQLCA)

The CA Datacom/DB SQL Preprocessor generates one SQLCA for each compiled embedded SQL program. The SQLCA is a collection of variables used by CA Datacom/DB to provide an application program with information about the execution of its SQL statements. Since CA Datacom/DB updates the SQLCA during the execution of every SQL statement, the information in this area applies to the most recently executed SQL statement.