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

Home -> Community -> Usenet -> c.d.o.misc -> Re: pro*C help !!!!!!!!!!!!!!!

Re: pro*C help !!!!!!!!!!!!!!!

From: Gerard H. Pille <ghp_at_skynet.be>
Date: Sat, 04 Jun 2005 01:33:37 +0200
Message-ID: <42A0E8D1.5000809@skynet.be>


Aakash wrote:
> Hi,
>
> I am trying to migrate a report generator written in Pro C to Java.
> But when i'm precompiling the Pro*C code using the Oracle Pro*C tool
> it spews out the following errors.
>
> int CreWhereClause(char *szRunDate,...)
> {
> EXEC SQL SELECT to_char(to_date(:yesterday, 'dd-mon-yyyy'),
> 'dd-mon-yyyy') INTO :szRunDate from dual;
>
>
> PCC-S-02322, found undefined identifier
> Semantic error at line 649, column 94, file C:\temp.pc:
> EXEC SQL SELECT to_char(to_date(:yesterday, 'dd-mon-yyyy'),
> 'dd-mon-
> yyyy') INTO :szRunDate from dual;
>
>
>
>
> I have no clue as to how to get rid of the above errors.
>
> Any help appreciated...
>
>
> Thanks
>

Could it be that the input lines are too long? Received on Fri Jun 03 2005 - 18:33:37 CDT

Original text of this message

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