Return codes in VMS differ from those in AE. Value "1" in VMS signals that a jobAn Automation Engine object type for a process that runs on a target system. has successfully been processed. "0" stands for warnings. In AE, it is the opposite way round. Return code "0" stands for a successful execution and values other than "0" signal errors.
If the agentA program that enables the de-centralized execution of processes (such as deployments) on target systems (computers or business solutions) or a service that provides connectivity to a target system (such as for databases or middleware). An agent is also an object type in the Automation Engine. [Formerly called "Executor."] See also: host sends return codeThe value that represents the result of tasks and script functions. "0" to the AE system, this equals code "1" in AE.
Warnings and successful job executions cannot be distinguished. Automic strongly recommends analyzing the variableIt stores or retrieves values dynamically at runtime. An individual Automation Engine object type. $severity whenever a VMS command has been processed. It contains the return code of the last command. Further job processing can then be handled via scriptA particular Automation Engine object type..
Use an Include objectAn Automation Engine object type for a script that is frequently used in more than one object. for analyzing the variable $severity. In doing so, the relevant script lines must only be maintained in one objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task and can be included in any job.
Example for an Include object:
$ RETCODE = $severity
$ if (RETCODE .EQ. 0)
$ then
$ RETCODE = 3
$ goto RETURN
$ endif
The system checks whether the returned code is a warning. If so, job execution is continued in the Trailer. "goto RETURN" leads to the Include object "TRAILER.VMS" which is processed when a job has ended.
See also:
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |