AWA: What is the file being generated that starts with 'O' on my Agent?

book

Article ID: 182924

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic Workload Automation - Automation Engine

Issue/Introduction

When reviewing your Agent folders on the filesystem, you may see files in the /temp/ folder that start with O or J and have letters after them. Some of these may be very large in size.

What is the purpose of these files?

Environment

Release : 12.2

Component : AUTOMATION ENGINE

Resolution

These files are (O)utput from a job report or (J)CL; they were generated from jobs within the Automation Engine.

You can look at the specific runids by converting them via ALPHA2RUNNR:

https://docs.automic.com/documentation/webhelp/english/AA/12.3/DOCU/12.3/Automic%20Automation%20Guides/help.htm#Script/Reference/ALPHA2RUNNR.htm?Highlight=ALPHA2RUNNR

Here's an example script that can be placed into a SCRI object to get the runID:

:SET &FILE# = OAOFTGJW.TXT
:SET &ALPHA# = MID("&FILE#",2,7)
:SET &RET# = ALPHA2RUNNR(&ALPHA#)
:PRINT "File: &ALPHA# RunID: &RET#"

This returns:

U00020408 File: AOFTGJW RunID: 0000000168962400

This runID then can be reviewed and, if completed, the files can be deleted safely.