0 Replies Latest reply: Jun 19, 2012 5:32 AM by 944537 RSS

    Error PCC-S-02201

    944537
      While compiling pro*c files using Oracle 10.2 precompiler in AIX get the following error, though the file was successfully compiled using Oracle 11 precompiler

      -I/software/oracle/product/10.2.0.4/rdbms/demo -I/software/oracle/product/10.2.0.4/precomp/public -I/software/oracl
      e/product/10.2.0.4/rdbms/public -I/software/oracle/product/10.2.0.4/plsql/public -I/software/oracle/product/10.2.0.4/network/public -I/usr/include -I/usr/inc
      lude/sys -I/usr/vacpp/include -I./include | sed -e 's/-I/INCLUDE=/g' -e 's/-D[^ ]=[^ ]*//g' -e 's/-D\([^ ]*\)/DEFINE=\1/g'` select_error=no SQLCHECK=SEMANTI
      CS userid=sysadm/sysadm \
      lines=yes iname=com_db.ora.pc oname=com_db.ora.c

      Pro*C/C++: Release 10.2.0.4.0 - Production on Tue Jun 19 15:54:36 2012

      Copyright (c) 1982, 2007, Oracle. All rights reserved.

      System default option values taken from: /software/oracle/product/10.2.0.4/precomp/admin/pcscfg.cfg

      Syntax error at line 135, column 2, file /usr/include/standards.h:
      Error at line 135, column 2 in file /usr/include/standards.h
      #warning The -qdfp option is required to process DFP code in headers.
      .1
      PCC-S-02014, Encountered the symbol "warning" when expecting one of the followin
      g:

      a numeric constant, newline, define, elif, else, endif,
      error, if, ifdef, ifndef, include, line, pragma, undef,
      an immediate preprocessor command, a C token,
      The symbol "newline," was substituted for "warning" to continue.

      Syntax error at line 69, column 56, file /software/oracle/product/10.2.0.4/rdbms/public/ociapr.h:
      Error at line 69, column 56 in file /software/oracle/product/10.2.0.4/rdbms/publ
      ic/ociapr.h
      sword odessp(struct cda_def cursor, OraText objnam, size_t onlen,
      .......................................................1
      PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
      :

      ... auto, char, const, double, enum, 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,
      union, unsigned, utext, uvarchar, varchar, void, volatile,
      a typedef name, exec oracle, exec oracle begin, exec,
      exec sql, exec sql begin, exec sql type, exec sql var,
      The symbol "enum," was substituted for "size_t" to continue.

      Syntax error at line 70, column 26, file /software/oracle/product/10.2.0.4/rdbms/public/ociapr.h:
      Error at line 70, column 26 in file /software/oracle/product/10.2.0.4/rdbms/publ
      ic/ociapr.h
      ub1 rsv1, size_t rsv1ln, ub1 rsv2, size_t rsv2ln,
      .........................1
      PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
      :

      ... auto, char, const, double, enum, 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,
      union, unsigned, utext, uvarchar, varchar, void, volatile,
      a typedef name, exec oracle, exec oracle begin, exec,
      exec sql, exec sql begin, exec sql type, exec sql var,
      The symbol "enum," was substituted for "size_t" to continue.

      Syntax error at line 70, column 52, file /software/oracle/product/10.2.0.4/rdbms/public/ociapr.h:
      Error at line 70, column 52 in file /software/oracle/product/10.2.0.4/rdbms/publ
      ic/ociapr.h
      ub1 rsv1, size_t rsv1ln, ub1 rsv2, size_t rsv2ln,
      ...................................................1
      PCC-S-02201, Encountered the symbol "size_t" when expecting one of the following
      :

      ... auto, char, const, double, enum, 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,
      union, unsigned, utext, uvarchar, varchar, void, volatile,
      a typedef name, exec oracle, exec oracle begin, exec,
      exec sql, exec sql begin, exec sql type, exec sql var,
      The symbol "enum," was substituted for "size_t" to continue.

      Syntax error at line 538, column 6, file ./include/com_capi.h
      Error at line 538, column 6 in file ./include/com_capi.h
      ldaT *allocate_lda ( void );
      .....1
      PCC-S-02201, Encountered the symbol "*" when expecting one of the following:

      ; , = ( [
      The symbol ";" was substituted for "*" to continue.

      Syntax error at line 547, column 6, file ./include/com_capi.h:
      Error at line 547, column 6 in file ./include/com_capi.h
      curT *allocate_cur ( void );
      .....1
      PCC-S-02201, Encountered the symbol "*" when expecting one of the following:

      ; , = ( [
      The symbol ";" was substituted for "*" to continue.

      Syntax error at line 561, column 10, file ./include/com_capi.h:
      Error at line 561, column 10 in file ./include/com_capi.h
      ldaT lda_ptr,         / pointer to logon data area */
      .........1
      PCC-S-02201, Encountered the symbol "*" when expecting one of the following:

      , )

      Syntax error at line 578, column 10, file ./include/com_capi.h:
      Error at line 578, column 10 in file ./include/com_capi.h
      ldaT **lda_ptr_ptr, /* pointer to logon data area */
      .........1
      PCC-S-02201, Encountered the symbol "*" when expecting one of the following:

      , )

      Syntax error at line 677, column 10, file ./include/com_capi.h:
      Error at line 677, column 10 in file ./include/com_capi.h
      ldaT **lda_ptr_ptr, /* pointer to pointer to logon data area */
      .........1
      PCC-S-02201, Encountered the symbol "*" when expecting one of the following:

      ; , = ( [
      The symbol ";" was substituted for "*" to continue.

      Syntax error at line 678, column 10, file ./include/com_capi.h:
      Error at line 678, column 10 in file ./include/com_capi.h
      char dbname,          / DB name */
      .........1
      PCC-S-02201, Encountered the symbol "*" when expecting one of the following:

      ; , = ( [

      Error at line 0, column 0 in file com_db.ora.pc
      PCC-F-02102, Fatal error while doing C preprocessing
      gmake[1]: Leaving directory `/env/engr/CWE/BSCS_6.00_ORN04_1_VODAAIX/develop/bscs/batch/src/bat'

      Edited by: 941534 on Jun 19, 2012 3:31 AM