Hold Job using Job Scheduler (HLDJOBJS)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Hold Job using Job Scheduler (HLDJOBJS) command allows you to hold a job that you specify. When you press Enter, a message is displayed confirming that the job you selected has been held. The job is held until the Release Job using Job Scheduler (RLSJOBJS) command is processed for the job or Option 6 (Release/Reset) is selected for the job on the Work with Jobs display.

Top

Parameters

Keyword Description Choices Notes
JOB Job entry Element list Required, Positional 1
Element 1: Job Name
Element 2: Group Name, *NONE
Element 3: Group sequence 1-99, *NONE
Top

Job entry (JOB)

Specifies the name of the job that you want to hold.

You must specify a job and optionally can specify a group to which the job belongs and the associated sequence number of the job.

This is a required parameter.

Element 1: Job

name
Specify the name of the job that you want to hold.

Element 2: Group

*NONE
The job is not a member of a group.
name
Specify the name of the group to which the job belongs.

Element 3: Group sequence

*NONE
There is not a sequence number assigned to this job.
1-99
Specify the sequence number of the job within the group.
Top

Examples

HLDJOBJS   JOB(JOB02)

This command will cause job JOB02 to be held.

Top

Error messages

Unknown
Top