Release Job Queue (RLSJOBQ)

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

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.

Top

Parameters

Keyword Description Choices Notes
JOBQ Job queue Qualified object name Required, Positional 1
Qualifier 1: Job queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Job queue (JOBQ)

Specifies the job queue to be released for further processing.

This is a required parameter.

Qualifier 1: Job queue

name
Specify the name of the job queue which you want to release.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the job queue. If no current library entry exists in the library list, QGPL is used.
name
Specify the name of the library where the job queue is located.
Top

Examples

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.

Top

Error messages

*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.
Top