Previous Topic: PRMP ExamplesNext Topic: PRRNDEL Examples


PRRNDEL Command

The PRRNDEL command deletes jobs from the prior-run queue based on age. If the job was defined with RETAIN=YES, the JCL or XP PARM data that was retained is also deleted.

This command has the following format:

►►─ PRRNDEL ─ ,DAYS=nnn ─┬───────────────────────┬────────────────────────────►
                         └─ ,JOB= ─┬─ * ◄ ─────┬─┘
                                   ├─ jobname ─┤
                                   └─ mask ────┘

 ►─┬───────────────────────┬──────────────────────────────────────────────────►◄
   └─ ,UPDATE= ─┬─ NO ◄ ─┬─┘
                └─ YES ──┘
DAYS

Specifies the age of a job in number of days. Any jobs that are this age or older are eligible for selection. A value of one (1) indicates all matching jobs that ran before today should be selected. A value of zero (0) indicates all matching jobs should be selected regardless of when they ran. Use this value with caution since DAYS=0 with JOB=* specified or defaulted would select all jobs.

Limits: 0 to 999

JOB

(Optional) Indicates the job name or mask that a job name must match before it is eligible for selection.

Default: * (all jobs)

Limits: 1 to 8 characters

UPDATE

(Optional) Specifies whether to delete or list the selected jobs and any retained JCL or XP PARM data from the prior-run queue.

NO

Specifies that the selected jobs are listed only. NO is the default.

YES

Specifies that the selected jobs and any retained JCL or XP PARM data are deleted in addition to being listed.

More information:

Masking