How to retrieve the return code from an executable object
search cancel

How to retrieve the return code from an executable object

book

Article ID: 143608

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

We have generated an executable window which executes or  returns a value. When launching it from an Automic job.

Environment

Release : 12.1

Component : AUTOMATION ENGINE

Cause

When you comment the code, it will not run.Code needs to uncommented 

Resolution

You need to uncomment the lines, to execute the code. Commented lines are not executed in AWA.

Check given example for details.

example:

#R3_MODIFY_VARIANT REPORT=RFDOPR10,VARIANT="OP FÄLLIG",SELNAME=AKONTS,KIND=P,LOW

The code will work, if you uncomment the script.

R3_MODIFY_VARIANT REPORT=RFDOPR10,VARIANT="OP FÄLLIG",SELNAME=AKONTS,KIND=P,LOW=