B2B Utility Functions Are Returning Always Zero Return Code Even In Case Of Error Scenario
(Doc ID 1324445.1)
Last updated on MARCH 12, 2019
Applies to:Oracle B2B 10g (Business to Business) - Version 10.1.2.0.0 and later
Information in this document applies to any platform.
Why do the B2B utility functions (b2bexport, b2bimport, etc.) return 0, even when the utility encounters an error? For example:
ant -f ant-b2b-util.xml b2bexport -Dtpanames=test-Dexportfile test.zip
when "test" is an invalid Agreement name, results in an error in the export. However, if -- within a script -- the return code (i.e., $?) is viewed, this value is 0.
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