Previous Topic: LREQR ExamplesNext Topic: LRES Examples


LRES Command

The LRES command lists the resources needed for jobs in the database or queues. Magnetic tape, memory and CPU time requirements are shown for any job or group of jobs specified by the user.

Note: Cross-platform jobs are listed, but because they execute on other platforms, their resource usage reflects 0 (zero).

This command has the following format:

►►─ LRES ─ , ─┬─ Q=queue ────────────┬────────────────────────────────────────►◄
              ├─ SYS=system ─────────┤
              └─ JOB= ─┬─ jobname ─┬─┘
                       └─ NO ──────┘
Q

Specifies the resource information desired. If Q is specified, SYS must be omitted.

ACT

Active queue

ALL

All queues

RDY

Ready queue

RDYACT

Ready and active queues

REQ

Request queue

REQACT

Request and active queues

REQRDY

Request and ready queues

SYS

Specifies that resource information is desired about all jobs in the database for this application system. The option must be a system name. If SYS is specified, Q must be omitted.

Limits: 1 to 8 alphanumeric characters

Required: Yes, unless Q is specified

JOB

Specifies the job about which resource information is desired. If JOB is omitted, resource information about all jobs is given based on whether SYS or Q was specified.

Required: Yes, unless SYS or Q was specified

jobname

Defines a specific job in the database. The JOB value is a specific job name. If specified, SYS and Q must be omitted.

Limits: 1 to 8 alphanumeric characters

NO

When JOB=NO is specified, either SYS or Q must be used. JOB=NO causes the job detail lines of resource information (system or queue) to be suppressed and only the summary lines are listed.