RC -1 FROM OCIENVCREATE() OR ORA-1882 FROM EXEC SQL CONNECT WHEN POSIX ON

(Doc ID 849522.1)

Last updated on JUNE 26, 2009

Applies to:

Precompilers - Version: 10.2.0.1.0 to 10.2.0.3.0
IBM z/OS (OS/390)

Symptoms

When running an application (PRO*C and OCI) the following error occured when running with POSIX(ON) on z/OS:

OCIEnvCreate failed with errcode = -1.

The problem can be easilly reproduced using $ORACLE_HOME/rdbms/demo/cdemo81.c


The problem below also occured:

ORA-1804 failure to initialize timezone information

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