In my previous article i have given the idea about unix tutorials as well as interview questions of different companies for SQL. This article will give you brief idea about the Autosys Interview Questions with answers.AutoSys is an automated job control system for scheduling, monitoring, and reporting. These jobs can reside on any AutoSys-configured machine that is attached to a network.Following are some important Autosys Interview Questions :
Answer :
A definition you create that instructs the system what command, executable, or batch file to run. A job is any single command, executable, script, or Windows batch file. Each job definition contains a variety of qualifying attributes, including the conditions specifying when and where a job should be run.
Answer :
There are two ways by which we can define a job in Autosys.
Answer :
JIL stands for Job Information Language.
JIL is a specification language, with its own syntax, that is used to describe when, where, and how a job should run. When you enter the jil command, you get the jil command prompt, at which you can enter the job definitions one line at a time using this special language. When you exit the jil command-line interface, the job definition is loaded into the database. Alternatively, you can enter the definition as a text file and redirect the file to the jil command. In this case, the jil command activates the language processor, interprets the information in the text file, and loads this information in the database.
Answer :
The job has not yet been processed. Either the job has never been run, or its status was intentionally altered to turn off its previous completion status.
Answer :
When a job is put on hold, it will not be run until it receives the JOB_OFF_HOLD event or FORCE START. ON_HOLD is equivalent to stop the current execution process.
Example: There are 4 jobs, say Job A, Job B, Job C and Job D. Consider all these jobs reside in a box job named box_1. The box job is started now. After starting the box job user immediately realized that there is a mistake in command script name in Job C. So, he put the Job C ON HOLD before it starts. Thus, he ensures the job will run proper way.
Answer :
This job is removed from all conditions and logic, but is still defined. Operationally, this condition is like deactivating the job. It will remain on ice until it receives the JOB_OFF_ICE event.
Please remember that the job which is defined after the job ON_ICE, will immediately start even though some conditions are specified for that job with the previous one. This is the important note about ON_ICE.
Answer :
The difference between on hold and on ice is that when an on hold job is taken off hold, if its starting conditions are already satisfied, it will be scheduled to run, and it will run. On the other hand, if an on ice job is taken off ice, it will not start, even if its starting conditions are already satisfied. This job will not run until its starting conditions reoccur. The other major distinction is that jobs downstream from the job that is on ice will run as though the job succeeded. Whereas, all dependent jobs do not run when a job is in on hold—nothing downstream from this job will run.
Answer :
The top-level box that this job is in is now in the RUNNING state, but the job itself has not started yet. You can see the status of the job when you have just started the Box job of that particular job.
Answer :
The job is ready and going to start. The event processor has initiated the start job procedure with the remote agent
Answer :
The job is running. The job is processing data. The job will be in running status until it process the data. If the job is a box job, this value simply means that the jobs within the box are running. If it is a command or file watcher job, the value means that the process is actually running on the remote machine.
Answer :
If the job exited with an exit code 0, then that job is interpreted as success. However, a range of values up to the maximum exit code for success can be reserved for each job to be interpreted as success. If the job is a box job, this value means that all the jobs within the box have finished with the status SUCCESS (the default), or the Exit Condition for Box Success evaluated to true.
Answer :
The job exited with an exit code greater than the maximum exit code for success. By default, any number greater than zero is interpreted as failure. If the job is a box job, a FAILURE status means either that at least one job within the box exited with the status FAILURE (the default), or that the Exit Condition for Box Failure evaluated to true. Unicenter AutoSys JM issues an alarm if a job fails.
Answer :
A job can be terminated if a user sends a KILLJOB event or if it was defined to terminate if the box it is in failed. If the job itself fails, it has a FAILURE status, not a TERMINATED status. A job may also be terminated if it has exceeded the maximum runtime (term_run_time attribute, if one was specified for the job), or if it was killed from the command line through a UNIX kill command. Unicenter AutoSys JM issues an alarm if a job is terminated.
Answer :
The job was unable to start due to hardware or application problems, and has been scheduled to restart.
Answer :
The job can logically run (that is, all the starting conditions have been met), but there are not enough machine resources available. The job will start only if it has adequate resources to process.
Answer :
insert_job: jobname
job_type: c
box_name: which box holds this job
description: What the job is doing
machine: servername
permission: gx,wx
owner: account
command: batch_file or Script
std_out_file: “c:AutoSysLogTest.log”
std_err_file: “c:AutoSysLogTest.Err.log”
min_run_alarm: 0
max_run_alarm: 30
job_terminator: yes
box_terminator: yes
Answer :
The term instance is used to represent a licensed version of Unicenter AutoSys JM and at least one client machine running a unique Remote Agent. In reality, the operation is likely to have dozens of Remote Agents communicating concurrently with the same database. Any status changes or service requests posted to the database are called Events.
Answer :
The GUI lets you interactively set the attributes that describe when, where, and how a job should run. You create job definitions using the GUI Control Panel and the dialogs you can launch from it.
The fields in the GUIs correspond to the AutoSys JIL sub-commands and attributes. In addition, from the GUI Control Panel, you can open applications that lets you define calendars, monitors, and reports, and let you monitor and manage jobs.
Answer :
There are three types of Unicenter AutoSys JM jobs:
Answer :
Answer :
Feature of a Box job:
Answer :
In Autosys, there is a command called date_conditions which enables the run calendar and start time. If date_conditions=1 then the above parameters will be enabled and if date_conditions=0, the parameters will be disabled. Thus, while executing the JIL, date_conditions=0 needs to be set for a job to remove the run calendar and start times
Answer :
Machine name is not needed for a Box job. Machine name is need for other types of jobs like commands and file watchers. Machine name is primarily required to run the script. Since Box job is the holder of other jobs and it does nothing in the execution process, Machine name is not required for a box job.
Answer :
delete_box: box_name command is used to delete the box. This command will delete all the inner jobs of the box job also. To delete the box job alone leaving its content jobs intact, you have to render delete_job: box_name.
Answer :
delete_job: job_name command is used to delete the job. In order to delete a job, you need to simply give delete_job command. No more commands or attributes are needed for deleting.
Answer :
Answer :
Answer :
Autosys determines whether to start or not to start a job based on the evaluation of the starting conditions (or starting parameters) defined for the job.
These conditions can be one or more of the following:
Every time an event changes any of the above conditions, Autosys finds all the jobs that may be affected by this change, and determines whether or not to start them.
Answer :
Autosys keeps track of the current status of every job. Following are the statuses –
Answer :
It has server–client architecture and requires 3rd party database or bundled version of Sybase.
These are some important questions of Autosys.This article on Autosys Interview Questions will be useful for all the developers who wants to use autosys for scheduling purpose.Please comment in comment section for suggestions .
In my previous articles I have given the roles and responsibilities of L1,L2 and L3…
In my previous articles i have given the hierarchy of production support in real company…
In this article i would like to provide information about production support organization structure or…
In my previous article I have given roles for L1 and L2 support engineer with…
I have started this new series of how to become application support engineer. This article…
In this series we are starting with Roles and responsibilities of L1 support engineer .…