<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

----------------------------------------------------------------------
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

Reply via email to