Example 1
Scratch backup files of jobs that abended if the files have not been accessed for three days.
Figure 131 DO ABENDRET Parameter – Example 1
RULE: BKPSAVE LIB CTT.PROD.RULES TABLE: BKP0002
COMMAND ===> SCROLL===> CRSR
-------------------------------------------------------------------------------
RULE NAME BKPSAVE GROUP PRODUCTION MODE PROD (Prod/Test)
OWNER M43A SEQUENCE PRIORITY 03 CONTINUE SEARCH Y (Y/N)
DESCRIPTION SETS RETENTION AND ABEND-RETENTION PERIODS FOR BACKUP FILES
DESCRIPTION
DOCMEM CTTDOCS DOCLIB CTT.PROD.DOCS
============================================================================
DOC
============================================================================
ON DATASET = BKP* And/Or/Not A
ON PGM = BKP* And/Or/Not A
ON USERID = ADMIN And/Or/Not
============================================================================
DO RETENTION = DAYS 00030 And/Or
DO ABENDRET = LAST ACCESS 0010 And/Or
DO
============================================================================
DAYS ALL DCAL
AND/OR
WDAYS WCAL
MONTHS 1- Y 2- Y 3- Y 4- Y 5- Y 6- Y 7- Y 8- Y 9- Y 10- Y 11- Y 12- Y
FILL IN RULE DEFINITION. CMDS: EDIT, SHPF, DOC, SCHED, DOOPT, ONOPT 15.49.41
Example 2
Retain for ten days backup files from jobs that abended while creating the data sets.
Figure 132 DO ABENDRET Parameter – Example 2
RULE: BKPSAVE LIB CTT.PROD.RULES TABLE: BKP0002
COMMAND ===> SCROLL===> CRSR
-------------------------------------------------------------------------------
RULE NAME BKPSAVE GROUP PRODUCTION MODE PROD (Prod/Test)
OWNER M43A SEQUENCE PRIORITY 03 CONTINUE SEARCH Y (Y/N)
DESCRIPTION SETS RETENTION AND ABEND-RETENTION PERIODS FOR BACKUP FILES
DESCRIPTION
DOCMEM CTTDOCS DOCLIB CTT.PROD.DOCS
============================================================================
DOC
============================================================================
ON DATASET = BKP* And/Or/Not A
ON PGM = BKP* And/Or/Not A
ON USERID = ADMIN And/Or/Not
============================================================================
DO RETENTION = DAYS 00365 And/Or
DO ABENDRET = DAYS 0010 And/Or
DO
============================================================================
DAYS ALL DCAL
AND/OR
WDAYS WCAL
MONTHS 1- Y 2- Y 3- Y 4- Y 5- Y 6- Y 7- Y 8- Y 9- Y 10- Y 11- Y 12- Y
FILL IN RULE DEFINITION. CMDS: EDIT, SHPF, DOC, SCHED, DOOPT, ONOPT 15.49.41
Parent Topic |