|PROBLEM WITH SQLCXT [message #128725]
||Wed, 20 July 2005 05:32
Registered: June 2005
As i am new to pro*c, i am trying to execute a simple program.
But unable to get result.
I am working in Digital unix/Oracle8i
EXEC SQL BEGIN DECLARE SECTION;
EXEC SQL END DECLARE SECTION;
printf("enter login name:");
EXEC SQL CONNECT :uid.arr IDENTIFIED BY :pwd.arr;
When i compile this .pc file by giving command proc iname=sample.pc, i am getting sample.c file.
When i compile this sample.c file by giving command cc .....
i am getting error
This error is in precompiler generated C code.
I am struck with this for last 2 days.
I tried to compile sample.c file by giving its path & headerfile path also. But no change.
when i remove that oracle connect statement, It's compiling.
Please give me a solution.
I feel its not a typical error.but i am hopeless.
expecting ur valuable soln.