PL/I PP compiler option

When you specify the CCSID for a PL/I application, you might need to use the PP compiler option. This option enables you to specify SQL processing options to the Db2 coprocessor and the PL/I SQL preprocessor.

The following code shows an example of the PP compiler option:
PP(SQL('APOSTSQL,FLOAT(IEEE)'))

PL/I has an SQL preprocessor that works with the Db2 coprocessor to process SQL statements. Some of the SQL suboptions for the PP compiler option are for the PL/I SQL preprocessor. Other suboptions are for the Db2 coprocessor. For example, the NOCCSID0 and the CCSID0 suboptions are for the PL/I SQL preprocessor.

The following code shows an example of specifying SQL suboptions for both the Db2 coprocessor and PL/I SQL preprocessor:

PP(SQL('APOSTSQL,FLOAT(IEEE),NOCCSID0'))

Example

Suppose that you specify the following statement with the PP compiler option and SQL suboption NOCCSID0:

PARM='S,XREF,PP(SQL("APOSTSQL,NOCCSID0"))' 
The following output listing shows the options that are in effect for both the PL/I SQL preprocessor and the Db2 coprocessor:
SQL Preprocessor Options Used
NOCCSID0
LOB(DB2)
OPTIONS
DB2 for z/OS Coprocessor Options used
APOST
APOSTSQL
ATTACH(TSO)
CCSID(1140)