WA Autosys: How to turn on debugging for sendevent in a job?
search cancel

WA Autosys: How to turn on debugging for sendevent in a job?

book

Article ID: 191679

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys) Autosys Workload Automation

Issue/Introduction

A job definition contains sendevent in the definition,  this job is failing to run.

Environment

Release: All Supported Versions
Component: Workload Automation AE (AutoSys Edition):

Cause

To debug the sendevent command enable extra logging in the AutoSys side.

Resolution

Steps to turn on debugging for the sendevent command to a job,  when that job contains a sendevent in its job definition:


1. Locate the configuration file in $AUTOUSER/config.$AUTOSERV.  E.g. /opt/CA/WorkloadAutomationAE/autouser.ACE/config.ACE
2. Make a backup of the file
3. Add or modify the following in the config file (make sure there is no #    in front of the lines, which is a comment)

from:    

ISDBGACTIV=LIGHT,COMM
AUTOSYS_LOG=1

to:

ISDBGACTIV=HEAVY,LIGHT,COMM,DBQUERY,AFM
AUTOSYS_LOG=1

Note: In Non-Windows, the above values are case-sensitive so make sure all are in CAPITAL letters.


4. On Linux/UNIX restart AE service run command:  kill -HUP <PID>

    Note: To the get PID of AE service, see this KD here
    On Windows restart the AE service

 

The debug output file will be written to $AUTOUSER/out on the agent/client machine.

 

Additional Information

NOTE: After the troubleshooting has been completed, it is recommended to revert back the above changes in $AUTOUSER/config.$AUTOSERV and restart AE service again.

 

How to configure AE:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP4/configuring-ca-workload-automation-ae.html

For definitions on each of the log level options and more available options see 

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/autosys-workload-automation/12-0/administrating/ae-administration/configuring-ca-workload-automation-ae/isdbgactiv.html