When the option to define, review or change a process's parameters is chosen from the process definition menu a screen similar to the following example will result:
From the Parameters Passed to Process screen it is possible to:
Process parameters must be used sequentially. To assign 3 process parameters you must use the symbolic names *UP01, *UP02 and *UP03. It is not possible to use symbolic names *UP01, *UP04 and *UP09.
Note that when a process parameter is changed or deleted no check is made for references to (or contextual usage of) the parameter in any associated RDML commands. Changes or deletions may cause errors to occur when compiling the associated RDML commands. In such cases, correct the associated RDML commands and submit the compile request again.
When changes are made to the parameters defined in a process all functions in the process are flagged as "requiring re-compilation". All functions in the process must be re-compiled before they can be used again.
The following input options apply to defining or changing the parameters associated with a process:
Output field. Specifies the number associated with the parameter. From 0 to 10 parameters can be defined for any process.
Output field. Indicates the symbolic name that will be associated with the parameter if it is used. This is the name that is used in associated RDML commands to reference the parameter.
Specifies the type of parameter that is to be defined. Allowable values are:
The parameter is to be alphanumeric.
The parameter is to be numeric. If this option is used the parameter is in fact defined as a packed variable as this format is easiest to pass.
Length / Total Digits
Specifies the length for type ALPHA parameters or the total number of digits (including decimals) for NUMBER parameters.
For type ALPHA parameters the length specified must be in the range 1 to 256.
For type NUMBER parameters the total number of digits must be in the range 1 to 15 and not less than the number of decimal positions specified.
Specifies the number of decimals for type NUMBER parameters only. The number of decimals specified must be in the range 0 to 9 and less than or equal to the total number of digits specified.
Specifies a short description that is to be associated with the parameter. If it is necessary for LANSA to display a data entry screen for specification of parameter values this description will be displayed to aid the user. A brief description of every process parameter that is defined must be supplied.