Request to help to find the failed jobs since 6 months or more

book

Article ID: 193907

calendar_today

Updated On:

Products

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

Issue/Introduction

Please help us in providing a method to find failed jobs for the past 6 months or more.


Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

You can use "grep" for Linux and Unix or "findstr" for Windows to search the failed jobs in the “event_demon*” logs under $AUTOUSER/out folder.

Example of event_demon logs location for Unix and Linux:

$ cd $AUTOUSER/out

$ ls –l event_demon*

-rw-r--r--. 1 autosys autosys 545536 Jun 24 10:46 event_demon.PRD

-rw-r--r--. 1 autosys autosys 1230218 Jun 17 00:00 event_demon.PRD.06162020

-rw-r--r--. 1 autosys autosys 1212882 Jun 18 00:00 event_demon.PRD.06172020

-rw-r--r--. 1 autosys autosys 1212027 Jun 19 00:00 event_demon.PRD.06182020


Example event_demon logs location for Windows:

C:\> cd %AUTOUSER%\out

C:\> dir event_demon*

05/26/2020 12:00 AM 355,710 event_demon.PRD.05252020

05/27/2020 12:00 AM 355,659 event_demon.PRD.05262020

05/28/2020 12:00 AM 355,811 event_demon.PRD.05272020

05/29/2020 12:00 AM 355,654 event_demon.PRD.05282020


You can configure the "event_demon" logs to be kept for the required period of time by using the “LOGROLLOVER” parameter.

This parameter can be set in the config.$AUTOSERV file under $AUTOUSER directory.

The default value for “LOGROLLOVER” parameter is MIDNIGHT,PURGE(7) in the latest releases of AutoSys.

In case you do not specify a value for the PURGE(x) parameter or you set this value to PURGE(0), the log files are not purged.

You can consult the following documentation page for more information about the “LOGROLLOVER” parameter:

http://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP8/administrating/ae-administration/configuring-ca-workload-automation-ae/logrollover.html