Previous Topic: DBLTIME System Option—Allow/Disallow Double Opens for the Same Data SetNext Topic: DISP System Option—Disposition Processing from JCL


DEF System Option—Tape Default Retention by Data Set Name

Use the DEF system option to have a default keep date to be assigned based on the data set name. This option dynamically builds user table TLMSDTAB. No masking characters should be used in data set name definitions in the DEF option.

This system option has the following format:

DEF=[dsname|$DEFAULT$], [POS=nn], [DAYS=nnn]
DAYS=nnn

(Optional) Specifies the number of days the data set is to be retained.

Default: 7

DEF=dsnname

Specifies the data set name or prefix for retention. DSN=$DEFAULT$ generates a default KEEPDATE value for all data sets that do not match entries in the table.

POS=nn

(Optional) Specifies the starting position in a data set name.

Default: 1

A maximum of 128 DEF= statements may be supplied..

Examples: DEF System Option

DEF=DEF.AAA,DAYS=3
DEF=DEF.BBB
DEF=$DEFAULT$,DAYS=3 Base default assigned when no match is found)

This example uses the POS parameter with data set names.

PYR043.MONTHLY.DATA
PYR042.MONTHLY.DATA1
PYR055.MONTHLY.ROLL

The above data set names would be controlled by the following DEF definition:

DEF=MONTHLY,POS=8,DAYS=10