Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

HP OpenVMS Systems

ask the wizard
Content starts here

Enabling Tape (DLT) Data Compression?

» close window

The Question is:

 
Is there a way in VMS 6.2 to turn on the compression density on a DLT drive
like a TZ87.
 
In the BACKUP command there is a /density=n switch but the vms help just
talks about the setting fir magnetic tape in bits per inch, which sounds
like a reference to 9 track tapes and not DLT's.
 
 


The Answer is :

 
  Use /MEDIA_FORMAT=COMPACTION
 
  To determine the current (SCSI tape) device compression status:
 
    $ Devpend2 = F$GETDVI("$n$MKcxxx:","DEVDEPEND2")
    $ Comp_sup = %X00200000
    $ Comp_ena = %X00400000
    $ IF (Devdpend2 .AND. Comp_sup).EQ.Comp_sup
    $ THEN
    $   WRITE SYS$OUTPUT "Compression is supported"
    $ ENDIF
    $ IF (Devdpend2 .AND. Comp_ena).EQ.Comp_sup
    $ THEN
    $   WRITE SYS$OUTPUT "Compression is enabled"
    $ ENDIF
 
 

answer written or last revised on ( 10-DEC-1999 )

» close window

 

** About PDF files: The PDF files on this Web site can be read online or printed using Adobe® Acrobat® Reader. If you do not have this software installed on your system, you may download it from Adobe's Web site
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.