Set COBOL Processing Options panel
You use the Set COBOL Processing Options panel to customize how FM/Db2 compiles COBOL copybooks to generate FM/Db2 templates.
These options are saved in your ISPF profile and persist from one FM/Db2 session to the next.
Panel and field definitions
Process Options Utilities Help ──────────────────────────────────────────────────────────────────────────────── FM/Db2 (DFG2) Set COBOL Processing Options Additional SYSLIB data sets: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. COBOL REPLACE Options: From string To string 1. by 2. by 3. by 4. by 5. by COBOL Compiler Options: Enter "/" to select option DBCS Decimal-point is comma Arith(extend) Mixed case field names Additional options Maximum Return Code to be accepted from compiler 04 (0-99) Command ===> F1=Help F2=Split F3=Exit F7=Backward F8=Forward F9=Swap F12=Cancel
- Additional SYSLIB data sets
- When you use one of the preceding FM/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 File Manager/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 File Manager 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 FM/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 File Manager.
Child panels
None.