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 -> pro*C help !!!!!!!!!!!!!!!

pro*C help !!!!!!!!!!!!!!!

From: Aakash <rajaankem_at_gmail.com>
Date: 2 Jun 2005 09:58:41 -0700
Message-ID: <1117731521.449778.240680@g43g2000cwa.googlegroups.com>


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 Received on Thu Jun 02 2005 - 11:58:41 CDT

Original text of this message

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