Example: nested program map

This example shows a map of nested procedures produced by specifying the MAP compiler option. Numbers in parentheses refer to notes that follow the example.

 Nested Program Map

     (1)
 Program Attribute codes (rightmost column) have the following meanings:
    C = COMMON
    I = INITIAL
    U = PROCEDURE DIVISION USING...

    (2)   (3)      (4)                                     (5)
 Source Nesting                                            Program
 LineID Level   Program Name from PROGRAM-ID paragraph     Attributes
      2         NESTED. . . . . . . . . . . . . . . . . . 
     12     1     X1. . . . . . . . . . . . . . . . . . . 
     20     2       X11 . . . . . . . . . . . . . . . . . 
     27     2       X12 . . . . . . . . . . . . . . . . . 
     35     1     X2. . . . . . . . . . . . . . . . . . . 

(1)
Explanations of the program attribute codes
(2)
Source line number where the program was defined
(3)
Depth of program nesting
(4)
Program-name
(5)
Program attribute codes