HP (Hewlett-Packard) L700 (CTL700) Server User Manual


 
Managing Tape Drives
L700 (CTL700) Installation and User’s Guide—527338-004
9-16
Using SETMODE 162 to Control Compression Mode
Example 3
This example for an unlabeled tape shows a BACKUP command that does not
use a DEFINE. In this case, the tape drive writes data using the systemwide
default compression specification.
->BACKUP $TAPE, $DATA.*.*
Example 4
This example for a labeled tape shows a File Utility Program (FUP) command
that uses a CLASS TAPECATALOG DEFINE NAMED =FUPOUT to turn
compression on (IDRC). The USE OUT attribute specifies to write the file to
tape.
The FUP COPY command copies the contents of FILE1 record-by-record to
volume IBM001.
->ADD DEFINE =FUPOUT, CLASS TAPECATALOG, LABELS IBM, &
VOLUME IBM001, COMPRESSION IDRC, USE OUT, CATALOG OFF
->FUP COPY FILE1, =FUPOUT
For More Information
For more information about how to create DEFINES and use them in labeled
tape processing, see the Guardian User's Guide and the Guardian Disk and
Tape Utilities Reference Manual. For information on how to specify CLASS
TAPECATALOG DEFINES, see the DSM/Tape Catalog User's Guide. For more
information on using the BACKUP and FUP utilities, see the Guardian Disk and
Tape Utilities Reference Manual and the File Utility Program (FUP) Reference
Manual.
Using SETMODE 162 to Control Compression Mode
If you do not want the systemwide default compression specification (default is
normally compression off), you can use the SETMODE 162 procedure call to set
compression mode on or off.
Considerations:
Changes to compression using SETMODE 162 are allowed only at the
beginning of tape (BOT). Otherwise, the tape drive returns an error.
BACKUP and FUP utilities do not support SETMODE operation.
Setting param1 Value
No data compression 1
Data compression 2