SlideShare a Scribd company logo
http://datastage-venkat.blogspot.com/Autosys Job Scheduling Venkat Duvvuri
http://datastage-venkat.blogspot.com/The Unicenter AutoSys Job Management console provides:A single point of control for viewing one or all scheduling servers, allowing you to monitor and control jobs. A virtual console instead of a physical console, accessible from any Unicenter AutoSys Job Management machine. It means - you can bring up the console anywhere in your environment
http://datastage-venkat.blogspot.com/Autosys has an interface that is easy to master
http://datastage-venkat.blogspot.com/CA AutoSys WA provides distributed-hosted event driven automation that aligns workload execution with business policies to:Increase operational efficiency Improve productivity Increase availability of critical business services Manage costs and lower risk costs and lower risk
History:AutoSys was first developed by William Arntz and Walter Goodwin who created AutoSystems Corp to market it. The product was then sold to Platinum Technology International in 1995 (one of many systems management companies acquired by Platinum Technology that year). Platinum invested in new features and functionality including the Xpert and JobVision modules . In May 1999, Platinum was itself acquired by Computer Associates (CA) for 3.5 billion U.S. dollars, at that time the largest transaction in the history of the software industry. CA offered $29.25 per share, almost a three-to-one premium over Platinum's stock price of $9.875. In 2006 CA was the subject of intense media scrutiny as it became clear that a $2.2 billion accounting fraud had been orchestrated by chief executive Sanjay Kumar; however the popularity of the AutoSys product remained unaffected.William Arntz later became Producer, Director, Screenwriter, President at Captured Light, makers of cult film "What The Bleep".Walter Goodwin became founder and CEO of Stirling Systems Group, LLC and later Terma Software Labs . http://datastage-venkat.blogspot.com/
What is autosysAutoSys is used for defining, scheduling and monitoring jobs. These jobs can be a UNIX script,  java program or any other program which can be invoked from shell. Before starting we assume that user has already setup an AutoSys environment. This environment consists of autosys server and autosys client.http://datastage-venkat.blogspot.com/
And what is latest???http://datastage-venkat.blogspot.com/The current version is r11.0 and it has been GA since November 2007. This version comes with eIAM (Embedded Identity and Access management) security management module to secure access to scheduling resources.
Autosys components:1. Event server (AutoSys database)2. Event processor3. Remote agent Event Server: The event server is a AutoSys database which stores all system information and events as well as all job, monitor, and report definitions. Sometimes this database is also called as a data server, which actually describes a server instance. That is, it is either a UNIX or Windows process, and it is associated data space (or raw disk storage), that can include multiple databases or tablespaces.http://datastage-venkat.blogspot.com/
http://datastage-venkat.blogspot.com/Autosys components:Event Processor: This is main component of the autosys system. This processes all the events it reads from dataserver. The event processor is the program, running either as a UNIX process or as a Windows service that actually runs AutoSys. It schedules and starts jobs. When you start the event processor it continually scans the database for events to be processed. When it finds one, it checks whether the event satisfies the starting conditions for any job in the database.Remote Agent: On a UNIX machine, the remote agent is a temporary process started by the event processor to perform a specific task on a remote (client) machine. On a Windows machine, the remote agent is a Windows service running on a remote (client) machine that is directed by the event processor to perform specific tasks.The remote agent starts the command specified for a given job, sends running and completion information about a task to the event server, then exits. If the remote agent is unable to transfer the information, it waits and tries again until it can successfully communicate with the database.
http://datastage-venkat.blogspot.com/Latest Autosys components:Application Server: A new component which handles the Database connectivity for the AutoSys r11 clients, Command Line Utilities and the GUI's. It has a persistent connection to the DB to allow improved response speed. It also removes the requirement of having a global database user/password.Event Server: The DB containing the events. Differences from 4.5 include vendor library files for the Server and client components.
http://datastage-venkat.blogspot.com/Basic functionality of AutoSys
http://datastage-venkat.blogspot.com/Explanation The event processor scans the event server for the next event to process. If no event is ready, the event processor scans again in five seconds.The event processor reads from the event server that an event is ready. If the event is a STARTJOB event, the job definition and attributes are retrieved from the Event Server, including the command and the pointer (full path name on the client machine) to the profile file to be used for the job. In addition, for jobs running on Windows machines, the event processor retrieves from the database the user IDs and passwords required to run the job on the client machine.The event processor processes the event. If the event is a STARTJOB, the event processor attempts to establish a connection with the remote agent on the client machine, and passes the job attributes to the client machine.The event processor sends a CHANGE_STATUS event marking in the event server that the job is in STARTING state.
http://datastage-venkat.blogspot.com/Explanation On a UNIX machine, the inetd invokes the remote agent. On a Windows machine, the remote agent logs onto the machine as the user defined as the job’s owner, using the user IDs and passwords passed to it from the event processor.The remote agent sends an acknowledgment back to the event processor indicating that it has received the job parameters. The socket connection is terminated. At this point, the event processor resumes scanning the event server database, looking for events to process.The remote agent starts a process and executes the command in the job definition.The remote agent issues a CHANGE_STATUS event marking in the event server that the job is in RUNNING state.The client job process runs to completion, then returns an exit code to the remote agent and quits.
http://datastage-venkat.blogspot.com/Scheduler Replaces the Event Processor. A multi-threaded process which selects events from the Event Server and processes them. Changes from 4.5 include multiple event batching and dynamic thread creation.
http://datastage-venkat.blogspot.com/Autosys command line:Although Windows XP's "at" command or Korn shell's "cron" allows you to run job at desired time - It lacks enterprise level job scheduling features. PLATINUM Technology might fill this gap by AutoSys.
AutoSys is ...http://datastage-venkat.blogspot.com/A full job scheduling and management system for NT systems. Allows you create simple or complex sets of instructions to automatically execute at regular intervals. Allows you trigger jobs by date and time, file arrival, and other criteria.
http://datastage-venkat.blogspot.com/AutoSys is ...  Like any scheduling product, AutoSys automatically monitors your jobs. If needed, AutoSys can itself restart jobs that have failed, or cancelled, or were aborted for any reasons. For mission critical projects AutoSys also has a high availability option that will perform rollover of jobs to a backup server if your primary server fails. (Need clustering system like VCS - Veritas Clustering System). . .
http://datastage-venkat.blogspot.com/Defining autosys job:By Autosys Web interface By AutoSys Graphical User Interface (GUI). By using AutoSys Job Information Language (JIL) through a command-line interface.
http://datastage-venkat.blogspot.com/Autosys job types and structures:There are three types of jobs:Command, File Watcher Box.
http://datastage-venkat.blogspot.com/Box Jobs : Container of other jobs (including other boxes), and box itself performs no actions, although it can trigger other jobs to run. An important feature of this type of job is that boxes can be put inside of other boxesFile Watcher Jobs : Watch for the arrival of a specified file.
http://datastage-venkat.blogspot.com/Defining autosys job JIL stands for Job Information Language. Using this you can instruct autosys to save job definitions. This information saved in autosys database. You can also create a jil file which contains job definition. You can then pass this jil file to autosys.Essential attributes for defining job1. Job NameJIL Keyword : insert_job. Name used to identify the job.2. Job Typea. JIL Keyword : job_type. The job type is one of job types: command (c), file watcher (f) or box (b).3. Ownera. JIL Keyword : owner
http://datastage-venkat.blogspot.com/Defining autosys job The job owner specifies whose user ID the command will be run under on the client machine. This attribute is automatically set to the user who invoked jil or the GUI to define the job, and cannot be changed except by the edit superuser.Other job attributes:1. command: The command attribute can be the name of any command, executable, UNIX shell script or batch file, and its arguments.2. machine: This attribute specifies the client machine on which the command should be run.3. date_condition: The start date/time dependencies attribute is a toggle, which specifies whether or not there are date, time, or both, conditions required for starting the job.4. days_of_week: The days of the week attribute specifies the days on which the job should be run.
http://datastage-venkat.blogspot.com/Autosys CLI syntax:Here is a template file that explains the syntax of Autosys JIL. (Job Information Language.)
http://datastage-venkat.blogspot.com/Autoys jil Sample jil file for command job echoJob.jilinsert_job:echoJob machine:unixMachine owner:username command:echo “Hello this is command job”To add this job in atosys db. Run following command from unix:jil < echoJob.jilThis command will add “echoJob” job to autosys databse.
http://datastage-venkat.blogspot.com/Commands to control the job Start job commandsendevent –E FORCE_STARTJOB -J <job_name> sendevent -E STARTJOB -J <job_name>To put jobs on OFF ICE or ON ICEsendevent -E OFF_ICE -J <job_name> sendevent -E ON_ICE -J <job_name> sendevent -E KILLJOB –J "Job Name Here"
http://datastage-venkat.blogspot.com/Meaning of AutoSys status
http://datastage-venkat.blogspot.com/Autosys status abbreviation:The following table lists the abbreviations used in the ST (status) column of the autorep report, and gives the status for each abbreviation.AC=ACTIVATEDFA=FAILUREIN=INACTIVEOH=ON_HOLDOI=ON_ICEQU=QUE_WAITRE=RESTARTRU=RUNNINGST=STARTINGSU=SUCCESSTE=TERMINATED
http://datastage-venkat.blogspot.com/Autosys GUIUnicenter AutoSys Job Management is an industry standard job management system that provides exceptional reliability to support enterprise mission critical applications. Autosys is designed for distributed environments.
http://datastage-venkat.blogspot.com/Autosys GUIHere is a quick look at the GUI of Autosys. Although the screenshot is not very clear, still it gives you the idea that the GUI is more or less similar to standard Windows or KDE Applications.
http://datastage-venkat.blogspot.com/Autosys Responds to the following SignalsALARMCHANGE_PRIORITYCHANGE_STATUSCOMMENTDELETEJOBFORCE_STARTJOBJOB_OFF_HOLDJOB_OFF_ICEJOB_ON_HOLDJOB_ON_ICEKILLJOBSEND_SIGNALSET_GLOBALSTARTJOBSTOP_DEMON
http://datastage-venkat.blogspot.com/Where to find autosys errors:$AUTOSYS/out/DBMaint.out for DB problems. $AUTOUSER/out/event_demon.$AUTOSERV. $SYBASE/install/errorlog_$DSQUERY when event server will not start.. ($AUTOUSER/out/event_demon.ACE). /tmp files created for job_run at client machine. NT: AutoNuTc\lib/X11\app-defaults\xpert. Output from the job definition output & error files.
http://datastage-venkat.blogspot.com/Autosys dependencies:done(job). exitcode(job) > 5 and exitcode(job_b) != 10. failure(job_a) or f (job_b). notrunning (job). success (job) and s(job_b). terminated(job).        value(global_name)=100
http://datastage-venkat.blogspot.com/ThanQVenkat Duvvuri

More Related Content

PPTX
PDF
EMC Documentum - xCP 2.x Installation and Deployment
PDF
Building infrastructure as code using Terraform - DevOps Krakow
PDF
Cloud Native Application
PDF
Unlocking the Cloud Operating Model: People, Process, Tools
PPTX
VMware vSphere technical presentation
PDF
Terraform
PDF
Auto Scaling Groups
EMC Documentum - xCP 2.x Installation and Deployment
Building infrastructure as code using Terraform - DevOps Krakow
Cloud Native Application
Unlocking the Cloud Operating Model: People, Process, Tools
VMware vSphere technical presentation
Terraform
Auto Scaling Groups

What's hot (20)

PDF
Terraform
PDF
Modern Application Configuration in Kubernetes
PDF
To CUP, or Not to CUP? That is the (FICON) Question! pro Dr. Steve Guendert
DOCX
IBM websphere application server types of profiles
PPTX
Ansible presentation
PPTX
EMC Documenutm xCP 2.2 vs 1.x
PDF
Data Virtualization Manager for z/OS
PPTX
GDPS and System Complex
PPTX
SCWCD : Thread safe servlets : CHAP : 8
PDF
Oracle 12cR2 Installation On Linux With ASM
PDF
DevOps with Ansible
PPTX
Introduction To Terraform
PDF
Kubernetes Deployment Tutorial | Kubernetes Tutorial For Beginners | Kubernet...
PDF
Presentation db2 connections to db2 for z os
PPTX
Terraform
PDF
Introduction to JADE (Java Agent DEvelopment) Framework
PPTX
Terraform
PDF
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
PDF
Terraform Best Practices - DevOps Unicorns 2019
PDF
Modelos de Referência-BIAN
Terraform
Modern Application Configuration in Kubernetes
To CUP, or Not to CUP? That is the (FICON) Question! pro Dr. Steve Guendert
IBM websphere application server types of profiles
Ansible presentation
EMC Documenutm xCP 2.2 vs 1.x
Data Virtualization Manager for z/OS
GDPS and System Complex
SCWCD : Thread safe servlets : CHAP : 8
Oracle 12cR2 Installation On Linux With ASM
DevOps with Ansible
Introduction To Terraform
Kubernetes Deployment Tutorial | Kubernetes Tutorial For Beginners | Kubernet...
Presentation db2 connections to db2 for z os
Terraform
Introduction to JADE (Java Agent DEvelopment) Framework
Terraform
z16 zOS Support - March 2023 - SHARE in Atlanta.pdf
Terraform Best Practices - DevOps Unicorns 2019
Modelos de Referência-BIAN
Ad

Viewers also liked (7)

PPTX
Autosys Complete Guide
PDF
Best Practices with CA Workload Automation AutoSys (AE)
PDF
Upgrade and Unleash the Power of CA Workload Automation AutoSys (AE) and CA W...
PPTX
Oracle DBA Admin Add-on Tools
PDF
[UC4] Version and Automate Everything
PDF
How to Configure the CA Workload Automation System Agent agentparm.txt File
PPTX
Advanced Dimensional Modelling
Autosys Complete Guide
Best Practices with CA Workload Automation AutoSys (AE)
Upgrade and Unleash the Power of CA Workload Automation AutoSys (AE) and CA W...
Oracle DBA Admin Add-on Tools
[UC4] Version and Automate Everything
How to Configure the CA Workload Automation System Agent agentparm.txt File
Advanced Dimensional Modelling
Ad

Similar to Unicenter Autosys Job Management (20)

DOCX
10 resource kit remote administration tools
PPT
Free tools for win server administration
PPTX
3 App Compat Win7
PPT
Vistapresentation2
PPTX
Plug-and-Produce based on Standardized Industrie 4.0 Asset Admin Shells
PPT
Tech Ed 2008 Israel Server Management 360
PDF
Resilient Integration to QRadar Advisor (1).pdf
PPT
Asp.net tips
DOCX
Autosys Trainer CV
PPTX
Windows Server 2008 Management
PPTX
Windows Server 2008 Management
DOCX
Web based booking a car taxi5
PDF
Microsoft operations management_suite_resources
PPT
Intrusion Discovery on Windows
PPTX
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
PDF
"Wie passen Serverless & Autonomous zusammen?"
PPTX
Best free tools for w d a
PPTX
Best free tools for win database admin
PPT
SynapseIndia dotnet website security development
PPTX
ab-initio-training basics and architecture
10 resource kit remote administration tools
Free tools for win server administration
3 App Compat Win7
Vistapresentation2
Plug-and-Produce based on Standardized Industrie 4.0 Asset Admin Shells
Tech Ed 2008 Israel Server Management 360
Resilient Integration to QRadar Advisor (1).pdf
Asp.net tips
Autosys Trainer CV
Windows Server 2008 Management
Windows Server 2008 Management
Web based booking a car taxi5
Microsoft operations management_suite_resources
Intrusion Discovery on Windows
Building workflow solution with Microsoft Azure and Cloud | Integration Monday
"Wie passen Serverless & Autonomous zusammen?"
Best free tools for w d a
Best free tools for win database admin
SynapseIndia dotnet website security development
ab-initio-training basics and architecture

Recently uploaded (20)

PDF
Approach and Philosophy of On baking technology
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Mushroom cultivation and it's methods.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
project resource management chapter-09.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
Approach and Philosophy of On baking technology
NewMind AI Weekly Chronicles - August'25-Week II
Mushroom cultivation and it's methods.pdf
OMC Textile Division Presentation 2021.pptx
A novel scalable deep ensemble learning framework for big data classification...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
TLE Review Electricity (Electricity).pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Building Integrated photovoltaic BIPV_UPV.pdf
DP Operators-handbook-extract for the Mautical Institute
Hindi spoken digit analysis for native and non-native speakers
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
project resource management chapter-09.pdf
WOOl fibre morphology and structure.pdf for textiles

Unicenter Autosys Job Management

  • 2. http://datastage-venkat.blogspot.com/The Unicenter AutoSys Job Management console provides:A single point of control for viewing one or all scheduling servers, allowing you to monitor and control jobs. A virtual console instead of a physical console, accessible from any Unicenter AutoSys Job Management machine. It means - you can bring up the console anywhere in your environment
  • 4. http://datastage-venkat.blogspot.com/CA AutoSys WA provides distributed-hosted event driven automation that aligns workload execution with business policies to:Increase operational efficiency Improve productivity Increase availability of critical business services Manage costs and lower risk costs and lower risk
  • 5. History:AutoSys was first developed by William Arntz and Walter Goodwin who created AutoSystems Corp to market it. The product was then sold to Platinum Technology International in 1995 (one of many systems management companies acquired by Platinum Technology that year). Platinum invested in new features and functionality including the Xpert and JobVision modules . In May 1999, Platinum was itself acquired by Computer Associates (CA) for 3.5 billion U.S. dollars, at that time the largest transaction in the history of the software industry. CA offered $29.25 per share, almost a three-to-one premium over Platinum's stock price of $9.875. In 2006 CA was the subject of intense media scrutiny as it became clear that a $2.2 billion accounting fraud had been orchestrated by chief executive Sanjay Kumar; however the popularity of the AutoSys product remained unaffected.William Arntz later became Producer, Director, Screenwriter, President at Captured Light, makers of cult film "What The Bleep".Walter Goodwin became founder and CEO of Stirling Systems Group, LLC and later Terma Software Labs . http://datastage-venkat.blogspot.com/
  • 6. What is autosysAutoSys is used for defining, scheduling and monitoring jobs. These jobs can be a UNIX script,  java program or any other program which can be invoked from shell. Before starting we assume that user has already setup an AutoSys environment. This environment consists of autosys server and autosys client.http://datastage-venkat.blogspot.com/
  • 7. And what is latest???http://datastage-venkat.blogspot.com/The current version is r11.0 and it has been GA since November 2007. This version comes with eIAM (Embedded Identity and Access management) security management module to secure access to scheduling resources.
  • 8. Autosys components:1. Event server (AutoSys database)2. Event processor3. Remote agent Event Server: The event server is a AutoSys database which stores all system information and events as well as all job, monitor, and report definitions. Sometimes this database is also called as a data server, which actually describes a server instance. That is, it is either a UNIX or Windows process, and it is associated data space (or raw disk storage), that can include multiple databases or tablespaces.http://datastage-venkat.blogspot.com/
  • 9. http://datastage-venkat.blogspot.com/Autosys components:Event Processor: This is main component of the autosys system. This processes all the events it reads from dataserver. The event processor is the program, running either as a UNIX process or as a Windows service that actually runs AutoSys. It schedules and starts jobs. When you start the event processor it continually scans the database for events to be processed. When it finds one, it checks whether the event satisfies the starting conditions for any job in the database.Remote Agent: On a UNIX machine, the remote agent is a temporary process started by the event processor to perform a specific task on a remote (client) machine. On a Windows machine, the remote agent is a Windows service running on a remote (client) machine that is directed by the event processor to perform specific tasks.The remote agent starts the command specified for a given job, sends running and completion information about a task to the event server, then exits. If the remote agent is unable to transfer the information, it waits and tries again until it can successfully communicate with the database.
  • 10. http://datastage-venkat.blogspot.com/Latest Autosys components:Application Server: A new component which handles the Database connectivity for the AutoSys r11 clients, Command Line Utilities and the GUI's. It has a persistent connection to the DB to allow improved response speed. It also removes the requirement of having a global database user/password.Event Server: The DB containing the events. Differences from 4.5 include vendor library files for the Server and client components.
  • 12. http://datastage-venkat.blogspot.com/Explanation The event processor scans the event server for the next event to process. If no event is ready, the event processor scans again in five seconds.The event processor reads from the event server that an event is ready. If the event is a STARTJOB event, the job definition and attributes are retrieved from the Event Server, including the command and the pointer (full path name on the client machine) to the profile file to be used for the job. In addition, for jobs running on Windows machines, the event processor retrieves from the database the user IDs and passwords required to run the job on the client machine.The event processor processes the event. If the event is a STARTJOB, the event processor attempts to establish a connection with the remote agent on the client machine, and passes the job attributes to the client machine.The event processor sends a CHANGE_STATUS event marking in the event server that the job is in STARTING state.
  • 13. http://datastage-venkat.blogspot.com/Explanation On a UNIX machine, the inetd invokes the remote agent. On a Windows machine, the remote agent logs onto the machine as the user defined as the job’s owner, using the user IDs and passwords passed to it from the event processor.The remote agent sends an acknowledgment back to the event processor indicating that it has received the job parameters. The socket connection is terminated. At this point, the event processor resumes scanning the event server database, looking for events to process.The remote agent starts a process and executes the command in the job definition.The remote agent issues a CHANGE_STATUS event marking in the event server that the job is in RUNNING state.The client job process runs to completion, then returns an exit code to the remote agent and quits.
  • 14. http://datastage-venkat.blogspot.com/Scheduler Replaces the Event Processor. A multi-threaded process which selects events from the Event Server and processes them. Changes from 4.5 include multiple event batching and dynamic thread creation.
  • 15. http://datastage-venkat.blogspot.com/Autosys command line:Although Windows XP's "at" command or Korn shell's "cron" allows you to run job at desired time - It lacks enterprise level job scheduling features. PLATINUM Technology might fill this gap by AutoSys.
  • 16. AutoSys is ...http://datastage-venkat.blogspot.com/A full job scheduling and management system for NT systems. Allows you create simple or complex sets of instructions to automatically execute at regular intervals. Allows you trigger jobs by date and time, file arrival, and other criteria.
  • 17. http://datastage-venkat.blogspot.com/AutoSys is ... Like any scheduling product, AutoSys automatically monitors your jobs. If needed, AutoSys can itself restart jobs that have failed, or cancelled, or were aborted for any reasons. For mission critical projects AutoSys also has a high availability option that will perform rollover of jobs to a backup server if your primary server fails. (Need clustering system like VCS - Veritas Clustering System). . .
  • 18. http://datastage-venkat.blogspot.com/Defining autosys job:By Autosys Web interface By AutoSys Graphical User Interface (GUI). By using AutoSys Job Information Language (JIL) through a command-line interface.
  • 19. http://datastage-venkat.blogspot.com/Autosys job types and structures:There are three types of jobs:Command, File Watcher Box.
  • 20. http://datastage-venkat.blogspot.com/Box Jobs : Container of other jobs (including other boxes), and box itself performs no actions, although it can trigger other jobs to run. An important feature of this type of job is that boxes can be put inside of other boxesFile Watcher Jobs : Watch for the arrival of a specified file.
  • 21. http://datastage-venkat.blogspot.com/Defining autosys job JIL stands for Job Information Language. Using this you can instruct autosys to save job definitions. This information saved in autosys database. You can also create a jil file which contains job definition. You can then pass this jil file to autosys.Essential attributes for defining job1. Job NameJIL Keyword : insert_job. Name used to identify the job.2. Job Typea. JIL Keyword : job_type. The job type is one of job types: command (c), file watcher (f) or box (b).3. Ownera. JIL Keyword : owner
  • 22. http://datastage-venkat.blogspot.com/Defining autosys job The job owner specifies whose user ID the command will be run under on the client machine. This attribute is automatically set to the user who invoked jil or the GUI to define the job, and cannot be changed except by the edit superuser.Other job attributes:1. command: The command attribute can be the name of any command, executable, UNIX shell script or batch file, and its arguments.2. machine: This attribute specifies the client machine on which the command should be run.3. date_condition: The start date/time dependencies attribute is a toggle, which specifies whether or not there are date, time, or both, conditions required for starting the job.4. days_of_week: The days of the week attribute specifies the days on which the job should be run.
  • 23. http://datastage-venkat.blogspot.com/Autosys CLI syntax:Here is a template file that explains the syntax of Autosys JIL. (Job Information Language.)
  • 24. http://datastage-venkat.blogspot.com/Autoys jil Sample jil file for command job echoJob.jilinsert_job:echoJob machine:unixMachine owner:username command:echo “Hello this is command job”To add this job in atosys db. Run following command from unix:jil < echoJob.jilThis command will add “echoJob” job to autosys databse.
  • 25. http://datastage-venkat.blogspot.com/Commands to control the job Start job commandsendevent –E FORCE_STARTJOB -J <job_name> sendevent -E STARTJOB -J <job_name>To put jobs on OFF ICE or ON ICEsendevent -E OFF_ICE -J <job_name> sendevent -E ON_ICE -J <job_name> sendevent -E KILLJOB –J "Job Name Here"
  • 27. http://datastage-venkat.blogspot.com/Autosys status abbreviation:The following table lists the abbreviations used in the ST (status) column of the autorep report, and gives the status for each abbreviation.AC=ACTIVATEDFA=FAILUREIN=INACTIVEOH=ON_HOLDOI=ON_ICEQU=QUE_WAITRE=RESTARTRU=RUNNINGST=STARTINGSU=SUCCESSTE=TERMINATED
  • 28. http://datastage-venkat.blogspot.com/Autosys GUIUnicenter AutoSys Job Management is an industry standard job management system that provides exceptional reliability to support enterprise mission critical applications. Autosys is designed for distributed environments.
  • 29. http://datastage-venkat.blogspot.com/Autosys GUIHere is a quick look at the GUI of Autosys. Although the screenshot is not very clear, still it gives you the idea that the GUI is more or less similar to standard Windows or KDE Applications.
  • 30. http://datastage-venkat.blogspot.com/Autosys Responds to the following SignalsALARMCHANGE_PRIORITYCHANGE_STATUSCOMMENTDELETEJOBFORCE_STARTJOBJOB_OFF_HOLDJOB_OFF_ICEJOB_ON_HOLDJOB_ON_ICEKILLJOBSEND_SIGNALSET_GLOBALSTARTJOBSTOP_DEMON
  • 31. http://datastage-venkat.blogspot.com/Where to find autosys errors:$AUTOSYS/out/DBMaint.out for DB problems. $AUTOUSER/out/event_demon.$AUTOSERV. $SYBASE/install/errorlog_$DSQUERY when event server will not start.. ($AUTOUSER/out/event_demon.ACE). /tmp files created for job_run at client machine. NT: AutoNuTc\lib/X11\app-defaults\xpert. Output from the job definition output & error files.
  • 32. http://datastage-venkat.blogspot.com/Autosys dependencies:done(job). exitcode(job) > 5 and exitcode(job_b) != 10. failure(job_a) or f (job_b). notrunning (job). success (job) and s(job_b). terminated(job). value(global_name)=100