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
- The issuer must run under the same user profile as the job user identity of the job being released, or under a user profile that has *JOBCTL special authority.
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.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Job name
Job name
User
User
Number
Number
DUPJOBOPT
Duplicate job option
Specifies the action taken when duplicate jobs are found by this command.
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.
Generated from os/cl/catalog/RLSJOB.json and os/cl/help/RLSJOB.json.