Premounted output tapes, Example – HP NonStop G-Series User Manual

Page 65

Advertising
background image

DSM/TC Tape Processing

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

3 - 13

Premounted Output Tapes

Example

This DEFINE requests a scratch tape by its name:

5> ADD DEFINE =OUTFILE, CLASS TAPECATALOG,&

5> & LABELS ANSI,&

5> & FILEID TEST_DATA_12,&

5> & VOLUME TAP046,&

5> & POOL TEST_TAPES,&

5> & USE OUT

6> FUP COPY $DATA.OPER.RECDS, =OUTFILE

To satisfy this request, these actions take place after $ZSVR receives the DEFINE
information. Each step also describes the status changes as they occur in the volume
catalog entry for TAP046:

1. $ZSVR asks DSM/TC to check that TAP046 is cataloged in pool TEST_TAPES,

with a status of scratch.

2. DSM/TC confirms that TAP046 is cataloged in TEST_TAPES and that its entry has

a status of scratch. DSM/TC reserves TAP046 by changing its entry status to
selected.

3. $ZSVR cannot find TAP046 on any of the tape drives, so it issues a mount

message to the operator for TAP046.

4. The operator mounts TAP046 on tape drive $TD03. $ZSVR detects this and

connects FUP to $TD03 to complete the request. DSM/TC changes the tape’s
entry from selected to in use and creates a tape file entry for TEST_DATA_12, the
new tape file being written by FUP.

5. After the application closes the output file, DSM/TC changes the volume catalog

entry for TAP046 from in use to assigned and associates it with the tape file entry
of TEST_DATA_12.

Premounted Output Tapes

An operator might mount a scratch tape on a tape drive without being asked to do so
by a mount message. For instance, perhaps special instructions for running certain
applications tell the operator which tapes should be mounted for them. Tapes mounted
this way are referred to as being premounted.

When a cataloged scratch tape is premounted, its volume catalog entry follows the
steps for status changes in

Status Changes in a Volume Catalog Entry

on page 3-11

except that the status never becomes SELECTED; instead, it goes from SCRATCH to
IN USE.

Advertising
This manual is related to the following products: