RLSJOBQ (Release Job Queue)
RLSJOBQ Command syntax diagram
Purpose
The Release Job Queue (RLSJOBQ) command releases, for additional processing, the jobs on the specified job queue that were previously held by a HLDJOBQ (Hold Job Queue) command. If the jobs were held by something other than a HLDJOBQ command, they are not released.
Required Parameters
- JOBQ
- Specifies the qualified name of the job queue to be released for further processing.
The name of the job queue can be qualified by one of the following library values:
*LIBL: All libraries in the job's library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name: Specify the name of the library to be searched.
job-queue-name: Specify the name of the job queue.
Example for RLSJOBQ
RLSJOBQ JOBQ(QBATCH)Jobs on the job queue QBATCH that were held by a HLDJOBQ command become eligible for processing, including jobs that were placed on the queue while it was being held. Specific jobs that were held by the HLDJOB command or that were put on the job queue in the held state are not released.
Error messages for RLSJOBQ
*ESCAPE Messages
- CPF2207
- Not authorized to use object &1 in library &3 type *&2.
- CPF3307
- Job queue &1 in &2 not found.
- CPF3330
- Necessary resource not available.
- CPF3423
- Job queue &1 in library &2 not released. Job queue not held.