Started Task OMVS not getting set to up

book

Article ID: 224895

calendar_today

Updated On:

Products

CA OPS/MVS Event Management & Automation

Issue/Introduction

On this weekends IPL, the started task OMVS started up and the message BPXI004I was issued but the current state was not updated accordingly.

BPXOINIT BPXI004I OMVS INITIALIZATION COMPLETE    

The rule that intercepts the message is:


)MSG BPXI004I                                                              
)PROC                                                                      
  JNAM = MSG.JOBNAME                                                       
  ADDRESS SQL "UPDATE STCTBL SET CURRENT_STATE='UP'",                  
              "WHERE NAME=:JNAM"              

Cause

The rule that intercepts the message BPXI004I should not use the jobname of the message issuer as its is BPXOINIT instead of OMVS.

Environment

Release : 14.0

Component : OPS/MVS

Resolution

We deliver a sample rule in the library CCLXRULM, member SSMOMVS. Use this sample rule instead of your current rule.

)MSG BPXI004I   
)Proc
/*--------------------------------------------------------------------*/
/* Confirm that this is truly the INITIALIZATION complete message.    */
/* This is needed as the same message id may be used for different    */
/* conditions.                                                        */
/*       BPXI004I OMVS INITIALIZATION COMPLETE                        */
/*--+----1----+----2----+----3----+----4----+----5----+----6----+----7*/
msgtxt = TRANSLATE(msg.text)                                            
If POS('INITIALIZATION COMPLETE',msgtxt) = 0 then return                
                                                                        
/*-------------------------------------------------------------------*/ 
/* This logic will update the SSM STCTBL to CS=UP                    */ 
/*--+----1----+----2----+----3----+----4----+----5----+----6----+----*/ 
address SQL "Update STCTBL set current_state='UP'",                     
                  "where name='OMVS'"                                   
return