Home » Developer & Programmer » Precompilers, OCI & OCCI » PCC-S-02322, found undefined identifier
PCC-S-02322, found undefined identifier [message #343368] Wed, 27 August 2008 01:29 Go to next message
hariprasad
Messages: 5
Registered: August 2008
Junior Member
Hi,

when i compiled a proc file i got the some error like this
Semantic error at line 74, column 36, file bulkdata.pc:
INTO :rowdata_1[count] INDICATOR :rowdata_indi1;
...................................1
PCC-S-02322, found undefined identifier

can any one suggest me the solution.

for your refrence here is some code
     69 while(1)
     70 {
     71    //EXEC SQL FOR :rows_to_fetch
     72    //FETCH SEL_CURSOR
     73    EXEC SQL FETCH SEL_CURSOR
     74    INTO :rowdata_1[count] INDICATOR :rowdata_indi1;
     75    count++;
     76
     77    if(rowdata_indi1.CO != 0)
     78    printf("NULL\n");
     79
     80     //rows_this_time = sqlca.sqlerrd[2] - rows_before;
     81     //rows_before = sqlca.sqlerrd[2];
     82
     83    //print_rows(rows_this_time);
     84 }
     85 //print_rows(10);
     86 print_rows(sqlca.sqlerrd[2]);
     87
     88 EXEC SQL CLOSE SEL_CURSOR;

Re: PCC-S-02322, found undefined identifier [message #343517 is a reply to message #343368] Wed, 27 August 2008 08:05 Go to previous message
donato
Messages: 53
Registered: November 2007
Location: Barcelona, Spain
Member
Hi!
I remember that sometimes i've solved this error setting the precompiler option USERID correctly:
proc USERID=user/passwd iname=file.pc include=...

I hope it helps you!
Previous Topic: ProC Host Variables as global
Next Topic: OCI Multithread in HPUX
Goto Forum:
  


Current Time: Tue Dec 17 20:04:43 CST 2024