- Order variables are declared by specifying a name and data type.
- If no default value is added then the order variable is mandatory, i.e. any orders have to specify a value for the variable.
- If a default value is added then the order variable is optional, i.e. orders can specify a value and otherwise the default value is used.
- Default values accept constant values and to not accept expressions.
- Any number of order variables can be declared.
- to populate environment variables that are used in job scripts,
- to populate node arguments,
- to be evaluated by an expression of in a JS7 - If Instruction
Using Order Variables in Shell Jobs
- The property editor suggests to use the names of order variables for environment variables.
- Environment variable names are automatically converted to uppercase letters.
- Similarly the values of order variables are suggested with a $ prefixing the name of the variable.
- Consider that only names of existing order variables can be used as the value for an environment variable.
- In addition to order variables any expressions can be used, for details see
Using Environment Variables with Job Scripts
Environment variables can be used with Job job scripts according to the syntax of the respective operating system that the job is executed for: