DSM/Tape Catalog Operator Interface (MEDIACOM) Manual

MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual429828-010
2-62
ALTER TAPEFILE Command (Super Group or
SECURITY-MEDIA-ADMIN Only)
disappears at the next clean-up run. To solve this problem, use the EXPIRATION or
RETENTION option with the STATUS option to give the entry a new expiration date.
Examples
The tape file YEAR_END_ACCOUNTING was created with an expiration date that
keeps the file six months before it expires. Soon after the file was created, you
modify its file catalog entry with this command to give it a new expiration date:
MC> ALTER TAPEFILE YEAR_END_ACCOUNTING,&
>>> GEN 1,&
>>> EXPIRATION DEC 31 1995
Every week three tape files are written by an application, each on its own tape set.
The files are named:
MKT_SUMMARY_SALES
MKT_SUMMARY_OF_WEST_COAST
MKT_SUMMARY_BAY_AREA
After the application has run for eight weeks, the files’ owner decides to change the
retention period in the TAPECATALOG DEFINEs for these files from 60 days to
120. Eight cataloged generations that remain in the catalog will expire sooner than
desired because they have the old retention period. To keep those files from
expiring too soon, change all the unexpired entries for the files:
MC> ALTER TAPEFILE MKT_SUMMARY*,&
>>> GEN ALL,&
>>> RETENTION 120
The latest generation of PERSONNEL_MASTER expires today, but the file’s owner
wants the file to remain cataloged for a longer period of time. Before the entry is
deleted at the next clean-up run:
MC> ALTER TAPEFILE PERSONNEL_MASTER,&
>>> GEN 5,&
>>> EXPIRATION NOV 15 1994
(If you issue ALTER TAPEFILE after the clean-up run, the command fails because
the entry for PERSONNEL_MASTER is gone. In this case, you can recatalog the
file with ADD TAPEFILE.)
A tape set contains six cataloged files, two of which have expired:
WEEKLY_SALES_SUMMARIES
MONTHLY_BONUSES
FORECAST_FIGURES
MERCHANTS (expired)
REGIONAL_SUMMARIES
SPECIAL_BONUS_POINTS (expired)