Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Language Reference


Data relationships

The relationships among all data to be used in a program are defined in the data division through a system of level indicators and level-numbers.

A level indicator, with its descriptive entry, identifies each file in a program. Level indicators represent the highest level of any data hierarchy with which they are associated. FD is the file description level indicator and SD is the sort-merge file description level indicator.

A level-number, with its descriptive entry, indicates the properties of specific data. Level-numbers can be used to describe a data hierarchy; they can indicate that this data has a special purpose. Although they can be associated with (and subordinate to) level indicators, they can also be used independently to describe internal data or data common to two or more programs. (See Level-numbers for level-number rules.)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)