COBSQL

The SQLDA is only required if your program uses dynamic SQL. Oracle provides an extra copybook, ORACA, for use with dynamic SQL. To use this copybook:

  1. Include the following EXEC SQL statement in your program:
    EXEC SQL
       INCLUDE ORACA
    END-EXEC
  2. When compiling, set the Oracle precompiler option, ORACA=YES.

    For more information on setting Oracle precompiler options, refer to the Programmer's Guide to the Oracle Precompilers.