Creating a Variable

You can create variables in three locations:


Creating Default Variables for All Subscribers

You can use the Tiered Electronic Distribution policy to create default variables for all Subscribers.

To create default variables:

  1. In ConsoleOne®, right-click a Service Location Package object > click Properties > click the check box for the Tiered Electronic Distribution policy to both select and enable it > click Properties > click the Variables tab.

  2. Click Add.

  3. Enter the name of the variable.

    The name can be user-defined, an environment variable (Java or native), or a predefined variable.

  4. Enter the value for the variable.

    The value is what the variable will resolve to. It can also be another variable for nesting variables.

    To ensure that extraction will take place, provide an absolute path to the Subscriber. For example, if the path is only the DATA volume, make sure the colon (:) is included, because it is a necessary part of the full path.

  5. Enter a description (optional) > click OK.

  6. Repeat Step 2 through Step 5 to create another variable for this Subscriber.

  7. Click OK when you have finished creating the default variables > click OK to exit the policy package.


Creating Variables for a Specific Subscriber

To create variables for a specific Subscriber:

  1. In ConsoleOne, right-click a Subscriber object > click the Variables tab.

  2. Click Add.

  3. Enter the name of the variable.

    The name can be user-defined, an environment variable (Java or native), or a predefined variable.

  4. Enter the value for the variable.

    The value is what the variable will resolve to. It can also be another variable for nesting variables.

    To ensure that extraction will take place, provide an absolute path to the Subscriber. For example, if the path is only the DATA volume, make sure the colon (:) is included, because it is a necessary part of the full path.

  5. Enter a description (optional) > click OK.

  6. Repeat Step 2 through Step 5 to create another variable for this Subscriber.

  7. Click OK when you have finished creating variables for the Subscriber.


Creating Variables for a Software Package

To create a variables for a software package:

  1. In ConsoleOne, right-click a software package > click the Variables tab.

  2. Click Add.

    New Variable #1 is defaulted in the Variables column.

  3. To enter a different name for the variable, use the Backspace key to delete the default name > enter a new variable name > click the Tab key.

    The name can be user-defined, an environment variable (Java or native), or a predefined variable.

  4. Enter the value for the variable.

    The value is what the variable will resolve to. It can also be another variable for nesting variables.

  5. Repeat Step 2 through Step 4 to create another variable.

  6. Click OK when you have finished creating variables for the software package.