This section contains the list of variables associated with the Uproc. Variable values are retrieved in the execution script using the OS-specific syntax applied to the name of the variable.
Variable values defined at the Uproc level constitute the default value and can be altered in the Task, launch or re-launch transactions. Because of this, the value field is not mandatory at this stage, it can be provided later.
If a default sample is used as a template for a user sample, some variables automatically appear in the variables list of the Uproc. If mandatory variables are deleted from the list, the Uproc will abort.
Name
Lists the name of each variable.
Warning: On UNIX / Linux, a variable name cannot start with a number (operating system restriction).
Value
Displays the default value of each variable. The value of a password variable is displayed as stars *******.
Type
Displays the variable type. Possible values are: Text, Numeric, Date and Password. Select a variable in the list, then:
Text Type Variables
Length
The maximum length of a text variable value (the length cannot exceed 255 characters).
Value
The default variable value.
In OS400, the UPROCLIB variable defined on the node, MU or Uproc can be used to load a library before launching the batch. The variable must be set with the name of the library to be loaded.
Password Type Variables
Length
The maximum length of a password variable value (the length cannot exceed 255 characters).
Value
The default variable value. The value is not displayed, each character is replaced by a star *. When updating the variable, the value is not displayed at all but still exists.
Numeric Type Variables
Min, max
Defines the highest and lowest possible values (12 digits maximum). Negative values are permitted.
Value
Contains the default value of the variable. This field is mandatory.
Date Type Variables
Date
Defines the date format. Select the format from the drop-down list by clicking on the arrow .
Value
Contains the default value of the variable. Enter the date or click the button to select one from the calendar. This field is mandatory.