When you generate a COBOL program for z/OS®, the sqlIOTrace build descriptor option specifies whether the generated COBOL program includes the code necessary to trace both the SQL data and the SQL error codes from the SQL communications area (SQLCA) for I/O operations that involve a relational database. If you set sqlIOTrace to YES, the trace output is produced only if you also activate the runtime tracing. To stop the trace, you can either deactivate the runtime tracing or set sqlIOTrace to NO and generate the program again.
To trace only the SQL error codes that occur during the I/O operations that involve a relational database, use the sqlErrorTrace build descriptor option. To trace all statements, use the statementTrace build descriptor option.
For more information about activating the trace and for information about obtaining the trace output, see the IBM® Rational® Business Developer EGL Server Guide for IBM i or IBM Rational COBOL Runtime Guide for zSeries, as appropriate for your target runtime environment.