9.212 TEMPLATE_@@CANSNNN
Allows an application template character reply (@@CANSnnn) variable to be set before executing an application template via the EXECUTE_TEMPLATE Built-In Function.
This Built-In Function can only be used against a function that has been previously placed into an edit session by using the START_FUNCTION_EDIT Built-In Function.
Special Note: This Built-In Function provides access to very advanced facilities that basically allow RDML functions to construct new RDML functions.
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 that will be used later via the EXECUTE_TEMPLATE Built-In Function. | 1 | 10 | ||
2 | N | Req | Number of @@CANSnnn variable that is to be set. | 1 | 2 | 0 | 0 |
3 | A | Req | Value that @@CANSnnn variable is to be set to. | 1 | 74 |
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 |