Home » Developer & Programmer » Precompilers, OCI & OCCI » Error in proC compile
Error in proC compile [message #295775] Wed, 23 January 2008 07:13 Go to next message
Messages: 3
Registered: January 2008
Location: china
Junior Member
Dear All:

proc sqlcheck=syntax release_cursor=yes def_sqlcode=yes MODE=ANSI ireclen=256 include=/lbill/tuxedo/tuxapp/sendlbas/src include=/lbill/tuxedo/tuxapp/sendlbas/src/include include=/home/tuxedo/tuxedo8.1/include include=/oracle/product/9.2.0/rdbms/demo include=/oracle/product/9.2.0/rdbms/public include=/oracle/product/9.2.0/plsql/public include=/oracle/product/9.2.0/network/public define=__NO_CICS define=PROGRAM_GZ parse=none iname=MainDeal.pc

System default option values taken from: /oracle/product/9.2.0/precomp/admin/pcscfg.cfg
Syntax error at line 1316, column 2, file MainDeal.pc:
Error at line 1316, column 2 in file MainDeal.pc
ub4 l_iLen = 0, l_iOffSet;
PCC-S-02201, Encountered the symbol "ub4" when expecting one of the following:
auto, char, const, double, enum, extern, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
typedef, union, unsigned, utext, uvarchar, varchar, void,
volatile, a typedef name, a precompiled header, exec oracle,
exec oracle begin, exec, exec sql, exec sql begin,
exec sql end, exec sql type, exec sql var, exec sql include,
The symbol "enum," was substituted for "ub4" to continue.


Here is the error information, I just see "ub4" has been define in oratypes.h. I also include it, but how the error happen??
waiting for your help
Thanks all

this is relat code
char szErr[2];
char l_acErrCode[10];
char l_acErrMessage[201];
char strxmlstring[4000];
ub4 l_iLen = 0, l_iOffSet;
Re: Error in proC compile [message #295778 is a reply to message #295775] Wed, 23 January 2008 07:19 Go to previous message
Messages: 3
Registered: January 2008
Location: china
Junior Member
Sorry everyone,
I just forget that, it complie in UNIX, sucess on HP, but fail on IBM
Previous Topic: ProC Precompile Warnings in HPUX Itanium
Next Topic: prcompile error on IBM/AIX
Goto Forum:

Current Time: Sun May 26 07:48:41 CDT 2024