User Guide > Objects > Alphabetical Listing > Post-Process Tab

Post-Process Tab

The Post Process tab is an object type-specific tab that is only available in the objects "FileTransfer", "Job" and "RemoteTaskManager". Processing commands can here be stored in AE's script language.

Object: Job
Object class:
Executable object
Object type (short name):
JOBS

Description

The script commands stored in this tab are processed after the job has ended. Therefore, the job must have run in the target system either completely (ended normally) or partially (canceled, lost etc.).

A job's end can still be influenced with post-script commands. The job's return code and status text (the text supplied by the Job Messenger in the Trailer) can be modified subsequently, for example. The script statement :MODIFY_STATE - which was developed exclusively for being used in the Post Process tab - defines the final ending of the job.

Reports, for example, can be analyzed with PREP_PROCESS_REPORT. If an error is found, the status ENDED_NOT_OK could be defined for a job although it has already ended normally from the "technical" point of view and vice versa. Return code "0" is assigned to canceled jobs because the fact that the job has been canceled irrelevant for the further processing.

With the script statement :RSET, script variables can be transferred between the Process and Post Process tabs. This script statement returns the value which has been assigned to the script variable in the Process tab.

A job's post script cannot contain JCL lines.

Post-Process commands are NOT executed in cases of ENDED_LOST task statuses.

Additionally, the following script elements must not be used:

 

See also:

Script Editor
About AE Scripts
Sample Collection