Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


MAP

Use MAP to produce a listing of the items defined in the DATA DIVISION.

MAP option syntax
Read syntax diagramSkip visual syntax diagram   .-NOMAP-.  
>>-+-------+---------------------------------------------------><
   '-MAP---'  
 

Default is: NOMAP

Abbreviations are: None

The output includes the following items:

If you want to limit the MAP output, use *CONTROL MAP or NOMAP statements in the DATA DIVISION. Source statements that follow *CONTROL NOMAP are not included in the listing until a *CONTROL MAP statement switches the output back to normal MAP format. For example:

*CONTROL NOMAP            *CBL NOMAP
    01  A                     01  A
    02  B                     02  B
*CONTROL MAP              *CBL MAP

By selecting the MAP option, you can also print an embedded MAP report in the source code listing. The condensed MAP information is printed to the right of data-name definitions in the FILE SECTION, LOCAL-STORAGE SECTION, and LINKAGE SECTION of the DATA DIVISION. When both XREF data and an embedded MAP summary are on the same line, the embedded summary is printed first.

Example: MAP output

related concepts
Debugging

related tasks
Getting listings

related references
*CONTROL (*CBL) statement (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)