The Post 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 that is only available in the objects "FileTransfer", "Job" and "RemoteTaskManagerIt monitors and controls external Jobs that were not started by the Automation Engine (AE). An AE object type. [Formerly called "QueueManager."]". Processing commands can here be stored in AE's scriptA particular Automation Engine object type. 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 script commands stored in this tab are processed after the jobAn Automation Engine object type for a process that runs on a target system. 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 codeThe value that represents the result of tasks and script functions. and statusThis represents the condition of a task (such as active, blocked, generating). 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 variableA placeholder for a value within a script. in the Process tab.
A job's post script cannot contain JCL lines.
Post-Process commands are NOT executed in cases of ENDED_LOST taskAn executable object that is running. Tasks are also referred to as activities. statuses.
Additionally, the following script elements must not be used:
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 |