Page History
...
Note that some RDML commands will not be accepted by the IBM CL syntax checker when they contain special variables such as @@LSTnn. They must be forced to accept the commands. An example of this is the following:
GROUP_BY NAME(#PANELDATA) FIELDS(@@LST03)
After executing an application template containing this RDML command, and assuming list number 3 contains selected fields, RDML commands like this will be generated:
GROUP_BY NAME(#PANELDATA)
...
FIELDS((#EMPNO *OUTPUT) #SURNAME
...
#ADDRESS1 #ADDRESS2)
which is quite valid.
Take care not to code the original RDML command in the application template as in the following example:
GROUP_BY NAME(#PANELDATA) FIELDS((#@@LST03))
(which will be accepted by the command prompter) or
GROUP_BY NAME(#PANELDATA) FIELDS((@@LST03))
(which is the automatic result when the command prompting is canceled) as both these examples will generate invalid RDML commands.
...