Monitoring IEE391A message when OPS is down
search cancel

Monitoring IEE391A message when OPS is down

book

Article ID: 145190

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Sometimes the SMF areas are switched when OPS is DOWN so the message IEE391A is not intercept and the SMF dump job is not executed.

Environment

OPS/MVS

Resolution

One possible alternative is to create a rule that checks the SMF areas at OPS startup and runs the dump jobs if required.
Sample implementation:
1) Create a rule with just the )INIT section to call a REXX program. This rule must be set auto-enable but it is not possible to enable it.
Sample code:

)REQ DUMPSMF          
)INIT                   
ADDRESS OSF 'OI DUMPSMF'

2) The rule code above calls the REXX program DUMPSMF when OPS is starting. The code of DUMPSMF can be:

ADDRESS OPER 'D SMF'                                 
DO QUEUED()                                          
   PULL LINE                                         
   PARSE VAR LINE PREF "-" DSN VOL BLKS FULL MESSAGE 
   IF MESSAGE = 'DUMP REQUIRED' THEN                 
        DO                                           
          ADDRESS OPER 'S SMFDUMP,MAN='DSN           
        END                                          
END