All "special" application template commands are set up using the command definition facilities of the IBM i operating system.
All such commands conform to the normal command conventions. For instance, positional or keyword parameter specification can be used, lists must be enclosed in brackets, etc..
If you are unfamiliar with the method of specifying IBM i operating system commands refer to the appropriate IBM supplied manual for more information.
All application template commands in the following sections include a "syntax diagram".
This method of documenting a command and its associated parameters is similar to that used in the IBM Control Language Reference Manuals for the IBM i. Refer to the relevant manual for a full explanation of "syntax diagrams".
All "special" application template commands begin with "@@". For example, "@@QUESTION" is an application template command which instructs LANSA to ask the user a question and receive an answer.
An application template consists of these "special" commands and RDML code. The commands control the generation of the RDML code. For a list of the LANSA RDML commands, refer to Breakdown of RDML Commands into Resource Groups and the Technical Reference Guide.
The application template commands and RDML code can also make use of "special" variables. These variables will be substituted in the RDML code by LANSA before being added to the generated RDML program.
For a list of the current application template commands and the special variables, refer to Application Templates in the Visual LANSA Developers Guide.