Yes, thank you Ron, 'WAKEUP +0 (IUCVMSG' just does CP SET MSG IUCV and WAKEUP RESET puts it back to ON. To trap other stuff, you do need to explicitly set it (and maybe IMSG/EMSG would be enough in this case). But Phillip has to set those traps before the SPXTAPE command. And BTW, Phillip, WAKEUP always returns one message at a time, so there's no need for queued(). Also, you may want to do 'CP SP CON * CL x' and 'CP SP RDR CL x' and then instruct WAKEUP to wait for reader files as well. SPXTAPE's log files have distinctive filenames and go to wherever your console is spooled. Ivica
On 14/02/2008, Ron Schmiedge <[EMAIL PROTECTED]> wrote: > > I wrote an exec to run on a disconnected service machine to dump the > VM spool. It was a while ago, but I see I did a CP SET CPCONIO IUCV > before the "wakeup (iucvmsg" loop. And a CP SET CPCONIO OFF before the > "wakeup (reset" at the end of the loop. > I am sure I read about this technique somewhere, perhaps in the wakeup > documentation. But it was written quite a while ago and I tend to > remember less these days.... > > On 2/13/08, Ivica Brodaric <[EMAIL PROTECTED]> wrote: > > Try > > > > 'WAKEUP +00:00 (IUCVMSG' > > > > just before 'CP SPXTAPE...' > > > > That sets the diversion as Rob already suggested. Add 'WAKEUP RESET' > after > > the end of loop. > > > > Ivica >