"PCC-F-02104, Unable to connect to Oracle" When precompiling with Pro*C
Last updated on JULY 05, 2017
Applies to:Precompilers - Version 10.2.0.4 and later
Information in this document applies to any platform.
***Checked for relevance on 31st Mar 2017***
Attempting to precompile code that requires a database connection will fail with an error if the information provided as part of the "userid" parameter contains a connect string.
The error returned is:
PCC-F-02104, Unable to connect to Oracle
Using the "myDB" database alias produces the error, but connecting without the alias works and using the same string "scott@myDB" does work for SQL*Plus.
SQL*Plus: Release 10.2.0.4.0 - Production on Tue Jan 19 12:04:38 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
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