Definition Attributes
Data Definition Language (DDL) Reference Manual — 426798-002
6- 86
88 Condition-Name Clause
Do not use:
•
If the THROUGH option is used, the definition of the first named field or group
must precede that of the second named field or group.
RENAMES Clause Example
In the following example, ORDER-DETAIL renames the definition ODETAIL:
DEF odetail.
02 primkey.
03 ordernum TYPE *.
03 partnum TYPE *.
02 quantity PIC 9(3).
66 order-detail RENAMES primkey THRU quantity.
END
88 Condition-Name Clause
A level 88 condition-name clause associates a condition name with a value, a list of
values, or a range of values, enabling you to refer to the value or values by the
condition name.
DDL ignores this clause when generating C, FORTRAN, Pascal, pTAL, TACL, or TAL
source code.
condition-name
is a DDL name that uniquely identifies a value, a list of values, or a range of
values.
value
is a literal value associated with
condition-name
;
value
can have one of the
following forms:
"character-string" [ LN clause ]
constant-name [ LN clause ]
figurative-constant
national-literal [ LN clause ]
number [ LN clause ]
88 condition-name { VALUE [ IS ] | VALUES [ ARE ] }
{ value [ LN clause ] | value { THROUGH | THRU } value }
[ , value | , value { THROUGH | THRU } value ] ...
street of address of employee
COBOL qualification
VST617.vsd