Create a MSG rule using EasyRule that sends a WTO to all consoles
search cancel

Create a MSG rule using EasyRule that sends a WTO to all consoles

book

Article ID: 225965

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

How can a MSG rule be configured in EasyRule to send MVS messages to ALL the consoles? In the Actions menu of the rule and selecting option M, "Issue z/OS Messages", the selection 'Console Names =>' says to enter a console name but the messages need to go to ALL the consoles.

 

Environment

OPS/MVS

Resolution

When creating a Message Rule using EasyRule, a WTO can be sent from the rule to all active consoles using the following method...

 

Within EasyRule, from the Message Rule Main Menu, select "4" for ACTIONS:

 EasyRule ----------------------------------------------------------------------
                                                                                
                  M E S S A G E   R U L E   M A I N   M E N U                  
                                                                                
                                                                                
                                                                                
    1   MESSAGE ID      -   Specify the ID of the message(s) to be processed    
    2   DOCUMENTATION   -   Add comments to this Rule                           
    3   CONDITIONS      -   Supply additional criteria for this Rule to fire    
    4   ACTIONS         -   Take action with respect to the message(s)          
                                                                                
    5   INITIALIZATION  -   One-time initialization done when Rule is ENABLEd   
    6   TERMINATION     -   Specify actions to be taken when Rule is DISABLEd   
                                                                                

 

Next, select option "M" to issue a z/OS message from the rule:

 EasyRule ----------------------------------------------------------------------
                                                                                
              M E S S A G E   R U L E  --  T A K E   A C T I O N               
                                                                                
   The actions you specify via these panels will be taken for all messages that 
   have the Message ID you specified and pass any additional tests you supplied 
   via the "Additional Criteria" panels.                                        
                                                                                
       1  Suppress                         G  Update Global variables           
       2  Message deletion                 L  Update Local or Global variables  
       3  Re-route to other consoles       M  Issue z/OS messages               
       4  Re-word the Message              N  Send a NetMaster Alert            
       5  Change DESC codes                O  Issue Operator commands           
       6  Reply (WTORs only)               P  Page support people               
       7  Send to another system (MSF)     Q  Perform SQL update or insert      
       8  Throttle Message display rate    S  Send messages to TSO users        
       9  Update Environmental variables   U  Issue UNIX commands               
                                           X  Run REXX/CLIST program in Server  

 

On the resulting "Issue a New Message" panel there is a "Broadcast" field toward the bottom of the screen. When Broadcast is set to "Y", the associated WTO will be broadcast to all active consoles:

 EasyRule --------------------------------------------------------------------
                                                                              
                     I S S U E   N E W   M E S S A G E                        
                                                                              
    Message ID  ===> __________                                               
    Message text ==> _________________________________________                
                     _________________________________________                
                     _________________________________________                
                     _________________________________________                
                                                                              
    Route Codes ===> ___ ___ ___ (1-128)                                      
    Desc  Codes ===> __ __ __    (1-16; 1-6,11 are mutually exclusive)        
    Console Names => ________ ________ ________ ________ ________             
    Console ID  ===> __          (1-99) Mutually exclusive with Console Names 
    System Names ==> ________ ________ ________ ________ ________             
    HILITE      ===> _           (Y/N)                                        
    Broadcast   ===> _           (Y/N)                                        
   Console names are two to eight characters long, alphanumeric, and must     
   start with an alphabetic character.  System names are one to eight         
   characters long, alphanumeric, and must start with an alphabetic character.
                                                                              

 

An example of resulting command produced within the generated rule is as follows:

address WTO                                         
   "MSGID(NCTSTMSG) ",                              
  "TEXT('This is a test message ') MCSFLAGS(BRDCST)"
return