5190/5194 Modular Tape Subsystem Manual

Operating the Cartridge Tape Drive and ACL
5190/5194 Modular Tape Subsystem Manual426878-002
4-52
Using SETMODE 162 to Override the Systemwide
Compression Default Setting
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.
6>ADD DEFINE =FUPOUT, CLASS TAPECATALOG, LABELS IBM,&
6>&VOLUME IBM001, COMPRESSION IDRC, USE OUT, CATALOG OFF
7>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 Users 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, respectively.
Using SETMODE 162 to Override the Systemwide Compression
Default Setting
If you do not want to use the systemwide default compression setting, you can use the
Guardian SETMODE 162 procedure call to set compression on or off.
Changes to compression using SETMODE 162 are allowed only at the beginning of
tape (BOT); otherwise, the 5190 tape drive returns an error. (The 5194 tape drive
ignores the SETMODE 162 procedure call.)
Backup and FUP utilities ignore any compression setting made by a SETMODE
operation.
Using SCF to Set Compression Mode (NonStop Himalaya
S-Series Servers)
You can use SCF to set or alter the tape compression mode on a 5190 tape drive.
Compression is always on for a 5194 tape drive. The compression mode can be
changed by:
Using MEDIACOM to set a systemwide default setting
Using the SETMODE 162 procedure call for a specific job
Setting param1 Value
No data compression 1
Data compression (IDRC) 2