Previous Topic

Next Topic

Book Contents

Book Index

Adding a variable

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:

  1. From the Properties pane, in the General tab, click More.
  2. In the Variables area, click Add_Parameter.
  3. In the Variable Name field, type a variable name.
  4. From the Variable Type drop-down list, select one of the following:

    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.

  5. In the Variable Value field, type the value of the variable.

    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

Planning