Checks the applicationAn application is a software which helps a user to fulfill specific tasks. In the context of ARA see also: Application entity. return codeThe value that represents the result of tasks and script functions. of one or several jobAn Automation Engine object type for a process that runs on a target system. steps
Transaction: -
Interface: Standard (XBP 3.0)
R3_GET_APPLICATION_RC
NAME=...
,JOBCOUNT=...
[,STEP=...]
[,MAX_APPL_RC=...]
Syntax |
Description/Format |
---|---|
NAME= |
Name of the SAP job By default the SAP job specified in the scriptA particular Automation Engine object type. of one of the following script elements is used: |
JOBCOUNT= |
Number of the SAP job In combination with NAME=, the SAP job is unique. |
STEP= |
Number of the SAP job step Default value: "1" Specifying "0" has the effect that the application return codes of all the specified SAP job steps are checked. |
MAX_APPL_RC= |
Maximum number of allowed application return codes Default value: "0" The AE job aborts if the application return code of a job step exceeds the value specified here. |
This script element checks the application return codes of job steps and compares them with the maximum value allowed. If this value is exceeded, the AE job aborts. If not, job execution continues.
The application return code is also available in the report and can be read.
The first example checks the application return code of step "2".
R3_MODIFY_JOB NAME="MYJOB",JOBCOUNT=13541601,STEP=2,MAX_APPL_RC=10
The second example illustrates how to check all application return codes of the job "MYJOB".
R3_MODIFY_JOB NAME="MYJOB",JOBCOUNT=13541601,STEP=0,MAX_APPL_RC=10
See also:
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |