Both statements for source text manipulation and compiler directives are available for controlling the compiler. The tables below show which special statements and compiler directives exist and the logical compilation step in which they are effective (for details of the phases see the "COBOL2000 User Guide" [1].
Statements for source text manipulation | Phase |
COPY statement | Source text manipulation |
SUPPRESS option | Listing generation phase |
REPLACE statement | Source text manipulation |
Compiler directives | Phase |
CALL-CONVENTION | Compilation phase |
DEFINE | Source text manipulation |
EVALUATE | Source text manipulation |
FLAG-85 | Compilation phase |
IF | Source text manipulation |
IMP | Compilation phase and listing generation phase (depending on the operand) |
LISTING | Listing generation phase |
PAGE | Listing generation phase |
SOURCE FORMAT | Source text manipulation |
TURN | Compilation phase |