Set COBOL Processing Options panel
You use the Set COBOL Processing Options panel to customize how ZDT/Db2 compiles COBOL copybooks to generate ZDT/Db2 templates.
These options are saved in your ISPF profile and persist from one ZDT/Db2 session to the next.
Panel and field definitions
- Additional SYSLIB data sets
- When you use one of the preceding ZDT/Db2 functions, if the COBOL copybook
that you specify uses COPY compiler-directing statements to include other members that
do not belong to the same PDSs as the copybooks, then you need to specify those other
PDSs here.
Here's why: members included by COPY compiler-directing statements must be found in the SYSLIB concatenation. When you specify a copybook on a Z Data Tools/Db2 panel, the SYSLIB concatenation consists of the PDS of the copybook, plus up to ten additional PDSs that you can specify on this panel. These PDSs are searched in order (PDS of the copybook, followed by these additional PDSs, 1–10.)
- COBOL REPLACE options
From
andTo
pseudo-text character strings for the REPLACE compiler-directing statement.If the COBOL copybook contains characters that you want to replace with other characters before compiling the copybook into a template, then use these replacing options.
For example, if the copybook contains colon characters (:) that you want to remove before compiling, then specify
==:==
as aFrom
string and=====
as the matchingTo
string.For details on specifying
From
andTo
strings for REPLACE, see the IBM COBOL Language Reference.- COBOL Compiler Options
- Compiler
options to be used when compiling a COBOL copybook into a template:
- DBCS
- Instructs Z Data Tools to use the DBCS compiler option.
- Decimal-point is comma
- Uses the "Decimal-point is comma" SPECIAL-NAMES paragraph when compiling COBOL copybooks.
- Arith(extend)
- Uses the Arith(extend) COBOL compile option when compiling COBOL copybooks.
- Mixed case field names
- Retains the original case of the field name as coded in the COBOL copybook.
- Maximum Return Code
- Sets the maximum warning/error code accepted from the compiler, when compiling a copybook. Any code higher than specified causes ZDT/Db2 to display a pop-up panel, in which you can review the compilation and decide about future processing.
- Additional options
- Additional COBOL compiler options which are added via the CBL statement when a COBOL compile is run to build or update a template. These options are validated during the compilation process. To avoid compilation errors, ensure that the syntax is correct and that any additional data sets required by these options are allocated before invoking Z Data Tools.
Parent panels
Child panels
None.