Doing System Calls after Database Connection Always Return -1 On 11.2

(Doc ID 951654.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Precompilers - Version and later
Linux x86
Linux x86-64
***Checked for relevance on 7th Jul 2016***


On when executing the Pro*C or OCI application which runs a system command after connecting to database (i.e after EXEC SQL CONNECT in Pro*C and OCIServerAttach in OCI) always returns -1 even though the command executes successfully.


Upgraded to


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