In a fixed-form specification, the DTAARA
keyword can be specified in the following ways:
- DTAARA
- The external name of the data area is not
specified, so the name specified in positions
7-21 is also the name of the external data area.
If neither the parameter
nor the data-structure name is specified, then the default is *LDA.
- DTAARA(name>
- The name parameter is used as the external name
of the data area at runtime.
For example, if you specify DTAARA(mydtaara),
then data area *LIBL/MYDTAARA will be used at runtime.
You can also specify *LDA or *PDA as the parameter of the
DTAARA keyword.
- DTAARA(character-literal>
- The value of character-literal parameter is
to determine the name of the data area at runtime.
See Specifying the name of a data area in a literal or variable for more information.
- DTAARA(*VAR : name>
- The name parameter
can be a named constant or a variable.
See Specifying the name of a data area in a literal or variable for more information.
When the DTAARA keyword is specified, the IN, OUT, and UNLOCK operation
codes can be used on the data area.
If position 23 of the Definition specification
for a data structure contains a U, the data structure is a
data area data structure.