Format 1
Format 1 is used for data description entries in all Data Division sections. Level-number in this format can be any number from 01-49, as well as 77.
Data Description Entry - General Format 1
Notes:
- 1 Cannot be used with the TYPEDEF clause.
- 2 IBM® Extension
- 3 Syntax-checked only
Data Description Entry - General Format 1 (continued)
Notes:
- 1 Cannot be used with boolean data type
- 2 IBM Extension
The clauses may be written in any order with three exceptions:
- If data-name or FILLER is specified, it must immediately follow the level-number.
- When specified, the REDEFINES clause must be the first entry following data-name-1 or FILLER. If data-name-1 or FILLER is not specified, the REDEFINES clause must be the first entry following the level-number. The data item being described is treated as though FILLER has been specified.
- When specified, the TYPEDEF clause must be the first entry following data-name-1. The TYPEDEF clause cannot be specified with FILLER. The TYPEDEF clause and the REDEFINES clause cannot both be specified for data-name-1.
Not all clauses are compatible with each other. For details, see the descriptions of the individual clauses.
Clauses must be separated by a space, a separator comma, or a separator semicolon.
