The following illustration shows the different stages of job processing in detail.
Activation |
|
|
|
|
|
---|---|---|---|---|---|
RunID is created |
Generation |
||||
Job appears in the Activity Window | AE Script is executed in the Pre-Process and Process tab |
Transfer |
|||
Final JCL is generated | JCL is transferred to the agent |
Execution |
|||
Job is executed |
Transfer |
||||
Runtime commences | Report is transferred to the Automation Engine |
Post Process |
|||
|
Post Process is executed (if available) |
Some checks are made before the job is executed in the order shown below :
When an agent ends and is then restarted, it obtains the whole restart information from the Server - i.e. about all jobs that were being executed at the time the agent ended. Of course, jobs might have ended during the agent's downtime. The agent starts searching for jobs in the process lists of the particular operating system. If it does not find a job anymore, it searches for its report file in the temporary directory and retrieves the point in time when the particular job has ended and its return code. If the agent is not able to find any information, the job status changes to "V - status vanished".
See also:
Sample Collection - Setting End Status depending on Report Content