Does autotrack report global variable changes?
search cancel

Does autotrack report global variable changes?

book

Article ID: 227041

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Is it possible to see changes to global variables in an autotrack report?

Environment

Release : 11.3.6/12.0

Component : CA Workload Automation AE (AutoSys)

Resolution

Setting a global variable is a sendevent call so it is tracked by autotrack. You can run an autotrack report on sendevents (-t S) to see it. You will need to include the -v argument so that the full detail of the sendevent call is included in the report. Here is an example...

autotrack -t S -v

autosys@machine1
10/22/2021 14:54:30
CAUAJM_I_50152 Sendevent issued.

  eoid: PL1z10000025
  job_name: TEST_GV
  command: sendevent "-E" "SET_GLOBAL" "-G" "TEST_GV=1"
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The job_name field for a SET_GLOBAL event in the report will contain the GVAR name.

This covers SET_GLOBAL events that are sent via the sendevent command, WCC QuickView, and WCC QuickEdit.

The only thing you can't do is run autotrack specifically for SET_GLOBAL sendevent calls. You would run the report on all sendevent calls and then mine the output for what you are looking for.