OPS/MVS - Need to track what is deleting a global variable that begins with GLOBAL5 Or end in any numeric
search cancel

OPS/MVS - Need to track what is deleting a global variable that begins with GLOBAL5 Or end in any numeric

book

Article ID: 210021

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

We have a production application that uses GLOBAL5.xxxx.xxxx variables.  some are getting deleted and we need to find out what is doing this.  turning browseglv does not seem to track. Making this a P2 because it is affecting production.  What is the best way to find who is deleting some of these variables. 

 

Environment

OPS/MVS

Resolution

Global variables ending in a numeric, such as GLOBAL5, do not create GLV events that can be captured.   The only way to track these is to search existing rules and REXX datasets for use of the variable, in this instance GLOBAL5. 

Global variables can trigger global events if their values change. Changing the value of a global variable triggers a global variable event unless that variable has a stem of GLOBALx. or GLVTEMPx. (where x is a number from 0 to 9).

https://techdocs.broadcom.com/us/en/ca-mainframe-software/automation/ca-ops-mvs-event-management-and-automation/14-0/using/using-ca-ops-mvs/using-global-variables/global-variable-characteristics.html 

Setting GLVDELETERULES to YES will also cause the deletion of the above global names to create GLV events,

BROWSEGLV should be set to YES to see the events in the OPSLOG.  GLV rules can be created to also respond to these GLV events.  

 

Additional Information

NOTE:

This was done intentionally to provide a choice of what global variables to use in relation to creating the subsequent global variable events.  There is overhead in creating the GLV events as additional automation can be fired in the same asid/process block.  So anytime that it may be necessary to track a global with GLV events, a global variable 1st node name that ends in a non-numeric character should be used.  On the other hand, if there is a need for higher performance, and no global variable tracking, then choose a global variable 1st node name that ends in a numeric.