My Oracle Support Banner

Pro*C system() Returns Wrong Return Code When Executed After Connection Has Been Established Succesfully To Database Using "EXEC SQL CONNECT" On Linux X86-64 (Doc ID 1155523.1)

Last updated on MARCH 01, 2017

Applies to:

Precompilers - Version and later
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2013***


Executing application generated with Pro*C or higher on Linux x86-64 which uses ORACLE_SID instead TNS-Alias and performing


command  - to execute OS command or other executables like SQL*Plus  - AFTER connection to database has been established using


return value in case of succesful execution returns a unexpected non-zero value leading to unexpected sideeffects evaluating this return value



Upgrade from Client/Pro*C to


To view full details, 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 a vibrant support community of peers and Oracle experts.