The optional parameter of the DTAARA keyword for
a free-form field or subfield definition
is the external name of the data area.
If the parameter is not specified, the
name of the field or subfield is used as
the external name.
Examples
In the following example, the data area is defined
without a parameter, so the field name is used as
the external name. Data area *LIBL/MYDTAARA will be used at runtime.
DCL-DS mydtaara CHAR(100) DTAARA;
In the following example, the DTAARA keyword is specified
without a parameter, so the subfield name is used as
the external name.
Data area *LIBL/MYDTAARA will be used at runtime.
DCL-DS data_struct;
mydtaara CHAR(100) DTAARA;
END-DS;