This directive enables the values of compiler options which influence the listings generated by the compiler to be modified.
Format
| MERGE-REFERENCES |
{| EXPAND-COPY | EXPAND-SUBSCHEMA | MERGE-DIAGNOSTICS >>IMP LISTING-OPTIONS
MERGE-STATEMENT-ADDRESS
| SORT-MAP
| SHORTEN-XREF
|}
{ON | OFF | DEFAULT }
Syntax rule
This directive may only be specified before a compilation unit.
General rules
The directive applies in the listing generation phase.
Each operand specified in the directive relates to the compiler option of the same name (see “COBOL2000 Reference Manual” [1]).
The ON specification causes the value YES to be assumed for the compiler option specified. However, the directive applies only if the listing which it affects is also to be generated.
The OFF specification causes the value NO to be assumed for the compiler option specified.
The DEFAULT specification causes the value specified when the compiler was called to be assumed for the compiler option specified.
The last value specified for an operand before a compilation unit is also used for listing generation of the lines specified before a compilation unit (e.g. the last value for EXPAND-COPY also applies for COPY statements which were specified before this directive).