Top
Systemwalker Operation Manager  User's Guide
FUJITSU Software

4.3.11 Using Job Definition Variables to Replace Job Registration Information Together

It is possible to define a job that uses job definition variables in advance so that when the job is executed, the values of the job definition variables can all be replaced at the same time. This makes it easy to replace path environment and other job definitions, thereby enabling assets to be transferred between systems in different operating environments.

A job that uses job definition variables is defined by setting the job definition variable name "@variable name@" and the value of the job definition variable. The job definition variable "@variable name@" in the job definition will be replaced with the value of the job definition variable when the job is executed.

Only a system administrator (a member of the Administrators group in Windows and the superuser in UNIX) can add, change or delete job definition variables.

Note that if a job definition variable is changed while a job net is running, the new value of the job definition variable may become active while the job net is operating. For this reason, changes to job definition variables should not be made while a job net is running.

Procedure

  1. Open the Job Definition Variables window.

    Select Jobscheduler in the Job Selection window and use one of the following methods to display the Job Definition Variables window:

    • Select Job Definition Variables from the File menu.

    • Click the right mouse button and select Job Definition Variables from the pop-up menu.

  2. Open the Job Definition Variable Settings window.

    Click the Add button in the Job Definition Variables window to display the Job Definition Variable Settings window.

    Figure 4.45 Job Definition Variables window

    System job definition variables

    This lists the job definition variables that have been set.

  3. Set the job definition variable and its value.

    Set the job definition variable name (the variable name component in "@variable name@") and the value of the job definition variable and click the OK button.

    Figure 4.46 Job Definition Variable Settings window

    Job definition variable name

    Specifies the name of the job definition variable.

    Job definition variable value

    Specifies the value of the job definition variable.

  4. Define job information.

    Set the job information by specifying "@variable name@" for the item where the job definition variable will be used in the Standard information or Detail information sheet of the Add/Change - Job window. (Job information can also be defined with the jobschsetnet command.)

Job definition variables (@variable name@)

Job definition variable values