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
blueshame
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;
.1
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
=======================================
EXEC SQL BEGIN DECLARE SECTION;
char szErr[2];
char l_acErrCode[10];
char l_acErrMessage[201];
char strxmlstring[4000];
ub4 l_iLen = 0, l_iOffSet;
EXEC SQL END DECLARE SECTION;
Re: Error in proC compile [message #295778 is a reply to message #295775] Wed, 23 January 2008 07:19 Go to previous message
blueshame
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: Thu Mar 28 15:19:49 CDT 2024