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

Document ID : KB000014808
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

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

Environment:
WAAE 11.3.6 Release
Answer:

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