Previous Topic: Listing Current JobsNext Topic: Listing More About One Job


Listing By Status or Queue

Instead of listing all of the jobs in the three queues, you can list only jobs with a particular status. Add the ST parameter to the LQ statement, like this example:

LQ,ST=LATE

This command lists only late jobs. Another useful variation of this command is this example:

LQ,ST=RSTR

This command lists all jobs that require a restart. These jobs are back in the request queue after abending or ending with JCL errors or bad condition codes.

If you want to list the jobs in each queue separately, you can do so with these commands:

LREQ

Lists the jobs in the request queue, either waiting for all of their requirements to be satisfied or waiting to be restarted. Jobs that end successfully also appear in this queue briefly while their job completion is processed.

LRDY

Lists these types of jobs:

LACT

Lists the jobs that are currently executing on a CPU.

Try issuing each of these commands at your terminal now. If you do not see any jobs, no jobs are currently in the specified queue.