Subject: | |
From: | |
Reply To: | |
Date: | Mon, 20 Apr 1998 16:57:48 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
I know you can determine the setting via SYSDIAG : SCSIDDS, but
it's a pain (and you need a password) ... I don't know of any
other method, however.
You could invent a protocol for a site to follow (e.g., create 2 UDCs
that turn compression on/off, and build/purge a file whose presence
indicates that compression is desired. Then, your third udc/command
would say:
setvar was_compressed finfo ("COMPRON.LDEV7.SYS", 0)
comment unconditionally disable compression...
devctrl 7, disable
...do your stuff...
if was_compressed then
compresson 7
...above is a udc that will do BUILD COMPRON.LDEV7.SYS
>
> Hi there fellow tape users!
>
> I'm familiar with using DEVCTRL to SET the device parameters for a tape
> device, but is there any way to GET those values programatically?
>
> I have a situation where I don't know if a particular tape device (could be
> one of many on multiple systems!) is enabled for compression or not. If NOT,
> then things are fine. However if compression IS enabled, I need to disable
> it for the duration of a :STORE, and then re-enable it. Obviously, I must
> ensure that the final setting of the device is exactly as it was before the
> :STORE began.
>
> Any ideas?
> TIA,
> TOny
>
--
Stan Sieler [log in to unmask]
http://www.allegro.com/sieler.html
|
|
|