DSM/Tape Catalog User's Guide

Tape Library Control Path Configuration Guidelines
DSM/Tape Catalog User’s Guide 520233-008
7 - 14
Examples Using Tapes in the Tape Library (No
Catalog)
Examples Using Tapes in the Tape Library (No
Catalog)
The DEFINE requests in these examples are created from a console with a TACL
process running. They can also be created programmatically using normal procedure
calls.
With the exception of the TMF requests, if too few tape volumes are specified in the
DEFINE, a mount message is sent to the operator to request that an additional tape
cartridge be mounted to fulfill the requested operation. See TMF Tape Requests on
page 7-11.
BACKUP and RESTORE Operations
These examples use both TAPE DEFINEs and TAPECATALOG DEFINEs as they
might be specified for BACKUP and RESTORE operations:
ADD DEFINE =BACK, CLASS TAPE, LABELS BACKUP, &
VOLUME (BCK001,BCK002,BCK003)
BACKUP =BACK, $DATA.*.*, BLOCKSIZE 28, LISTALL,...
ADD DEFINE =BACK2, CLASS TAPECATALOG, LABELS BACKUP, &
USE OUT, VOLUME (BCK001,BCK002,BCK003), CATALOG OFF
BACKUP =BACK2, $DATA.*.*, BLOCKSIZE 28, LISTALL,...
This example is the same as the first except that instead of being a TAPE DEFINE,
it is a TAPECATALOG DEFINE with CATALOG OFF, which makes it be processed
like a TAPE DEFINE.
ADD DEFINE =BACK4, CLASS TAPE, LABELS IBMBACKUP, &
VOLUME (IBM001,IBM002), FILEID OPSBACKUP
BACKUP =BACK4, $DATA2.*.*, BLOCKSIZE 28,...
ADD DEFINE =REST, CLASS TAPE, LABELS BACKUP, VOLUME BCK002
RESTORE =REST, $DATA.TEST.*, LISTALL,...
ADD DEFINE =REST2, CLASS TAPECATALOG, LABELS BACKUP, &
USE IN, VOLUME BCK002, CATALOG OFF
RESTORE =REST2, $DATA.TEST.*, LISTALL,...
This example is identical to the previous one. A TAPECATALOG DEFINE with the
CATALOG OFF option specified is processed as a TAPE DEFINE.
File Utility Program (FUP) Operations
These examples use both TAPE DEFINEs and TAPECATALOG DEFINEs as they
might be specified for File Utility Program (FUP) operations: