Previous Topic: Setting Data as Nonpurgeable

Next Topic: Executing IN25COB2 as a Standalone Program

Required COBOL II Options

The following compiler options are required to load symbolic information for COBOL II programs into the PROTSYM file:

Option

Description

MAP

Produces a Data Division map.

NONUMBER

Suppresses compiler-generated line numbers.

OFFSET or LIST

Produces a condensed Procedure map or full Assembler Procedure map.

XREF

Produces a cross-reference of data and procedure names.

Note: The LIST option is required when using the integrated CICS translator or integrated SQL coprocessor of COBOL for z/OS.

The following compiler options are required to load symbolic information for a program compiled using CA Optimizer/II into the PROTSYM file:

Option

Description

INTERTST

Required only when optimizing programs that are monitored using CA InterTest for CICS.

MAP or MMAP

Produces a Data Division map or merged Data Division map.

MMAP

Required when optimizing programs that are monitored using CA InterTest for CICS.

MOFFSET

Produces a merged Procedure map.

NONUM

Suppresses compiler-generated line numbers.

XREF

Produces a cross-reference of data and paragraph names.

Note: If you are using CA Optimizer/II r7 or higher, you can use the SYM compile-time option to automatically load symbolic information into your PROTSYM file during optimization. When using the SYM option, add a PROTSYM DD statement to your compile/optimize step. No additional option requirements exist when using this method.

To use symbolic references in COBOL II, you must declare at least one data item in working storage.