When the declaration of an auto-data-area data structure (coded with a U) include the DTAARA keyword, the resulting free form declaration has two DTAARA keywords. The fist keyword is the DtaAra(*AUTO) and the second is the keyword from the original line of source. When converting an auto-data-area data structure, the *AUTO option of the DTAARA keyword must be placed in the existing definition, if any.
[!NOTE]
The output below also demonstrates the issue addressed by issue [#92]; where the *VAR option is not removed from the DTAARA keyword.
For example:
d @DTAARANAME c 'QTEMP/MYDTAARA'
d dtaAraDs uds dtaara(*VAR: @DTAARANAME)
d fld1 1a
c eval *inLR = *ON
c return
When the declaration of an auto-data-area data structure (coded with a U) include the
DTAARA
keyword, the resulting free form declaration has twoDTAARA
keywords. The fist keyword is theDtaAra(*AUTO)
and the second is the keyword from the original line of source. When converting an auto-data-area data structure, the *AUTO option of theDTAARA
keyword must be placed in the existing definition, if any.For example:
Is incorrectly converted as:
The expected output is: