Previous Topic: LJCL ExamplesNext Topic: LJES Usage Notes


LJES Command

The LJES command displays the JES job number for all jobs submitted by CA WA CA 7 Edition that reside in the active or prior-run queues. The active queue contains information about jobs that are currently executing, while the prior-run queue contains information about the last successful completion of each job. For jobs that are executing, the name of the most recently completed job step is provided. It also shows the CPU (local or remote) on which execution occurred, start time, and other execution-related information.

This command has the following format:

LJES[,AGENT={*|agent|mask}]
    [,CLS=x]
    [,CPUID={*|smfid|mask}]
    [,JOB={*|jobname|mask|nnnn}]
    [,LIST=CPU]
    [,NODE={*|nodename|mask}]
    [,Q={ACT|PRN|*}]
    [,ST=option]
    [,SYS={*|systemname|mask}]
AGENT

(Optional) Indicates an agent name or mask that an agent name must match before its information is selected for display.

Default: * (all agent names)

Limits: 1 to 16 characters

CLS

(Optional) Specifies the CA WA CA 7 Edition Workload Balancing class of jobs to select. If omitted or CLS=*, all classes are selected for display.

Limits: 1 alphanumeric character

CPUID

Defines the CPU ID name or mask that a CPU ID must match before its information is selected for display. For agent jobs, use AGJ. For XPJOBs use 7XPJ.

Note: The CPU ID is not filled in until CA WA CA 7 Edition has processed a job initiation record.

Default: * (all CPU IDs)

Limits: 1 to 8 characters

JOB

(Optional) Defines the job number, job name, or mask that a job name must match before its information is selected for display.

Default: * (all jobs)

Limits: 1 to 8 characters

LIST

(Optional) Specifies to list only CPU jobs. If specified, must be LIST=CPU.

NODE

(Optional) Defines the node name or mask that a node name must match before its information is selected for display.

Default: * (all node names)

Limits: 1 to 8 characters

Q

(Optional) Specifies the queues from which the jobs should be listed.

ACT

Specifies only active queue job information. ACT is the default.

PRN

Specifies only prior-run queue job information. You must supply a job name or job name mask. Jobs in the prior-run queue show a condition code value instead of the name of the last step executed.

*

Specifies both active and prior-run queue job information. You must supply a job name or job name mask.

ST

(Optional) Indicates a selection option used to determine which jobs are listed.

ABND

Indicates only the jobs that are in abend status.

ARF

Indicates only jobs that are being tracked by ARF.

ARFH

Indicates only jobs that are in ARF recovery status.

ARFJ

Indicates only ARF recovery jobs (entry mode=ARFJ).

LATE

Indicates late jobs.

SYS

(Optional) Defines the system name or mask that a system name must match before its information is selected for display.

Default: * (all system names)

Limits: 1 to 8 characters

More information:

Masking