MAP

The MAP option affects whether map information about the DATA DIVISION items and all implicitly declared items is shown in the listing. The option also controls whether hexadecimal or decimal offsets are shown for MAP output in the listing.

Syntax

Read syntax diagramSkip visual syntax diagramMAP=*NOHEXDEC
Default
MAP=NO
HEX or DEC
Maps items that are declared in the DATA DIVISION. Map output includes:
  • DATA DIVISION map
  • Nested program structure map, and program attributes
  • Size of the program's WORKING-STORAGE and LOCAL-STORAGE and its location in the object code if the program is compiled with the NORENT option
If you specify MAP=HEX, data item offsets within groups will be in hexadecimal notation.
If you specify MAP=DEC, data item offsets within groups will be in decimal notation.
NO
Mapping is not performed.