Wednesday, August 1, 2012

autorep command

autorep command
Syntax : autorep -J job_name [ -d | -q | - r run_number ]
Description : autorep lists a variety of information about jobs
Options :
-J job_name : Indicates that a Job Report is desired. To report on all jobs, specify ALL. The % character may be used in the job name as a wildcard
-d Indicates a Detail Report is desired. For a Job Report, all events from the last run of the requested job will be listed.
-q Indicates a Query Report is desired, providing the current job or machine definition, in JIL format, as it exists in the AutoSys database.
-r run_num Indicates a report is desired for a specific job run (run_num). This option can only be used with the -s and -d options. If this option is omitted, or run_num is zero, the most current job run is reported. A minus sign (-) can be used before the run_num value to indicate a relative counter for a past job run, relative to the current run number. For example, the option r -2 would generate a report for the job run two runs back.

Meaning of AutoSys status

STATUS AUTO STATUS  Meaning
----------  ------------------   ---------
RU           RUNNING        Running
ST           STARTING        Starting
SU          SUCCESS        Success
FA           FAILURE          Failure
TE           TERMINATED   Terminated
OI            ON_ICE           On Ice
IN            INACTIVE         Inactive
AC          ACTIVATED       Activated
RE          RESTART          Restart
OH         ON_HOLD          On Hold
QW         QUE_WAIT       Queue Wait
RD          Refresh             Dependencies
RF          Refresh             Filewatcher