Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)

Data Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
5-6
Data Description Entry
Level 88 defines a condition name, including a value or range of values that define
the condition to be tested.
Data Description Entry
A data description entry defines the characteristics of a data item. The entry can be
used in the Working-Storage Section or Linkage Section of the SCREEN COBOL
program.
When the program unit is compiled, numeric elementary data items in the Working-
Storage Section that do not include an OCCURS clause are initialized to zero.
Several forms are available to describe items for various purposes. Some entries
cause the creation of items (memory space is allocated), while others supply
alternative descriptions or reference points for already existing data. Others supply
specification of value ranges for later testing.
The syntax of the data description entry is:
Format 1 is:
Format 2 is:
Format 3 is:
{ WORKING-STORAGE SECTION. }
{ LINKAGE SECTION. }
level-number
{
data-name-1
}
{ FILLER }
[ JUSTIFIED
clause
]
[ OCCURS
clause
]
[ PICTURE
clause
]
[ REDEFINES
clause
]
[ SIGN
clause
]
[ SYNCHRONIZED
clause
]
[ USAGE
clause
]
[ VALUE
clause
]
Note. The VALUE clause in Format 1 applies to the Working-Storage Section only.
[ 66
new-name
[ RENAMES
clause
] ]
[ 88
condition-name
, [ VALUE
clause
] ]