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. . . . . . . . . . . . . . . . . . .