Using Labeled Tapes In Lp Mode - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Using Labeled Tapes

Using Labeled Tapes in LP Mode

1. Create a TAPE DEFINE for each file you want to access on the labeled tape.
To specify LP mode, you must include LABELS ANSI, LABELS IBM, LABELS
IBMBACKUP, or LABELS BACKUP in the TAPE DEFINE.
This example shows a TAPE DEFINE named =TAPE-JOB for LP mode:
10> ADD DEFINE =TAPE-JOB, CLASS TAPE, LABELS ANSI, &
10> &VOLUME TV0005, DEVICE $TD2, USE OUT, &
10> &MOUNTMSG "Low-priority. Runs 30 min. Thanks, Tom"
11>
2. Mount the tape, or deliver the tape to the operator with instructions that include:
The tape identification (volume ID or serial number)
The open mode (LP)
The tape label type (ANSI, IBM, or BACKUP)
The name of the tape drive your program will use (if you included a DEVICE
attribute in your DEFINE)
The time you will run the application that requires the tape
3. Run your application, specifying the DEFINE that describes the tape file you want.
If your application lets you specify the TAPE DEFINE on the TACL command line,
you must enter the correct name of the TAPE DEFINE.
For example, this application copies the disk file ACCOUNTS to a labeled tape
using the DEFINE =TAPE-JOB:
11> RUN TAPECOPY / OUT =TAPE-JOB, NOWAIT / ACCOUNTS
The labeled-tape server displays this mount message at the operator console:
$ZSVR: 0012 MOUNT TV0005 ON $TD2 WITH RING
"Low-priority. Runs 30 min. Thanks, Tom"
This mount message includes:
The name of the labeled-tape server process $ZSVR and a message sequence
number (0012) identifying the request
The word MOUNT to indicate the operation requested
The volume serial number (TV0005) of the tape to be mounted
The phrase WITH RING to indicate that the tape should be write-enabled
The comment you included in the DEFINE MOUNTMSG attribute
4. You, or an operator, should mount the tape TV0005. The system uses automatic
volume recognition to identify the tape so your application can continue processing.
Guardian User's Guide —425266-001
10- 6
Using Labeled Tapes in LP Mode

Advertisement

Table of Contents
loading

Table of Contents