JOBEND command
To handle either of the following conditions, you can set up the JOBEND command to inform the Automation component when a job ends:
- Automation-submitted jobs are routed to another system outside the sysplex.
- Jobs that end are still marked as active for some reason.
For jobs that are routed outside the sysplex, you must set up your automated operations package to recognize a job-ending event on the remote system. Then, route a corresponding JOBEND command to the SVOS on the system that submitted the job.
An error occurs in MainView SRM that prevents the Automation component from noticing when a submitted job ends. In this situation, you can use the AUTOSJOB view in the MainView Interface (MVI) to manually mark an active job as complete.
Use the following syntax for the JOBEND command:
The following table describes valid keywords for the JOBEND command.
JOBEND command keywords
Keyword | Description |
|---|---|
JOBNUM=STCnnnnn | JOBnnnnn | This number is in format STC nnnnn or JOBnnnnn, where nnnnn specifies the number of the ending job. This parameter is required. |
JOBNAME=xxxxxxxx| JOBxxxxxxxx | This keyword specifies the name of the ending job. This parameter is required. |