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, defining parameters needed for job execution, or referencing dynamically changing information.
To add a variable:
The Job properties pane appears on the right.
The Job properties are enabled for definition.
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.
In the String field, you can view the full variable string.
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 |