Re: UNIX/Oracle Gurus....

From: Chuck Stolt <chuck_at_sfmic.com>
Date: 31 Jul 2001 11:15:05 -0700
Message-ID: <8af3e7f.0107311015.1e04e83a_at_posting.google.com>


bytetwo_at_hotmail.com (NeelSing) wrote in message news:<d3852a1b.0107261250.168f2ec3_at_posting.google.com>...
> Please suggest
>
> BACKGROUND:
> ==============
> I am trying to compile PRO*C programs using Oracle 8.1.6 on HP-UX
> using make files. I get an error
> PCC-F-02104 : Unable to Connect to Oracle.
>
> My userid parameter is correct (valid_username/valid_passwd_at_Dbname)
>
> PROBLEM:
> ===========
> The problem is this:-
> As the makefile runs, it echos the "proc" command and the supplied
> parameters.
>
> PARADOX
> ==========
> Now if I redirect the output of the echo into a file and run THIS
> file, it RUNS!!
>
> DIAGNOSIS?
> ==========
> This only means to me that I have a control character or something in
> my makefile. OR WHAT COULD THIS BE??
>
>
> Any ideas, suggestions, guidance....
>
> Thank you.

Is ORACLE_HOME and ORACLE_SID exported? If make starts its own shell, then you would not be able to connect to the DB. This may not be it, but its worth a look. Received on Tue Jul 31 2001 - 20:15:05 CEST

Original text of this message