Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Pro*C Compile error

Re: Pro*C Compile error

From: Kenneth C Stahl <BluesSax_at_Unforgettable.com>
Date: Tue, 27 Jul 1999 08:18:30 -0400
Message-ID: <379DA396.262A6F6C@Unforgettable.com>



Ok, try this.

1:  . setoraenv
When prompted, enter 'angel' (without quotes of course)
2. Enter: sqlplus user1/user1

If you can connect then everything is good so far.

Try your compile again, you should be able to connect.

Are you using the proc.mk file supplied by Oracle? If not, you should be.
 

"À̸íÈ£" wrote:

'user1' is valid account

if ORACLE_SID == angel then

how can I set userid option ?

Kenneth C Stahl <BluesSax@Unforgettable.com>ÀÌ(°¡) ¾Æ·¡ ¸Þ½ÃÁö¸¦
news:379C531E.BB5CA248@Unforgettable.com¿¡ °Ô½ÃÇÏ¿´½À´Ï´Ù.
> > When I tried compile a source file, I get following error.
> >
> > What is the problem?
> >
> > ---------
> > myserver> make BDCC037
> >         /users/oracle722/bin/proc sqlcheck=full userid=user1/user1
> > dbms=v6_char iname=BDCC037.pc
> >
> > Pro*C/C++: Release 2.2.2.0.0 - Production on Mon Jul 26 16:52:38 1999
> >
> > Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.
> >
> > System default option values taken from:
> > /users/oracle722/precomp/admin/pcscfg.h
> >
> > (1) PCC-F-02104, Unable to connect to Oracle
>
> Probably there is no such account as 'user1'. You can't just can't put
> some random value for userid - it must be a valid account for the
> instance that is currently defined with ORACLE_SID. Also, if you are use
> ProC 2.2 then why are you using dbms=v6_char. Unless there is some huge
> reason why you need backwards compatability you shouldn't be using the
> dbms parameter at all.
>

Received on Tue Jul 27 1999 - 07:18:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US