PROC compilation [message #450342] |
Tue, 06 April 2010 09:11  |
csprog
Messages: 10 Registered: March 2010 Location: Chennai
|
Junior Member |
|
|
Hi,
i want to compile oe proc c file in proc compiler.
-> i selected the input file sample.pc in the input column.
-> output coulmn automatically displayed the output file name as sample.c.
-> then i clicked the precompile option.
-> i got a message as precompilation finished.
-> but i couldnt find the sample.c file anywhere.
what shall i do now? can anyone please help me on this?
Thanks in advance.
|
|
|
|
|
Re: PROC compilation [message #450462 is a reply to message #450405] |
Wed, 07 April 2010 07:28   |
csprog
Messages: 10 Registered: March 2010 Location: Chennai
|
Junior Member |
|
|
Hi,
i've found the reason why the prcompilation failed..
i didnt configure the file "pcscfg.cfg" in $ORACLE_HOME/precomp/admin
How does one go about configuring & customizing " pcscfg.cfg " in $ORACLE_HOME/precomp/admin for one's enviornment before using Pro*C/C++.
Can anyone please explain with example of the possible contents of pcscfg.cfg file if possible
Thanks in advance.
|
|
|
|
Re: PROC compilation [message #450993 is a reply to message #450342] |
Mon, 12 April 2010 01:02   |
csprog
Messages: 10 Registered: March 2010 Location: Chennai
|
Junior Member |
|
|
Hi,
while precompiling .pc program am getting an error,
System default option values taken from: D:\oracle\product\9.2.0.1\client_1\precomp\admin\pcscfg.cfg
PCC-F-02104, Unable to connect to Oracle
could you please tell me what are all the options we need to enter into the file pcscfg.cfg.
In my system pcscfg.cfg is only having one line as follows.
define=(WIN32_LEAN_AND_MEAN)
Thanks in advance.
|
|
|
Re: PROC compilation [message #450998 is a reply to message #450993] |
Mon, 12 April 2010 01:19  |
 |
Michel Cadot
Messages: 68418 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Could you please read the link I provided, click on the link of "See also" section, read the possible options, especially "auto_connect" and "userid" ones.
Yo have to read the book if you want to use Pro*C.
Regards
Michel
|
|
|