9.66 EXECUTE_TEMPLATE
Executes an application template to generate RDML function code into a working list
Generated RDML code is appended to the END of the working list, so the list may need to be cleared before (via the CLR_LIST command) before invoking the application template.
Alternatively, multiple templates may be executed serially to progressively build up the resulting RDML function code.
This Built-In Function can only be used against a function that has been previously placed into an edit session using the START_FUNCTION_EDIT Built-In Function.
This is a very specialized area that requires very good knowledge of the LANSA product. Use of this Built-In Function in a commercial application (e.g. Order Entry) is not normal and should not be attempted.
This is a Specialized Built-In Function for use in a Development Environment only.
Arguments
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Name of Application Template to be executed. This template must be previously defined using the LANSA Application Template facilities. | 1 | 10 |
Return Values
No | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | Return code OK = operation completed ER = fatal error detected | 2 | 2 | ||
2 | L | Req | Working list Name. The working list must be formatted as described in the 9.89 GET_FUNCTION_RDML Built-In Function and must not contain more than 32767 entries. |