Synopsis
stemschnet -ent project name/job net name -d yyyymmdd
[-correct] [ -sys subsystem number ]
Description
The stemschnet command submits (extract/register) job nets individually from the master information to the already created Schedule by dates project. If a schedule server is already registered and a default host name is changed, job nets are submitted to the specified schedule server.
Options
-ent
Submits the specified job net to Schedule by dates project.
project name
Specify a project name in the master information.
Projects that can be specified are a master project or project for operation changes. The project name must be no longer than 50 bytes in length.
Under the following conditions, the project specified in this option cannot be registered.
The Schedule by dates project on the desired process date cannot be found, to which you want to submit the project. And, the number of Schedule by dates projects has already reached the limits (256).
job net name
Specify a job net name in the master information. The job net name must be no longer than 50 bytes in length.
The following job nets cannot be specified:
Layered (child) job net
Linked job net
Master linked job net
Job net in a group
When submitting job nets, specify the job net with the process date whose start date is already set.
When submitting job nets, if the job net with the same name already exists in the Schedule by dates project on the desired process date, you cannot submit this job net.
-d yyyymmdd
Specify the process date on the destination to which job nets will be submitted in the yyyymmdd format.
The process date that can be specified is limited to the current day or future day. For the future day, up to 30 days ahead can be specified.
Only the process dates for which the schedule information has been distributed can be specified.
-correct
When a job net is submitted and the execution time specified in the master information has passed, the job net will be submitted with the execution time corrected to five minutes after the current time. A time correction will also be performed if the execution time is within five minutes of the current time. This option will be ignored for job nets whose execution condition is not Execute at (run once per day).
-sys subsystem number
In systems with multiple subsystems, this option is used to specify a subsystem as operating target. Specify operating target subsystem number using a range of 0 to 9. If omitted, the subsystem number 0 is specified.
Return Values
Completed
Abended
Command Location
Windows | Systemwalker Operation Manager Installation Directory\mpwalker.jm\bin |
Solaris | /opt/FJSVstem/bin |
Privilege Required
System administrator (user belonging to the Administrator group or superuser) privileges are required.
Cautions
Even if a job net or job in the master information is in a disabled state or stopped state, the status cannot be inherited after it has been submitted. And the status becomes "in a waiting state".
To retain the status in the master information after submission, follow the procedure below:
For job nets
Output the current status of registered job nets using the jobschprint -n command.
If a job net is in a disabled state or stopped state as the results of 1), change it to disabled state/stopped state by using the jobschcontrol command.
For jobs
Output the current status of registered jobs using the jobschprint -p command.
If a job is in a disabled state or stopped state as the results of 1), change it to disabled state/stopped state by using the jobjobschctljob command. (Note)
Note: For the jobs that are to be controlled using the jobschctljob command, "job name" must be specified in addition to "job net name".
A job net with the -correct option specified cannot be submitted to a schedule server that is running Systemwalker Operation Manager V13.1.0 or earlier. If this is attempted, the job net submission command will terminate with an error.
Example
In the following example, the job net "NET001" registered in the master project "PRJ" is submitted to the Schedule by dates project "PRJ+0523".
# stemschnet -ent PRJ/NET001 -d 20050523
Execution Results/Output Format
Completed: None
Abended: Error contents are output to the standard output
[UNIX]
To submit job nets to a schedule server, regardless of whether or not it is "Completed" or "Abended", the schedule server name is output to the standard output in the following format:
If it is "Abended", after the schedule server name output, error contents are output.
Schedule Server : XXXX
XXXX: schedule server name