DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-37
ALTER DISKFILE Command (Super Group Only)
This option specifies which physical copy is associated with tape-file-id (and
disk-file-name):
physical
changes the disk file entry based on a physical copy number. Specify
physical as a number in the range 1 through 99. The default is 1.
If physical refers to a pair of tape sets from a parallel BACKUP or parallel
BACKCOPY run, only entries for logical copy 1 of the pair are changed if you
do not use the LOGICAL option with the PHYSICAL option.
ALL
changes the disk file entry for all physical copies. If there are pairs of tape sets
from a parallel BACKUP or parallel BACKCOPY run, only entries for logical
copy 1 of the pair are changed if you do not use LOGICAL ALL with
PHYSICAL ALL.
Considerations
Avoid using wild-card characters in the disk file name and tape file ID of an ALTER
DISKFILE command because the scope of possible changes could be larger than you
intended.
If you must use wild-card characters in a disk file name or a tape file ID, use INFO
DISKFILE first with the wild-carded names to determine which entries are selected
before using the names with ALTER DISKFILE.
Examples
One disk file copied to tape by BACKUP in the third generation of
RETAIL_DAILY_BACKUP contains an error and should never be used by
RECOVER DISKFILE. The status of the disk file is changed to invalid for the third
generation and for all physical or logical copies of that generation.
MC> ALTER DISKFILE $MKT.MTA.RETAIL,&
>>> TAPEFILE RETAIL_DAILY_BACKUP,&
>>> GEN 3,&
>>> STATUS INVALID,&
>>> PHYSICAL ALL, &
>>> LOGICAL ALL
This example marks all disk file entries invalid for disk file IDs beginning with DIS in
the tenth generation of RETAIL_DAILY_BACKUP. All physical or logical copies of
that generation are affected.
MC> ALTER DISKFILE $SYS1.MTA.DIS*,&
>>> TAPEFILE RETAIL_DAILY_BACKUP,&
>>> GEN 10,&
>>> STATUS INVALID,&