Skip to Main Content

Programming Languages & Frameworks


For appeals, questions and feedback, please email

Pro*C Compilation

1024736Feb 21 2024

I am facing issue while compiling Pro*c application on RHEL in AWS platform,

below is the error,

PCC-S-02201, Encountered the symbol "LONG" 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 "LONG" to continue.

Can any body from the Oracle Forum help us in resolving this issue,we tried to change the options available in pcscfg.cfg but still error exists and unable to get it resolved

Post Details
Added on Feb 21 2024