Create a Value Type variable using direct assignment

Create a value type variable using direct assignment when the values are generally known and need to be retrieved repetitively for different commands in the task.

This makes the task flexible and easy to use. To create a value type variable using direct assignment, follow these steps:

Procedure

  1. In the Workbench, click the Variable Manager icon at the top or on the tab on the right side.
  2. Click Add.
    The Add Variable window is displayed, with the Create New Variable option selected.
  3. Select type Value.
    Generally, this is the default selection.
  4. Enter a name for the variable.
    The name must begin with an alphabetic character and cannot contain spaces.
  5. Select the Value radio button.
    This is the default.
  6. Specify an initial value.
    This value can be character or numeric.
  7. Click Save.
    After the variable is saved, it is displayed in the Local Variables section of the Variable Manager.