Run Executable Task Always Returns Status Either Successful or Fail Depending on Wait Parameter Value (Doc ID 1910721.1)

Last updated on JANUARY 11, 2017

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.2.1 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

On OFSAAI 7.3.2.1, the batch status is always incorrect for a RUN EXECTUABLE task.

ACTUAL BEHAVIOR
Followed the steps to set up a RUN EXECUTABLE Task.

To test it, create a simple suc.sh and err.sh as following:
suc.sh:
exit 0

err.sh:
exit 1

Run a Batch with both shells, first with suc.sh and later with err.sh. The results are always the same. OFSAAI return successful if task has Wait parameter='N' and error with wait parameter='Y' .

EXPECTED BEHAVIOR
Expect the batch to show failed on failure.

Steps to reproduce

The issue can be reproduced at will with the following steps:

1. Create a simple suc.sh and err.sh as following:
suc.sh:
exit 0

err.sh:
exit 1

2. Run a Batch with both shells, first with suc.sh and later with err.sh. The results have been the same. OFSAAI return successful if task has Wait parameter='N' and error with wait parameter='Y' .

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms