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.
- 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.
- IGYCDMAP
- The DMAP phase. It prepares text for output requested by the MAP option.
- IGYCFGEN
- The file generation phase. It generates the control blocks for the FDs and SDs defined in the program.
- IGYCINIT
- The initialization phase. It does housekeeping to prepare for running of the processing phases.
- IGYCLIBR
- The COPY phase. It processes library source text and does a syntax check of the COPY, BASIS, and REPLACE statements.
- IGYCLSTR
- The source listing phase. It prints the source listing with embedded cross-reference and diagnostic information.
- 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.
- IGYCOSCN
- The option scanning phase. It determines the default options, processes the EXEC PARM options, and processes the PROCESS (CBL) statements.
- IGYCPGEN
- The procedure generation phase. It supplies code for all procedure source statements.
- IGYCRCTL
- The resident control phase. It establishes the size of compiler common and working storage, and performs initialization of program common storage.
- IGYCRWT
- The normal reserved word table.
- IGYCSCAN
- The scanning phase. It does syntax and semantic analysis of the source program and translates the source to intermediate text.
- IGYCSIMD
- The system interface phase for the Enterprise COBOL compiler. This phase is called by all other compiler phases to perform system-dependent functions.
- IGYCXREF
- The XREF phase. It sorts user-names and procedure-names in EBCDIC collating sequence.