AutoSys Job Scheduler
AutoSys is a job scheduler used for defining jobs, which helps in controlling and monitoring processes. The jobs can be created using batch programs or UNIX scripts.
AutoSys jobs can set on a LINUX/ UNIX or a Window machine. For setting a job, you need access to AutoSys prompt. On a Windows machine, you can define the job in the command prompt, whereas, on a Linux machine you have to define a job using the terminal.
Ways to Create Jobs in AutoSys
To create a job in this job scheduler, you can either use Job Information Language (JIL), or the AutoSys graphical user interface (GUI).
Job Information Language (JIL)
JIL is the standard scripting language used for defining AutoSys job, like all programming languages, JIL also comes with some predefined keywords and attributes.
The graphical user interface of GUI broadly consists of JIL subcommands and is built using JAVA.
The key thing while defining a job in AutoSys is that you need to figure out the conditions and then define the job using the subcommand and attributes, and once you are done, you need to schedule a time during which the job is going to get triggered. Once the process of defining a job is complete, make sure to check out the security parameters.
How to write an AutoSys Job?
AutoSys jobs can only be supported on a Windows or Linux computer. To define a job on a Windows or Linux machine, please follow the steps given below-
If you are using a Windows machine, then click on the Start button, then go “All Programs”, look for “CA Workload Automation” and then click on CA prompt window.
But if in case, you are using a Linux machine, then you can search of the “CA Prompt Window” using the finder.
Now, your task will be to get access to the JIL prompt, so once the prompt window pops up type “jil”.
Defining a Job in AutoSys
When a job is defined, certain boundaries are checked, the first and foremost are the syntax, if you use an incorrect syntax, your program is not going to run, the second thing is checking the conditions and then defining the attributes. And lastly, setting a schedule date or time for the job to get activated.
To issue a job using JIL, please follow the given procedure:-
- First, open an editor, for writing the JIL codes.
- Now specify the JIL subcommands:
- insert_job: job_name
- job_type: job_type
- machine: unixagent
- owner: [email protected]
- date_conditions: date/time
- command: bin/file_name.ext
- autorep – used for getting information of various elements like jobs, machines, variables, etc.
- chase – gives a detailed info about the conditions of various jobs
- autoping – checks whether the server and the client’s machine are connected or not.
- Autostatus –j job_name – lets users check the condition of a particular job.
- chk_auto_up – helps in getting information of the job to know whether it is getting the process or not from the database.
- sendevent – allows a user to directly initiate the status of the job in a client’s machine.
- jil –v syntax < file_name.ext – checks whether the syntax defined in the file are correct or not.
- Autosys_secure – helps in modifying certain key aspects of a database.
How did you like this Tutorial on AutoSys Job Scheduler? Please Share and let your friends know about it if you liked it.