0% found this document useful (0 votes)
68 views2 pages

Autosys Basic Commands Quick Reference: Command Alias Description

The document provides a quick reference to basic AutoSys commands for managing jobs, events, and global variables. It lists commands for checking the AutoSys and agent status, getting job reports and definitions, starting and controlling jobs, setting and deleting global variables, and displaying job dependencies and run history. The commands allow users to gracefully start, put on hold, force start, terminate, and set the status of jobs in AutoSys.

Uploaded by

pavanhugar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views2 pages

Autosys Basic Commands Quick Reference: Command Alias Description

The document provides a quick reference to basic AutoSys commands for managing jobs, events, and global variables. It lists commands for checking the AutoSys and agent status, getting job reports and definitions, starting and controlling jobs, setting and deleting global variables, and displaying job dependencies and run history. The commands allow users to gracefully start, put on hold, force start, terminate, and set the status of jobs in AutoSys.

Uploaded by

pavanhugar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

AutoSys Basic commands quick reference

Command Alias Description

Event Processor
Mgmt

autosyslog -e Look event log ( Ctrl-C to come out )

chk_auto_up Checks if Autosys is running

autoping –m Checks remote agent is running


<machine>

autoping –m Checks DB connectivity of Agent


<machine> -D

Job Management

autorep –G <Global Gives value of Autosys Global Variable


variable>

autorep –J <job> [- jr Gives a report of Job. X=number of levels to drill down to


l<x>] <job>
[–l<x>]

autorep –J <job> -q jr Gives the job definition


<job>
–q

sendevent –E sj Gracefully starts a job, examines dependancies & status


STARTJOB –J <job>
<jobn>
sendevent –E onhold Puts a job on hold, dependencies enforced.
JOB_ON_HOLD -J <job>
<job>

Sendeve nt –E offhold Self explanatory


JOB_OFF_HOLD -J <job>
<job>

sendevent –E fsj Forces a Job re-start irrespective of dependencies or status


FORCE_STARTJOB <job>
-J <job>

sendevent –E onice Tells Autosys to 1. Not run the job 2. Act as if the job
JOB_ON_ICE -J <job> doesn’t exist.
<job>

sendevent –E office Self explanatory


JOB_OFF_ICE -J <job>
<job>

sendevent –E killjob Terminates a job


KILLJOB -J <job> <job>

sendevent –E success Sets job status to SUCCESS


CHANGE_STATUS – <job> Jobs can have following status:
s SUCCESS –J <job> INACTIVE, ACTIVATED, STARTING,
RUNNING, SUCCESS,
FAILURE, TERMINATED, RESTART, QUE_WAIT,
ON_HOLD, ON _ICE

sendevent –E Assigns value to an AutoSys global variable


SET_GLOBAL –G
<variable=”value”>

sendevent –E Deletes an AutoSys global variable


SET_GLOBAL –G
<variable>=DELETE

job_depends -d -J Displays Job dependencies


<job>

autorep -J <job> -l0 -r Displays job run history, n=run number [0-4]. By default
-n autosys keeps history of 5 runs

You might also like