Inside Automation Engine > Job > Stages of Job Processing

Stages of Job Processing

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 :

  1. Was the job canceled in the meantime?
  2. Should the job be started manually?
  3. Does job execution depend on Sync objects?
  4. Was the maximum number of jobs reached that may run parallel on the agent?
  5. Is the agent active?

Finding Jobs After Agent Downtime

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