Compiler phases and their defaults

This section explains how to indicate where a compiler phase is to be loaded, describes the phases, and includes a worksheet to help you plan changes to the phases.

To indicate where each compiler phase is loaded in relation to the user region, specify either IN or OUT.

For more information about why you might or might not want to change these defaults, see Why place the compiler phases in shared storage?.

IN
Indicates that the compiler phase is loaded into the user region from a library available at compile time.

Even though IN is specified for a compiler phase, the phase still can be placed into the shared system area. However, the compiler control phase ensures that the main storage area reserved for compiler phases is large enough to contain the largest phase for which IN is specified. This option will cause some storage to be unused.

OUT
Indicates that the compiler phase is not loaded into the user region from the library, and therefore must reside in a shared system area, such as the MLPA.
IGYCDGEN
The data generation phase. It generates the appropriate WCode instructions to describe data items in the program.

Syntax

Read syntax diagramSkip visual syntax diagramDGEN=INOUT
IGYCDIAG
The diagnostic phase. It processes E-form text and generates compiler diagnostics for source program errors. It includes IGYCDIAG plus the following message modules: IGYCxx$D, IGYCxx$1, IGYCxx$2, IGYCxx$3, IGYCxx$4, IGYCxx$5, and IGYCxx$8, where xx is EN, UE, or JA.

Syntax

Read syntax diagramSkip visual syntax diagramDIAG=INOUT
IGYCDMAP
The DMAP phase. It prepares text for output requested by the MAP option.

Syntax

Read syntax diagramSkip visual syntax diagramDMAP=INOUT
IGYCFGEN
The file generation phase. It generates the control blocks for the FDs and SDs defined in the program.

Syntax

Read syntax diagramSkip visual syntax diagramFGEN=INOUT
IGYCINIT
The initialization phase. It does housekeeping to prepare for running of the processing phases.

Syntax

Read syntax diagramSkip visual syntax diagramINIT=INOUT
IGYCLIBR
The COPY phase. It processes library source text and does a syntax check of the COPY, BASIS, and REPLACE statements.

Syntax

Read syntax diagramSkip visual syntax diagramLIBR=INOUT
IGYCLSTR
The source listing phase. It prints the source listing with embedded cross-reference and diagnostic information.

Syntax

Read syntax diagramSkip visual syntax diagramLSTR=INOUT
IGYCMSGT
Represents the header text table and diagnostic message level tables. It includes the following modules: IGYCxx$R, IGYCLVL0, IGYCLVL1, IGYCLVL2, IGYCLVL3, and IGYCLVL8, where xx is EN, UE, or JA.

Syntax

Read syntax diagramSkip visual syntax diagramMSGT=INOUT
IGYCOSCN
The option scanning phase. It determines the default options, processes the EXEC PARM options, and processes the PROCESS (CBL) statements.

Syntax

Read syntax diagramSkip visual syntax diagramOSCN=INOUT
IGYCPGEN
The procedure generation phase. It supplies code for all procedure source statements.

Syntax

Read syntax diagramSkip visual syntax diagramPGEN=INOUT
IGYCRCTL
The resident control phase. It establishes the size of compiler common and working storage, and performs initialization of program common storage.

Syntax

Read syntax diagramSkip visual syntax diagramRCTL=INOUT
IGYCRWT
The normal reserved word table.

Syntax

Read syntax diagramSkip visual syntax diagramRWT=INOUT
IGYCSCAN
The scanning phase. It does syntax and semantic analysis of the source program and translates the source to intermediate text.

Syntax

Read syntax diagramSkip visual syntax diagramSCAN=INOUT
IGYCSIMD
The system interface phase for the Enterprise COBOL compiler. This phase is called by all other compiler phases to perform system-dependent functions.

Syntax

Read syntax diagramSkip visual syntax diagramSIMD=INOUT
IGYCXREF
The XREF phase. It sorts user-names and procedure-names in EBCDIC collating sequence.

Syntax

Read syntax diagramSkip visual syntax diagramXREF=INOUT