This is a discussion on pro*C help !!!!!!!!!!!!!!! within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi, I am trying to migrate a report generator written in Pro C to Java. But when i'm precompiling ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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? |
| ||||
| Check the declaration of char/varchar host variable ":szRunDate" 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. > |