Pro*C 11.2.0.1: 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 11.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 21-Nov-2013***

Symptoms

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

system()


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

EXEC SQL CONNECT .........


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

 

Changes

Upgrade from Client/Pro*C 11.1.0.7 to 11.2.0.1

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