Vous êtes sur la page 1sur 4

Autosys Commands

These are some of the most frequently used Autosys commands that are used in day to day activities. autorep J The above command is used to pull the report of a Job/Box. There are lot of other options that can used along with autorep J based on the option used the report of the Job varies. !s " This option provides a summary of the Job/Box autorep J Jobname !s !d " This option provides detailed information of a Job/Box autorep J Jobname !d !r " This option provides the previous run history of a Job/Box autorep J Jobname r !n where n can be # $ % & ' (.etc. if r option is used we need to provide a number for which the )obs run history is needed. *or example if we need to pull the )obs previous run then autorep J Jobname r # will be the command. +ote " !n do not represent the previous day / week / month. ,t denotes the previous run number, !$ will print the Jobs last $nd execution from its current run. % will print the )obs last % rd execution from its current run. (.. -!'. -!&. -!%. -!$. -!#. -/urrent run. we can see %0 previous run of any Job. !q " This option provides the Job ,nformation 1anguage or J,1 of a Job !o " This option provides if the one time over!ride information of the Job !1 " This will list the Box and its Job details in level The below screen shots explains the above command and its option with example "

+ote " autorep J Jobname " this is required fields s !d !r !1 !o are the options / combinations used with the main command. 2x " autorep J Jobname !d autorep J Jobname !s autorep J Jobname q !r . 1 can used in combination with the above commands"

autorep J Jobname d r !# 1 0 job_depends J The above command will display the atomic/starting condition and also the dependent Job details of a Job / Box The same command is also used to *orecast the Jobs/Boxes that are scheduled to run between a specified time periods. There are lot of option that are to be used with the above command !c " This option will list the starting condition and dependent Job details )ob3depends c J Jobname

*rom the above screen shot , could get the following information" #. 4tatus of the Jobs which is in 5+3,/2 $. AT6572 has the following )obs as depends )obs. 8eaning AT46572 is given as a starting condition for the below )obs which is 49//244:AT46572; meaning only when AT46572 is in 4uccess / 5n ,/2 condition the )obs will trigger to run. <ependent Job +ame !!!!!!!!!!!!!!!!!! AT#3atgx$%0#346572 AT#3atgx$%0$346572 AT#3atgx$%0%346572 /ondition !!!!!!!!! 49//244:AT...; 49//244:AT...; 49//244:AT...;

That is why during =ee>end outages we place AT46572 on 6old which in turn will hold the above )obs from running. %. <oes AT46572 has any starting condition which is +o in the above screen shot. 8eaning there are not starting )obs that are necessary for AT46572 to run. &. <oes AT46572 has time condition " +o it doesn?t run based on time schedule. !t " To be used for *orecasting the Jobs )ob3depends t J A11 * @mm/dd/yyyy hh"mmA T @mm/dd/yyyy hh"mmA where * represents @*romA or the starting time !T represents @ToA or the 2nd time hh"mm hours " minutes 2x " )ob3depends t J A11 * @##/#'/$0## $%"'BA T @##/#C/$0## 0$"0#A A typical *orecast report "

The above *orecast report will list all the Jobs that are scheduled to run between #' th +ov $%"'B #Cth +ov 0$"00. Note : Only Jobs w th t me !ond t on w ll be "enerated n the report, jobs w thout a t me !ond t on won#t be n!luded n the $ore!ast report%

Vous aimerez peut-être aussi