Process Pages

As a developer and object designer you add functional logic to your objects on their Process pages using the Automation Engine scripting language. All executable objects have at least a Process page. Some object types have additional pre-process, post-process and child-post process pages.

Notes:

This page includes the following:

Process Page

The Process page is available in all executable objects.

In JMX, PeopleSoft, SAP and SQL Jobs, you have two options to create scripts:

For more information, see Forms View on the Process Page.

Platform-Specific Information

See also Configuring Include Objects for External Interpreter Calls.

Pre-Process Page

Available for Job objects (JOBS) only. Here you enter statements that prepare the Job for execution on the Pre-Process page. For example, use the :PUT_ATT statement to set attributes such as the Agent for the Job.

The Pre-Process and Process pages are processed simultaneously.

Pre-Process statements are executed in the job header, which means that you can add statements that are executed before the Job Messenger gets involved in the execution. For details on the Job Messenger, see Agent Job Messenger.

Tip: You can use the :INC_SCRIPT script statement to insert the content of this page on any other Process page.

Additional Information for z/OS

On the Pre-Process page, you can define all JCL commands (e.g. JCLLIB, JOBCAT, JOBLIB, OUTPUT etc. ) that must be defined after the job card but before the script first step.

The Event Monitor only considers steps on the Pre-Process page if the first step has the same name as the Automation Engine system. Otherwise, canceled pre-processing job steps do not affect the end status of an Automation Engine job.

Example

In this example, the name of the Automation Engine system is UC4PROD.

Pre-Process page

//JOBLIB DD DISP=SHR,DSN=.....

// DD DISP=SHR,DSN=....

//UC4PROD EXEC PGM=modname

Process page

//STEP01 EXEC PGM=IEFBR14

//STEP01 EXEC PGM=IEBGENER

Post Process Page

Available for Job objects (JOBS) only: scripts on the Post Process page are processed after the job has ended. These scripts are processed when the job is has finished normally, or ended after partial completion, such as when the job is canceled. Post-processing commands let you influence how a job ends.

Tips: 

Notes:

Child Post-Process Page

SAP and PeopleSoft jobs have an additional Child Post Process page. This is because SAP and PeopleSoft jobs usually contain statements that start multiple processes (sub jobs) in the target systems. This job structure is replicated in the Automic Web Interface. The SAP or PeopleSoft job you create in the Automation Engine is the parent of those sub jobs (child processes) and serves as their container.

The script you enter on the Child Post-Process page is processed for each individual child process immediately after it has finished.

See also: