Previous Topic: ExamplesNext Topic: LPRRN Examples


LPRRN Command

The LPRRN command lists job information from the prior-run queue. The prior-run queue contains information about the last successful completion of each job. Parameters allow the user to indicate which job or group of jobs is desired, what information is to be reviewed, and the sequence of the displayed data.

This command has the following format:

►►─ LPRRN ─┬──────────┬─┬───────────────────────┬─────────────────────────────►
           └─ ,CLS=x ─┘ └─ ,CPUID= ─┬─ * ◄ ───┬─┘
                                    ├─ smfid ─┤
                                    └─ mask ──┘

 ►─┬───────────────────────┬─┬─────────────────────────┬──────────────────────►
   └─ ,JOB= ─┬─ * ◄ ─────┬─┘ └─ ,LIST= ─┬─ STATUS ◄ ─┬─┘
             ├─ jobname ─┤              └─ option ───┘
             └─ mask ────┘

 ►─┬───────────────────────────────────┬─┬──────────────────────┬─────────────►
   └─ ,SEG= ─┬─ xxxxxxxx ────────────┬─┘ └─ ,SEQ= ─┬─ NATV ◄ ─┬─┘
             └─ (xxxxxxxx,yyyyyyyy) ─┘             ├─ DLTM ───┤
                                                   ├─ DOTM ───┤
                                                   └─ JOB ────┘

 ►─┬──────────────────────────┬─┬───────────────────┬─────────────────────────►◄
   └─ ,SYS= ─┬─ * ◄ ────────┬─┘ └─ ,TZ= ─┬─ CA7 ──┬─┘
             ├─ systemname ─┤            └─ EXEC ─┘
             └─ mask ───────┘
CLS

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

Limits: 1 alphanumeric character

CPUID

(Optional) 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 Workload Automation SE 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 the amount of information to list.

STATUS

Specifies a single description line for each queue record. STATUS is the default.

ALL

Specifies all data relative to the queue.

CPU

Specifies only CPU jobs.

JCL

Specifies JCL information from the last good run of the job only. The JCL is listed only for jobs marked RETAIN-JCL=Y on DB.1 panel. No JCL is listed for non-executable jobs.

Depending on the security options selected for your installation, the following values may be concealed in the display:

  • JOB statement USER keyword
  • JOB statement GROUP keyword
  • JOB statement PASSWORD keyword
  • //*LOGONID statement
  • //*PASSWORD statement
  • //*JOBFROM statement
PROS

Specifies documentation data as it currently resides in the database only.

Q

Specifies job data only.

XPJOB

Indicates internal cross-platform (XPJOB) information only. This information is only listed for XPJOBs marked Retain=Y on the DB.10 panel. No XPJOB information is listed for non-executable jobs.

SEG

(Optional) Specifies a segment and subsegment of documentation are to be listed. If a subsegment, use the form (xxxxxxxx,yyyyyyyy).

xxxxxxxx

Defines the name of the segment.

Limits: 1 to 8 alphanumeric characters

(xxxxxxxx,yyyyyyyy)

Specifies the name of a segment (xxxxxxxx) and subsegment (yyyyyyyy) enclosed in parentheses and separated by a comma.

Limits: 1 to 8 alphanumeric characters each

SEQ

(Optional) Specifies the display sequence of the requested information.

NATV

Indicates native sequence (the order in which it is in the queue). NATV is the default.

DLTM

Indicates deadline time sequence.

DOTM

Indicates due-out time sequence.

JOB

Indicates job name sequence.

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

TZ

(Optional) Controls whether to normalize a job's start and completion date/times to the time zone of the running CA Workload Automation SE.

Default: Specified by the TZDISPLAY keyword on the SMF initialization file statement.

CA7

Normalizes the start and completion date/times to the running CA Workload Automation SE time zone.

EXEC

Defines that the start and completion date/times should be in the execution time zone.

More information:

Masking