15.17 General Template Variables
15.22.5 Special Template Variable Notes
15.22 Tips for Template Programming
|
Note:
-
ii is a valid index name of 2 characters. The numeric value will be substituted for the variable.
-
xx is a number from 1 to 99. This length is the maximum length. The number xx may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).
-
yy is a number from 1 to 99. This length is the maximum length. The number yy may be specified as 1 or 2 numerics, or a valid index name of 2 characters may be used (and its numeric value will be substituted in the variable name).
-
zzzzzz is a character name of length 1 to 6. It must be followed by a blank when used in a template.
-
@@GENNAME/xx/yy/zzzzzz will be expanded into a list of elements prefixed by zzzzzz and suffixed by xx and from 1 to yy.
For example:
DEF_LINE NAME(#LINEDATA) FIELDS(@@GENNAME/01/06/#TOT )
would result in this RDML code in a template:
DEF_LINE NAME(#LINEDATA) FIELDS( #TOT0101 #TOT0102
#TOT0103 #TOT0104 #TOT0105 #TOT0106 )