search cancel

How can one reply, in a Process, to the same message more than once?

book

Article ID: 54138

calendar_today

Updated On:

Products

CMDB for z/OS NetSpy Network Performance NetMaster Network Automation SOLVE NetMaster Network Management for SNA NetMaster Network Management for TCP/IP NetMaster File Transfer Management SOLVE:Operations Automation SOLVE:Access Session Management SOLVE:FTS

Issue/Introduction

Description

Customer wants to answer with more then one reply for one message in a Process with a Reply Macro, for example:

    23 R SYP4     OAM      *23 CTS996D REPLY U, C, R, DISABLE OR HELP. 
    22 R SYP4     OAM      *22 CTS996D REPLY U, C, R, DISABLE OR HELP. 

Solution

To reply to the same message repeatedly, a Global Process similar to the following can be used. It has three steps:

NETM01----------- Automation Services : Process Definition ---Function=Update 
Command ===>                                                 Scroll ===> CSR 
+ Process Definition -------------------------------------------------------+ 
! System Name .+ $PROCESS  Version ...+ 0001                                ! 
! Name ......... REPLY                                                      ! 
! Description .. Reply to CTS996D Outstanding Reply                         ! 
+---------------------------------------------------------------------------+ 
+ Process Steps ------------------------------------------------------------+ 
!                                                                           ! 
!                                        D=Delete I=Insert P=Parms R=Repeat ! 
!                   Condition                                               ! 
!    StepName   Step/RC  Opr R/C   Macro    Description                     ! 
!    REPLY                         REPLY    REPLY TO AN OUTSTANDING WTOR    ! 
!    GOTO       REPLY    EQ  0     GOTO     GO TO ANOTHER STEP IN THE PROCE ! 
!    STOP       REPLY    NE  0     STOP     SET RETURN CODE AND END         ! 
!     **END**                                                               ! 
+---------------------------------------------------------------------------+ 
The first step details :                                                      
+- WTOR Identification --------------------------------------------------    
! Last WTOR? Or Jobname And/Or WTOR Message Text                             
!        (Yes)                 CTS996D                                       
+------------------------------------------------------------------------    
+- Reply Text ----------------------------------------------------------- 
!                                                                        
! Reply.... U                                                             
+------------------------------------------------------------------------ 
+- Response Message Analysis -------------------------------------------- 
!                                 D=Delete Extended Filter  S=Extended Fi 
!           Message Text                                     R/Code  E/Fi 
!           IEE600I                                           0         N 
!                                                                        
!                                                                         
!                                                                        
!                                                                        
!                                                                        
! Wait Time 30    Wait Time Expiry Return Code 69                        
+------------------------------------------------------------------------ 
The second step details :                                                  
+ Goto Target ----------------------------------------------------       
!                                                                        
!  Target Step Label .... REPLY                                          
!                                                                        
!  Loop Control Limit ... 10                                             
!                                                                         
+-----------------------------------------------------------------           
The third step details :                                                       
+- Return Code --------------------------------------------------            
!                                                                            
!  Return Code .... 12  (Enter a number between 0 and 99)                    
!                                                                            
+----------------------------------------------------------------            

This will allow the Process to issue multiply replies to outstanding replies with the same message id. The number of replies issued may be limited by the GOTO Step Loop Control Limit setting.

Environment

Release:
Component: NMAUTO