Use the MAP compiler option to produce a listing of the DATA DIVISION items and all implicitly declared items.
When you use the MAP option, an embedded MAP summary that contains condensed MAP information is generated to the right of the COBOL source data declaration. When both XREF data and an embedded MAP summary are on the same line, the embedded summary is printed first.
You can select or inhibit parts of the MAP listing and embedded MAP summary by using *CONTROL MAP|NOMAP (or *CBL MAP|NOMAP) statements throughout the source. For example:
*CONTROL NOMAP
01 A
02 B
*CONTROL MAP
related tasks
Getting listings
related references
MAP