Previous Topic: JOBOBJECT Statement—Associate Windows Job with a Windows Job ObjectNext Topic: JUSER Statement—Specify a JNDI User ID


JOBQ Statement—Specify the Job Queue for a Program

The JOBQ statement specifies the i5/OS job queue for the submitted program.

Supported Job Type

This statement is optional for the i5/OS job type.

Syntax

This statement has the following format:

JOBQ jobqueue|
     library/jobqueue|
     /QSYS.LIB/library.LIB/jobqueue.JOBQ
library

Specifies the name of the library that contains the job queue. The value must be a valid i5/OS library name.

jobqueue

Specifies the name of the job queue for the submitted program. The value must be a valid i5/OS job queue name.

Notes:

Example: Define the Library and Job Queue Names of an i5/OS Job

This example runs a program named PAYLOAD on an i5/OS system. The current library for the job is PAY1, and the job queue is JQUEUE in library QBASE.

AGENT I5AGENT
CLPNAME PAYLOAD
CURLIB PAY1
JOBQ /QYS.LIB/QBASE.LIB/JQUEUE.JOBQ