export a list of jobs by Job Status using autorep command
search cancel

export a list of jobs by Job Status using autorep command

book

Article ID: 252320

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

A quick way to export these AutoSys jobs by status? (i.e. jobs that are inactive or only jobs on_ice etc.,)

Environment

AutoSys Workload Automation

Resolution

Below example is for Unix/Linux platforms,  appropriate formatting can be done on Windows using Powershell or something similar.


For a detailed list of jobs that are ON ICE:
autorep -J % | grep OI | awk '{ print $1 }' | xargs -n 1 autorep -q -J

For a detailed list of jobs that have run to success:
 autorep -J % | grep SU | awk '{ print $1 }' | xargs -n 1 autorep -q -J

 

When the command autorep -J % is run, the ST/Ex status shows different 2-letter abbreviations that is needed after the grep command in the above examples.

Additional Information