COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
min
is an integer literal that specifies the minimum number of table elements. Its value is in the range
0 through max.
max
is an integer literal that specifies the maximum number of table elements.
depend
is an integer data item that controls the size of the table. As depend increases or decreases,
the number of table elements increases or decreases. When the table size decreases, elements
beyond the element whose ordinal position is specified by the new value of depend are
lost—even if the next statement increases the table to include them. When the table grows, you
must assign values to the new elements prior to using them.
key-order
determines whether table elements are arranged in ascending or descending order of key
values.
key
is either the name of the entry containing the OCCURS clause or the name of an entry
subordinate to the entry containing the OCCURS clause.
index
is a name for compiler-created item used to select an element from the table. Each index
must be unique in the program because you cannot qualify it.
Descriptions of Records (Levels 01-49) 215










