My Oracle Support Banner

ESIC Returns Wrong Exit Status When Process Fails in OFSAA 8.1 (Doc ID 2813988.1)

Last updated on OCTOBER 21, 2021

Applies to:

Oracle Financial Services Profitability Management - Version 8.1.0.0.0 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.1.0.0.0 and later
Oracle Financial Services Funds Transfer Pricing - Version 8.1.0.0.0 and later
Oracle Financial Services Asset Liability Management - Version 8.1.0.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)

Symptoms

In OFSAAI 8.1, when executing ESIC batches, you can see the job is triggered in UNIX but you cannot find the batch in the OFSAA batch monitoring screen.

When checking the ESIC logs in $FIC_HOME/logs and the iccserver.log in $FIC_APP_HOME/icc/log, you find that the ESIC initialization failed and a batch was not created.  However, the ESIC command output an Exit Status = 0.  When ESIC fails, you expect to get an Exit Status = -4.  ESIC is outputting the wrong Exit Status  it fails in OFSAA 8.1.

8.1 example when there is an error:

$ ./esic -JI -U<USER> -P<ENCRYPTED PASSWORD> -R<INFODOM>_<BATCHNAME>_19991231_2 -I<INFODOM> -B<BATCHNAME> -D19991231 -F/tmp
[AESCryptorImpl.handleJVM]->INFO:JVM created successfully...
EXIT STATUS = 0

In prior versions, when there was an error, the Exit Status was 4:

$ ./esic -JI -U<USER> -P<ENCRYPTED PASSWORD> -R<INFODOM>_<BATCHNAME>_19991231_2 -I<INFODOM> -B<BATCHNAME> -D19991231 -F/tmp
[AESCryptorImpl.handleJVM]->INFO: JVM created successfully...
[LOG] Starting up.....
Host IP ...xx.xx.xx.xxx
EXIT STATUS = -4

You do not expected a failed ESIC command to return an Exit Status of 0.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.