beautypg.com

Labels ibm-reading a single tape file, Labels backup-writing multiple volumes, Labels omitted – HP NonStop G-Series User Manual

Page 105: Labels bypass, Labels ibm—reading a single tape file, Labels backup—writing multiple volumes

background image

Using TAPECATALOG DEFINE Attributes

DSM/Tape Catalog User’s Guide — 520233-008

6 - 13

Labels IBM—Reading a Single Tape File

Labels IBM—Reading a Single Tape File

Because no generation is specified in the DEFINE, this request uses generation -1 of
the tape file IBM_FILE1 (the most recent) in the default file catalog:

ADD DEFINE =IBM, CLASS TAPECATALOG, USE IN, FILEID IBM_FILE1, LABELS IBM

FUP COPY =IBM, $DATA01.IBM.FILE1

Labels BACKUP—Writing Multiple Volumes

This request uses the default volume and file catalog because none is specified in the
DEFINE. If more scratch tapes than specified are needed, only BACKUP labeled tapes
of density 6250 are selected from the pool:

ADD DEFINE =BACK, CLASS TAPECATALOG, USE OUT, &

FILEID FRIDAYS_BACK, LABELS BACKUP, RETENTION 28, &

POOL BACKUP_OPEN, DENSITY 6250, VOLUME (BKO001, BKO002, BKO003)

BACKUP =BACK, ($DATA1.*.*, $DATA2.*.*), &

BLOCKSIZE 28, CATALOGFILES

Because the CATALOGFILES option was used, the disk files written as part of the
backup are cataloged. You can use the INFO DISKFILE command to retrieve
information about each disk file and the RECOVER DISKFILE command to have
DSM/TC select the specific volumes needed to restore the selected files.

Labels OMITTED

Because this request is for an unlabeled tape, both the tape drive name (DEVICE
$TAPE) and CATALOG OFF must be specified. IF NLCHECK has been specified as
ON for $TAPE, the MEDIACOM ACCEPT TAPEMOUNT command must be issued to
let processing continue:

ADD DEFINE =OMIT, CLASS TAPECATALOG, LABELS OMITTED, &

CATALOG OFF, DENSITY 6250, COMPRESSION OFF, DEVICE $TAPE

BACKUP =OMIT, $DATA4.*.*, LISTALL, BLOCKSIZE 28

Labels BYPASS

Because the request is to bypass the volume label, the tape drive (DEVICE $NAPA01)
and CATALOG OFF must be specified. IF BLPCHECK is specified as ON for
$NAPA01, the MEDIACOM ACCEPT TAPEMOUNT command must be issued to let
processing continue:

ADD DEFINE =BYPASS, CLASS TAPECATALOG, LABELS BYPASS, &

CATALOG OFF, TAPEMODE STREAM, DEVICE $NAPA01

FUP COPY FILE1, =BYPASS, BLOCKOUT 28000

Note. Use any LABELS BYPASS request with extreme care. Because BYPASS causes no
volume label verification, an incorrect tape volume mounted accidentally will be overwritten.

This manual is related to the following products: