I believe you could do a 'CP SET IMSG IUCV' and trap that message as
well off the WAKEUP. Could Piping a CP Q R or CP Q RDR ALL into a
variable get you the information you need so you don't have to handle
both interupts?  


Bob Bates
Enterprise Hosting Services - Enterprise Virtualization - z/VM and
z/Linux 

w. (469)892-6660
c. (214) 907-5071

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any information herein.  If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message.  Thank you for your cooperation."



-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Wakser, David
Sent: Tuesday, July 01, 2008 11:04 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Best method

Bob:

        Is there a method of also trapping the "message" that shows when
a file is sent to the VM reader? I need it to issue the RECEIVE
properly. In the HELP WAKEUP it seems that setting the various message
types to IUCV should work, but it doesn't seem to do that,

        Thanks, in advance. 

David Wakser

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Bob Bates
Sent: Tuesday, July 01, 2008 10:21 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Best method

Absolutely,
        Use the WAKEUP module.

        I have a program that waits for reader files and messages. The
waiting part looks like: 


        do forever
                'WAKEUP +30 (RDR IUCVMSG'
                saverc = rc
                select
                        when saverc = 4 then 
                                "process reader file"
                        when saverc = 5 then
                                "process a message"
                                
You might want to change the +30 if all it does is wait for reader
files. See HELP WAKEUP for details

Reply via email to