On Friday, 12/16/2005 at 12:52 EST, "Les Geer (607-429-3580)" 
<[EMAIL PROTECTED]> wrote:
> You might be able to accomplish what you are looking for via the RSCS
> message exit.

I think you need to use exit 24 to trap the CP CLOSE command so you can 
issue it in the exit and capture the spoolid (then tell RSCS to issue the 
'*' command).  One of the inputs to exit 24 is a tag element.  It contains 
TAGJOBID, which in our example should be AL2(1853).  In a miracle of 
programming, exit 24 maintains a queue of widgets that contain the 
TAGJOBID and the spoolid from the CP CLOSE.  Exit 27 then looks for 
DMTAXM104I and searches the queue (located via another miracle, though 
both exits could share the same module and queue anchor) for the matching 
TAGJOBID, stuffing it into the message, and deleting it from the queue.

Otherwise you might change the wrong message, no?

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to