Thanks, good suggestion I also try this one. >>> Mike Walter <[EMAIL PROTECTED]> 7/17/2008 4:52 PM >>> Howard,
That will work find as long as the CONSOLE was started. That should do it... unless the console was not SPOOLed "START" in the first place. He's a way of bullet-proofing it: parse value diag(8,'CLOSE CONSOLE TO OPERATOR') with . . . . . . . . sfid . If sfid<>'' then ... do what you want with the SPOOL File ID (RECEIVE, PIPE READER, etc.) Mike Walter Hewitt Associates Any opinions expressed herein are mine alone and do not necessarily represent the opinions or policies of Hewitt Associates. "Howard Rifkind" <[EMAIL PROTECTED]> Sent by: "The IBM z/VM Operating System" <IBMVM@LISTSERV.UARK.EDU> 07/17/2008 03:25 PM Please respond to "The IBM z/VM Operating System" <IBMVM@LISTSERV.UARK.EDU> To IBMVM@LISTSERV.UARK.EDU cc Subject Re: Some REXX exec help needed. Thanks to all for your replies, I resolved my issue with the following and I can get exactly what I want out of this. 'EXECIO * CP (STEM BUFLINE. STRING 'CP CLOSE CONS OPERATOR'' SAY BUFLINE.1 PARSE VAR BUFLINE.1 . . . . . . . . RDR_NUMBER UNUSED1 >>> "Schuh, Richard" <[EMAIL PROTECTED]> 7/17/2008 2:38 PM >>> Another possibility would be that the console had been closed and no new messages had been displayed between that close and the EXECIO. Regards, Richard Schuh > -----Original Message----- > From: The IBM z/VM Operating System > [mailto:[EMAIL PROTECTED] On Behalf Of Shimon Lebowitz > Sent: Thursday, July 17, 2008 11:29 AM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: Some REXX exec help needed. > > We seem to have gone off the track of the original problem. > > I would like to add a "CP Q V CON" *BEFORE* the EXECIO, to > see if console is currently even being spooled. > If some previous step was meant to start spooling, but > didn't, that would explain why nothing is going to OPERATOR. > > Shimon > _____________ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail. _____________ LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash.