Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

4.13 jobschcontrol Command

Synopsis

jobschcontrol [project name/] job net name control
    [start option] [rerun option] [-sys subsystem-number](*1)
*1:

[-sys subsystem-number] is the option of Systemwalker Operation Manager EE.

Description

The jobschcontrol command controls (cancel/start/restart/pause/continue/disable/enable/cope/reinstate/revoke) job nets.

Options

project name

Specifies the project name to which the job net you want to control belongs. If there is only one project having job nets registered among the projects accessible for operation by the user of executing the jobschcontrol command, this option can be omitted.

job net name

Specifies the name of the job net to be controlled.

control

Specify one of the following ten control items:

cancel

Cancels the job net.

start

Starts the job net.

rerun

Restarts the job net that terminated abnormally, was canceled, or confirmed.

Child job nets can be restarted only when the parent job net is in the executing or warning status.

pause

Pauses the job net.

continue

Cancels the paused status of the job net.

disable

Disables the job net.

enable

Enables the disabled job net

cope

Changes the status of abnormally ended job net to Confirmed.

If Check canceled has been specified in the Advanced Settings for Verification window (which is displayed by clicking the Details button in the Verification at error occurrence section of the Use function 1 tab of the Define Jobscheduler Startup Parameters window), then canceled job nets will also be subject to verification control.

reinstate

Clear the execution result of the job net that was already executed.

revoke

Releases the carried over status of the job net.

rerun options

Only when rerun is specified in the control option, the following two control items are available. When the rerun option is omitted, this command restarts jobs, starting with the job that abnormally terminated. If a restart point is set on the job prior to the abnormally terminated job, the job net is restarted from the job on which the restart point is set.

next

Restarts the job net after setting the "Invalid at next restart" option for the abnormally terminated job (child job net). The abnormally terminated job (child job net) will be skipped and the subsequent job will be executed. Canceled jobs will be handled in the same manner as abnormally terminated jobs (child job nets).

top

Restarts the job net from the top of the jobs.

Start option

These options can be specified only if "start" has been specified for the "control" option.

-p param

Specify the variable parameter to be passed to each job in the job net to be started. If this option is specified, any "@.VPARAM@" variables in the job definitions will be replaced with the string specified for this option.

Specify the variable parameter using a string that is no more than 200 bytes long. The variable parameter should not include user-defined characters.

This option can be omitted. In this case, the "@.VPARAM@" variables in the job definitions will be replaced with an empty string before the jobs start.

The variable parameter is also passed to job nets in the second and lower levels of nested job nets (child job nets).

This option can only be specified once.

Refer to "Using variable parameters to start a job net" in the Systemwalker Operation Manager User's Guide for information about the "@.VPARAM@" variable.

Enterprise Edition-sys subsystem-number

In the system with multiple subsystems, this option is used to specify the subsystem that you want to operate. Specify the target subsystem number using a range of 0 to 9. If omitted, the default is subsystem 0.

Command Location

Windows

Systemwalker Operation Manager installation directory\MpWalker.JM\bin

Solaris
HP-UX
AIX
Linux

/usr/bin

Cautions