DSM/Tape Catalog User's Guide

Tape File Concepts
DSM/Tape Catalog User’s Guide 520233-008
2 - 7
Sources of Retention Period and Expiration Date
using a MEDIACOM ALTER TAPEFILE command. When that date is reached, the
entry expires.
The DSM/TC default value for retention period
When you do not specify the EXPIRATION or RETENTION attributes in a DEFINE,
a default retention period is converted to an expiration date for you. To set a default
retention period, use a MEDIACOM ALTER MEDIADEFS command for each node
in the DSM/TC system. The node specified by the AVRSYSTEM attribute or the
system name of the DEVICE attribute in your DEFINE is the node whose default
retention period is used.
Examples
This DEFINE includes an expiration date for a backup tape file created on March
20, 2001:
5> ADD DEFINE =OUT, CLASS TAPECATALOG,&
5> & LABELS BACKUP,&
5> & FILEID WEEKLY_BACKUP,&
5> & VOLUME SCRATCH,&
5> & POOL MKT_TAPES,&
5> & USE OUT,&
5> & EXPIRATION OCT202001
6> BACKUP =OUT, $SYSTEM.*.*, LISTALL, CATALOGFILES
The tape file entry for WEEKLY_BACKUP expires six months later, on October 20.
All the disk files copied to the volume set were also cataloged. Their disk file
entries have the same expiration date as the tape file entry.
This DEFINE specifies a 31-day retention period for a new tape file created on
December 1, 2001. This retention period is converted to an expiration date of
January 1, 2002.
42> ADD DEFINE =OUT, CLASS TAPECATALOG,&
42> & LABELS ANSI,&
42> & FILEID CAL_REPS,&
42> & VOLUME SCRATCH,&
42> & POOL MKT_TAPES,&
42> & USE OUT,&
42> & RETENTION 31
This DEFINE specifies a permanent retention period for a tape file created on
December 31, 2000:
9> ADD DEFINE =OUT, CLASS TAPECATALOG,&
9> & LABELS ANSI,&
9> & FILEID YEAR_END_REPORT,&
9> & VOLUME SCRATCH,&
9> & POOL MKT_TAPES,&
9> & USE OUT,&
9> & RETENTION PERMANENT