The option string that you provide in the SQL compiler option is made available to the DB2 coprocessor. Only the DB2 coprocessor views the content of the string.
For example, the following cob2 command passes the database name SAMPLE and the DB2 options USER and USING to the coprocessor:
cob2 -q“sql('database sample user myname using mypassword')” mysql.cbl. . .
The following options, which were meaningful to and used by the DB2 precompiler, are ignored by the coprocessor:
related tasks
Separating DB2 suboptions
Using package and bind file-names
related references
SQL
Precompile (DB2 UDB Command Reference)