Command reference / job

RLSJOB

Release Job

Makes a job eligible for processing again after it was held by the Hold Job (HLDJOB) command, or was submitted as a held job by the Batch Job (BCHJOB) or Submit Job (SBMJOB) command. The held job can be on a job queue, on an output queue, or active in a subsystem. Releasing a job releases all of its threads. Spooled files held by HLDJOB with SPLFILE(*YES) are also released, but only those on output queues in the library name space of the thread issuing the command. If SPLFACN is *DETACH and the job ended while its spooled files were held, use the Release Spooled File (RLSSPLF) command instead.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

Parameters

JOB Job name

Specifies the name of the job being released. This is a required parameter. Qualifiers are job name, user, and number (000000-999999); if user or number is omitted, all jobs with that name are searched.

Type
*QUAL
Required
Yes
Case
Uppercase
Qualified parts (object, then library; write LIBRARY/OBJECT)

Job name Job name

Type
*NAME
Required
No
Length
10
Case
Uppercase

User User

Type
*NAME
Required
No
Length
10
Case
Uppercase

Number Number

Type
*CHAR
Required
No
Length
6
Case
Uppercase

DUPJOBOPT Duplicate job option

Specifies the action taken when duplicate jobs are found by this command.

Type
*CHAR
Required
No
Default
*SELECT
Length
7
Case
Uppercase

Allowed values: *SELECT, *MSG

*SELECT
In an interactive session, the selection display is shown when duplicate jobs are found; otherwise a message is issued.
*MSG
A message is issued when duplicate jobs are found.

Examples

RLSJOB JOB(PAYROLL)

Releases job PAYROLL for processing. If the corresponding HLDJOB specified SPLFILE(*YES), the job's spooled files are also released.

RLSJOB JOB(DEPTXYZ/PAYROLL)

Releases job PAYROLL, which was submitted under user profile DEPTXYZ and later held. The qualified form is used when jobs with duplicate names exist.

IBM command documentation

Generated from os/cl/catalog/RLSJOB.json and os/cl/help/RLSJOB.json.