How jobs are processed
In order to understand advanced job interaction, you should first understand how jobs are processed and what techniques can be used to add to that process. This list illustrates the order that job lists are processed and the type of advanced job processing that can be performed using these lists.
- Job is initiated - A job can be initiated either by a start time, a submit command or another jobs initiate list
- Prerequisites - The first step of a job is the processing of the prerequisites list. The prerequisite job checks to see if the prerequisites have successfully executed. If all prerequisites have been executed, the next step occurs. The prerequisite list can include IF statements that include or exclude particular jobs.
- Resources - The resource list is where the bulk of advanced job programming occurs. Here IF-THEN statements are processed that can check or alter the value of a variable, suppress a job run or cause a wait to occur. These techniques will prove very useful.
- Job is run - The job is submitted using the attributes assigned for the job.
- End Action - The end action list contains post job processing that occurs whether or not the job is successful. The end action list can include IF-THEN statements that checks or alters the value of a variable.
- Initiates - The initiates list contains the jobs that will be executed upon successful completion of the current job. The initiate list can include IF statements include or exclude particular jobs. Other conditions can also be used to control the next job step.