Synopsis
[Windows]
stemManager [[-d yyyymmdd] [-force | -del | -chg] | -n] [-sys subsystem number]
[UNIX]
stemManager [[-d yyyymmdd] [[-force] [-h schedule_server]| -del | -chg] | -n] [-sys subsystem number]
Description
The stemManager command applies the schedule information after extracting it from the master information. This command also performs schedule cancellation, rescheduling, future scheduling, and operation changes.
Options
-d yyyymmdd
Implements scheduling on the date specified by yyyymmdd. This option is used in the following cases:
To recover the processing when the schedule fails to start automatically. Or,
To register a future schedule in advance. Or,
To register a schedule for the process date that has passed without performing Start schedule.
-n
Registers the schedule information as the Jobscheduler's job, and it creates the next day's schedule every time.
When the -d and -n options are omitted, the schedule for the current day is executed.
-force
Replaces extracted and applied master information with newly extracted information (rescheduling). This option is used in the following cases:
When master information is changed after a schedule is executed on a future day. Or,
When master information is changed when the schedule status for the current day is in "No information" status.
This option is not available for the current day whose schedule information is already created or a date in the past.
-h schedule_server [UNIX]
Recovers the schedule or performs rescheduling for the specified schedule server. This option is not available to register a new schedule or cancel an existing schedule.
-del
Cancels registered schedules.
-chg
Performs operation changes only.
-sys subsystem number
Specify a value between 0 and 9 for a subsystem that you want to schedule.
If omitted, the default is subsystem 0. When this command is activated as a job of the Jobscheduler under the subsystem operation environment, the number of the subsystem that activates this command is specified.
This command creates a schedule for the current day if all of the options are omitted.
Return Values
Completed
Abended
Command Location
Windows | Systemwalker Operation Manager installation directory\mpwalker.jm\bin |
Solaris | /opt/FJSVstem/bin |
Privileges Required
System administrator (user belonging to the Administrator group or superuser) privileges are required.
Cautions
When the target schedule is already running, creation/change/deletion cannot be made on that schedule.
The past date for executing a schedule can be set by going back only up to the same number of days as the number of days the schedule status is managed.
For the job nets that have been registered with a past schedule, note the following:
If the maximum number (1000) of projects is exceeded, the projects are targeted for backup regardless of the status of job nets. The job nets that have been backed up are no longer operated by Systemwalker Operation Manager clients. You need to quickly execute and finish the job nets that you have registered.
Carry over control is not performed on these job nets.
The time-based scheduling is not executed, so you need to start the job nets manually if the job nets are configured to start at a specific time on the execution condition.
It is possible to link the job nets with message events. However, you need to generate a message event based on process date using the jobschmsgeventex command with the -d, -dx, -s and -n options.
(If a message event that is not based on process date is generated, a job net may be started by the unexpected message.)
A job net that remains not executed is treated as completed, and even if the option of [Do not delete incomplete job nets] is selected in the Master Schedule Management Environment Setup dialog box, schedule information of the job net is deleted at the time it has been expired because the generation exceeded the number of stored generations.
If schedule information was distributed over old versions of the schedule server, some functions may be unavailable. Refer to "Supportable Range in Management Server-Schedule Server Connection" in the Systemwalker Operation Manager User's Guide - Master Schedule Management for details.
Execution Results/Output Format
None
Error contents are output to the standard output and event log/SYSLOG. When the -force or -del option is specified, the error contents are output only to the standard output.