This procedure describes how to add a variable parameter to jobs. You can define variables in a job definition to enable sharing data between multiple jobs.
To add a variable:
EXAMPLE: %%<variable_name>
EXAMPLE: %%\<variable_name>
EXAMPLE: %%\\<named_pool>\<variable_name>
EXAMPLE: %%\\<variable_name>
NOTE: The SMART folder option in the Variable Type drop-down list appears when the job is included in the SMART folder.
For more information on variables, see User-defined variables Name .
If Named Pool is selected, the Pool Name field appears. In the Pool Name field, type the name of the pool.
A variable is added to the job definition.
EXAMPLE: A user-defined variable for the day before yesterday is needed in the job script. Do the following:
In the Variable Name field type, TwoDaysAgo.
In the Variable Type field, select Local.
In the variable value field, type %%Day %%Minus 2.
NOTE: %%Day is a system variable. %%Minus is an operator.
Parent Topic |