> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Chicklon, Tom > Sent: Friday, August 10, 2007 9:46 AM > To: IBM-MAIN@BAMA.UA.EDU > Subject: Re: CA-OPS/MVS question - delayed replay to WTOR > > <SNIP> > If I read the documentation correctly, I cannot use OPSWAIT in a MSG > rule. It says it can only be used in a REQ rule, or a OPS/REXX program > (started via the OI or OX function?). > </SNIP> > > John my original answer was a bit incomplete.... There is a > two step process > for this. Here's one example from our rule library: > > 1) The message rule: > > )MSG IXC102A > )PROC > ID = MSG.REPLYID /* Get REPLYID from event variable */ > address TSO > "OPSEXEC PROGRAM('OPSMVS.RULES(IXC102RX)') ARG("ID")" > return 'NORMAL' > > 2) then the rule IXC102RX: > > parse ARG ID /* Get REPLYID from event variable */ > 'OPSWAIT FOR(20)' > "OPSCMD COMMAND(R "ID",DOWN) NOOUTPUT" > exit > > > Tom Chicklon
Tom, Thanks very much! I am not well versed in anything other than simple MSG and TOD rules. I appreciate the code! -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html