The LANSA template language is a simple “tag” language that relies on branch type logic. It is not a sophisticated programming language. All commands conform to the normal LANSA command conventions. For instance, positional or keyword parameter specification can be used, lists must be enclosed in brackets, etc. The template language is not compiled. It is an interpretive language.
Note: In the lists below, ‘*’ indicates user input requested.
List Commands
@@CLR_LST |
Clear/define a work list |
@@MAK_LSTS |
Make a list of selected fields from another list(s)* |
@@MRG_LSTS |
Merge a list(s) with another list(s) |
File Commands
@@GET_FILS |
Get the files to be used in this template* |
@@RTV_FLDS |
Retrieve the fields in a file |
@@RTV_KEYS |
Retrieve the keys of a file |
@@RTV_RELN |
Retrieve the relationship between two files |
Control Command
@@GOTO |
Pass control to a label |
@@IF |
Test a condition and pass control to a label |
@@LABEL |
A label which is the subject of another command |
@@CMP_IDX |
Compare an index value |
@@DEC_IDX |
Decrement an index value |
@@INC_IDX |
Increment an index value |
@@SET_IDX |
Set an index value |
Other Commands
@@COMMENT |
Add a comment line to the generated RDML code |
@@QUESTION |
Ask a question and receive a reply* |