The Command Variables page allows
you to add a command variable, add a command variable that is based
on an existing one or remove a command variable, provided it is not
currently used by a scheduled job. You can also select an existing
command variable and display or modify the properties.
To set up Command Variables, follow these steps:
- Expand Work Management.
- Expand Advanced Job Scheduler and click Properties.
- On the Command Variables page, click New.
- Enter the name of the new command variable. The maximum
length of the name is 10 characters.
- Enter a brief description of the variable. This field is
optional.
- Enter the length of the value that is returned within the
command string in the Length field. The possible
values are 1 through 90.
- Select how you want the returned value to be supplied.
It can be supplied in one of several ways:
- Click Data to enter and store the value
in the space provided.
- Click Use Formula to enter a date calculating
formula. See the help for more information.
- Click Retrieve from program to call
a user-defined program to supply the replacement value. You must enter
the program name and library in the fields provided.
- Click Retrieve from system operator to
retrieve the replacement value from the system operator at run time.
- When you are finished entering all the pertinent information,
click OK to add the command variable to the
list of existing variables.