The Pre Process tab is an object typeAn individual object is provided for the individual activities: There are User, UserGroup, Notification, Cockpit, CodeTable, Documentation, Event, Agent, FileTransfer, Group, Include, Job, Workflow, Calendar, Login, Client, RemoteTaskManager, Schedule, Script, Server, Sync, Variable and TimeZone objects-specific tab which is only available in "Job" objects. It can be used to store processing commands in AE's scripting language.
Object: Job
Object class: Executable objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task
Object type
(short name): JOBS
The scriptA particular Automation Engine object type. is either processed when the jobAn Automation Engine object type for a process that runs on a target system. is activated or when it starts. The particular point in time depends on the setting "Generate at runtimeThe duration of a task's execution. It refers to the period between a task's start and end. It does not include its activation period (see also: activation and start)." which can be activated in the Attributes tab.
As opposed to the Process tab, the Pre-Process tab's processing commands are processed in the header. Thus, statements can be used here which are executed before the Job Messenger becomes involved.
The Pre Process and Process tabs are processed in one go. This means that it is possible to set script variables in the Pre-Process tab which can also be accessed in the Process tab.
The script statement :INC_SCRIPT can be used to insert the Pre-Process tab's content somewhere else.
Particularities for z/OS
In Pre Process, you can define all JCL commands (e.g. JCLLIB, JOBCAT, JOBLIB, OUTPUT etc. ) which must be defined after the job card but before the script's first step.
The Event Monitor only considers Pre-Process tab steps if this tab's first step has the same name as the AE system. Otherwise, canceled Pre-Process job steps do not affect an AE job's end statusThis represents the condition of a task (such as active, blocked, generating)..
Example:
Name of the AE system: UC4PROD
Pre-Process tab:
//JOBLIB DD DISP=SHR,DSN=.....
// DD DISP=SHR,DSN=....
//UC4PROD EXEC PGM=modname
Process:
//STEP01 EXEC PGM=IEFBR14
//STEP01 EXEC PGM=IEBGENER
See also:
Script Editor
About AE Scripts
Sample Collection
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |