[Info-vax] unspooling device
Jeff Goodiwn
jgoodwin at maine.rrr-r.com
Fri Dec 18 15:42:31 EST 2009
"Phillip Helbig---undress to reply" <helbig at astro.multiCLOTHESvax.de> wrote
in message news:hggj3j$970$1 at online.de...
>I have a queue spooled to a shadow set which causes a merge after a
> reboot, because the shadow set can't be properly dismounted. I will
> solve the problem a) by replacing the shadow set with a single disk
> (actually, the shadow set is a replacement for a single disk and I plan
> to restore the original configuration) and b) getting rid of the queue
> (which I no longer need). However, I would like to know if there is a
> proper solution. Many folks must have shadow sets for all their disks
> and at least some of these must have queues spooled to a disk. There
> must be a clean solution.
>
> Obviously, I would expect to put something in SYSHUTDWN.COM, but what
> should it be? (Obviously, any command I put there should work
> interactively as well.)
My recollection is that the queues are stopped before SYSHUTDWN.COM is run.
Maybe something like this in SYSHUTDWN.COM:
$!
$DEV_LOOP:
$ next_dev = f$device("*",66)
$ if next_dev .eqs. "" then goto END_DEV_LOOP
$ if f$getdvi(next_dev,"SPL") .eqs. "TRUE"
$ then
$ write sys$output "''next_dev' is spooled ..."
$ set device/NOSPOOL 'next_dev'
$ endif
$ goto DEV_LOOP
$END_DEV_LOOP:
$ exit
-Jeff
More information about the Info-vax
mailing list