Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


6.2.2 Running the job definition script (run command)

The run command executes the job definition script to be debugged. The run command imports environment variables when the adshexec command starts, and then starts running the job definition script. The abbreviation for the run command is r. The following shows the format of the run command:

run[ arguments]

When the run command is executed while the job definition script is running, a confirmation message is output asking whether the job definition script is to be re-executed.

When the run command argument is omitted

Enter y or Y to re-execute the executing job definition script.

If the job definition script is not running, the command outputs an execution start message and then executes the job definition script.

When the run command argument is specified

Enter y or Y to define the specified arguments as run-time parameters and re-execute the executing job definition script.

If job definition script is not running, the command outputs an execution start message, defines the specified arguments as run-time parameters, and then executes the job definition script.

Notes:
  • When the job definition script is re-executed by the run command, the instance of the job definition script that was already running terminates with an error. The return code for the job and job step is 128.