INDICATOR Attribute of the Format 2 COPY Statement
The INDICATOR attribute specifies whether or not data description entries are generated for indicators.
If the INDICATOR attribute is specified, data description entries are generated for indicators, but not for data fields.
An 05 group level entry is generated as follows:
- If the COPY is for a single structure
will generateCOPY DDS-format-name-INDIC05 format-name-I. (or -0 as appropriate). - If the COPY is for multiple structures
will generateCOPY DDS-ALL-FORMATS-INDIC05 file-name-RECORD.
The data description entries that are generated are determined by which
one of the usage attributes (I, O, or I-O) is specified or assumed in the
COPY statement.
- If ...I-INDICATOR... is specified, data description entries for input (response) indicators are generated for indicators used in the input record area.
- If ...O-INDICATOR... is specified, data description entries for output (option) indicators are generated for indicators used in the output record area.
- If ...I-O-INDICATOR... is specified or assumed, separate data description entries for both input and output (response and option) indicators are generated for indicators used in the input and output record areas.
The individual indicator descriptions are generated as described under Indicator Structures.
If the INDICATOR attribute is not specified, whether data description entries
are generated for indicators depends on whether the file had the keyword INDARA
specified in the DDS at the time it was created.
- If INDARA was not specified, data description entries are generated for both data fields and indicators.
- If INDARA was specified, data description entries are generated for data fields only, not for indicators.