From: <ejo...@cs...> - 2000-09-29 23:12:18
|
> Pro*C/C++: Release 8.1.6.0.0 - Production on Thu Sep 28 21:29:13 2000 > > (c) Copyright 1999 Oracle Corporation. All rights reserved. > > System default option values taken from: /mirror/oracle/app/oracle/product/8.1.6 > /precomp/admin/pcscfg.cfg > > Syntax error at line 2, column 68, file orastuff/desc_bv_xsb_i.h: > Error at line 2, column 68 in file orastuff/desc_bv_xsb_i.h > case 0: EXEC SQL DESCRIBE BIND VARIABLES FOR S0 INTO descriptor; break; > ...................................................................1 > PCC-S-02201, Encountered the symbol ";" when expecting one of the following: > > an identifier, > The symbol "an identifier," was substituted for ";" to continue. Hi Matt, This problem was reported by another user. The Pro*C language has apparently changed slightly since Oracle 7. The keyword DESCRIPTOR is now needed in such a statement, as in EXEC SQL DESCRIBE BIND VARIABLES FOR S0 INTO DESCRIPTOR descriptor ^^^^^^^^^^ where "descriptor" is an identifier declared within orastuff.pc. The above, in principle, solved the problem for our user. However, I don't recall specifically whether the identifier name "descriptor" was later flagged by the precompiler as a reserved word. (If so, simply change the identifier's name.) Let us know how it goes... Regards, -Ernie |