OS/400 External Job
OS/400 External jobs are a subset of the OS/400 Full job, which enables you to define and execute external jobs. External jobs are submitted to the operating system externally by another job scheduler or process, while Control-M attaches to that job and monitors it until completion. This job type enables attaching to an external job or an active subsystem.
The following table describes the OS/400 External Job and External Subsystem attributes:
Attribute |
Description |
---|---|
External Job or External Subsystem |
Defines the name of the job to run as External Job or External Subsystem.
|
Job status |
Enables you to select the job status as follows: Values:
|
Duplicate Job option |
Enables you to select an option if more than one External Job matches the External Job attributes (Job name, owner, and job status):
|
Release Job |
Enables you to release the job from JOBQ when the job is attached to Control-M. If the job could not be released, a message is logged in the Control-M/Agent log. However, the job is attached to Control-M. |
Move to Job Queue |
Defines the name of a job queue to move a job to, when a job is attached to Control-M. If a job cannot be moved, a message is logged in the Control-M/Agent log. However, the job is attached to Control-M. |
Library |
Defines the name of the library where the job queue resides. |
Change job command |
Specifies any OS/400 CHGJOB command keyword and value to set the job when the job is attached to Control-M. The following format is used: Keyword1(value1) ... Keywordn(Valuen) EXAMPLE:
If the job could not be changed, a message is logged in the Control-M/Agent log. However, the job is attached to Control-M. |
Set accounting code |
Specifies the accounting code to set the job, when the job is attached to Control-M. A maximum of 15 characters accounting code can be specified. If the accounting code is not set for a job, a message is logged in the Control-M/Agent log. However, the job is attached to Control-M. |
MSGW auto reply profile (MSGWPRF) |
Must be the name of an existing MSGW auto reply profile file that is located in the Agent Data directory |
Spooled files handling profile (RPTDSTPRF) |
Must be the name of an existing Spooled files handling profile file that is located in the Agent Data directory. |
Bypass Job |
The job does not run and the following message is generated in the job output: Job was bypassed |
Skip validity checks for this job |
Enables you to skip validity checks for all fields. |