COBOL Manual for TNS/E Programs (H06.03+)

Data Division
HP COBOL Manual for TNS/E Programs520347-003
7-32
Working-Storage Section
Working-Storage Section
The Working-Storage Section defines records and miscellaneous data items for the
process to use. You can set the initial values of most data items in working storage.
When a process does not need local data items or explicit intermediate storage to
execute the run unit, you can omit the Working-Storage Section.
01-data-description
77-data-description
describe data items for the process to use (for details, see Data Description
Entries). You can specify initial values for most of these data items (see Initializing
Data Items).
There is no difference between level-77 items and elementary level-01 items, and
the latter are preferred.
There are limits to the number of records and level-77 items that a program can
contain. See Section 18, HP COBOL CRE Support.
66-or-88
is a level-66 or level-88 description. For syntax, see Descriptions That Rename
Items (Level 66) and Descriptions of Condition-Names for Values (Level 88).
Data Description Entries
The data description entries for unrelated items (level-77 items) or records or both
follow the Working-Storage Section header. Record-names, level-77 item names, and
subordinate data-names are not required to be unique within the program except in
these cases:
A data-name that is referenced in the program and cannot be uniquely designated
by including qualifying names in the reference cannot be uniquely designated by
including qualifying names in the reference (the reference is diagnosed, not the
data-name)
.
WORKING-STORAGE SECTION
01-data-description
77-data-description
66-or-88
VST094.vsd