Is there a way to delay the response to a message action.

Document ID : KB000026027
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How can I delay the response to a message action that needs to wait for a a rewind or unload of a tape.

Solution:

Use command delay.

 Action Name ==> MSGDELAY        ___________________________________
 Message   = ==> XXXXXXXX               Scan ( 01 , 01 )        MTWR
 Message2  = ==>                Generic   Scan ( 51 , 01 )        ____
 Occurrences ==>                        Phase   ==>                 
 Frequency   ==> ( 00 : 00 : 00 )       Jobname ==>                 
 Time Range  ==> ( 00 : 00 , 00 : 00 )  CPUID   ==> *               
  _ Pid    =                                                        
 ACTION    Enabled                                                  
 Highlight  (   )                       Disable Generics ( _ )      
 Hold       (   )                       Simulate Action  ( _ )      
 Unhold     (   )                       Stop After Match ( _ )      
 Suppress   (   )                       Old Style Args   ( _ )      
 Delete     (   )                       Command Delay    ( 05 : 00 )  <-- mm:ss
 REXX IMOD  (   )  ==>                                              
 Reply      (   )  ==>                                              
 Command    ( X )  ==> ASO REPLY &P xxxxxxx <== reply command 
 
where &P is a variable for the partition that triggered the message.