Is it possible to retrieve the standard output files of a job by using 'autosyslog' command?
search cancel

Is it possible to retrieve the standard output files of a job by using 'autosyslog' command?

book

Article ID: 14808

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Is it possible to retrieve the Standard Output files of a job by using the "autosyslog" command?  

Environment

WAAE 11.3.6 Release

Resolution

Yes, the following command will display the “Standard Output” file of the last run of the job: 

autosyslog -j jobname -t O    


The following command will display the “Standard Output” file of the previous run of the job by adding the -r -1 option: 

autosyslog -j jobname -t O -r -1 


The following command will display the “Standard Output” file of the run before the previous run of the job by adding the -r -2 option: 

autosyslog -j jobname -t O -r -2 


The following command will display the “Standard Output” file of the Nth previous run of the job where N is an integer representing the previous runs of the job. 

autosyslog -j jobname -t O -r -N