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


Image description: embedded map summary

This image shows a sample source listing with map information on the right side of source lines that contain data declarations.

The following examples show the format of map information:

121
64(0000016)

121 and 64 are the decimal lengths of data items. (0000016) is the hexadecimal displacement from the beginning of the base locator.

Map information can include a special definition symbol, such as UND, IMP, or EXT, that provides other information about a data declaration. These symbols are explained in note (3) in the main text following the image.

The following is an extract from the sample source listing:

 000002                Identification Division.
 000004                Program-id.    EMBMAP.
 000176                Data division.
 000177                File section.
 000180                FD  COMMUTER-FILE
                      *Numbers in parentheses on the following line refer to explanations in the main text.
 000181                    record 80 characters.                                     (1)   (2)
 000182                  01 commuter-record.                                         80
 000183                    05 commuter-key                 PIC x(16).                16(0000000)
 000184                    05 filler                       PIC x(64).                64(0000016)
 000221         IA1620   01 print-record                   pic x(121).               121
 000227                Working-storage section.
 000228                  01 Working-storage-for-EMBMAP     pic x.                    1
 000230                  77 comp-code                      pic S9999 comp.           2
 000231                  77 ws-type                        pic x(3)   value spaces.  3
 000234                  01 i-f-status-area.                                         2
 000235                    05 i-f-file-status              pic x(2).                 2(0000000)
                      *The numbers in parentheses on the following line refers to an explanation in the main text.
 000236                      88 i-o-successful             value zeroes.    (3) IMP

Terms of use | Feedback

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