Precompiler of PRO*C giving error when compiling a RFC  interface program.

Hello ,
We are on HPUX11   ORACLE
Pro*C/C++: Release 10.2.0.4.0 -
rfcsdk library 6.40
The  main RFC program has not been changed  which is getting compiled with the older libraries
The make file is given below
Makefile For SFA :
Variables
TUX_INC=$/include
ORA_INC=$/precomp/public
RDBMS_INC=$/rdbms/public
PLSQL_INC=$/plsql/public
#RFC_INC=/home/psoni/TUX10gR3/application/cls/orgseclib
RFC_INC=/home/psoni/TUX10gR3/application/cp/include
RFC_INC1=/home/psoni/TUX10gR3/application/cp/lib
HEADER_FILE=/home/psoni/TUX10gR3/application/cp/HEADER_FILE
ORALIBS=\
-lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon   \
-lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon  \
-lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3  \
-lcore3 -lnlsrtl3
Makefile Objects
TAR_SBACK=CRMtoE2
SRC_SBACK=MScpCRMtoE2.pc
CSRC_SBACK=$(SRC_SBACK:.pc=.c)
COBJ_SBACK=$(CSRC_SBACK:.c=.o)
CLIS_SBACK=$(CSRC_SBACK:.pc=.lis)
SFA_LIB=/home/psoni/TUX10gR3/application/cp/lib/sfalib.o
.SUFFIXES: .pc
.pc.c:
                @echo   "Pro*C/C++ $<:"
                @proc   INCLUDE=$      \
                INCLUDE=$            \
                INCLUDE=$            \
                INCLUDE=$              \
                INCLUDE=$              \
                INCLUDE=$              \
                INCLUDE=/home/psoni/TUX10gR3/application/cp/HEADER_FILE \
                USERID=$\
                DBMS=v7  
                CODE=ANSI_C                     \
                MODE=ORACLE                     \
                LINES=YES                       \
                SQLCHECK=FULL                   \
                UNSAFE_NULL=YES                 \
                iname=MScpCRMtoE2.pc
help:
        @echo ""
        @echo "Makefile For CP Application "
        @echo "----
        @echo ""
        @echo "CP : Price Condition Extraction- $(TAR_SBACK)"
        @echo ""
        @echo "clean: Clean Up Of Redundant Files"
        @echo ""
        @echo "For Using This Makefile Give Commands As:"
        @echo "make -f makefile.cond <Target Name From Above>"
        @echo ""
@cc  $(RFC_OPTSC) -I$(ORA_INC)  -I$(RFC_INC)  -c $(CSRC_SBACK)
sfa: $(SRC_SBACK) $(CSRC_SBACK)
        @cc  -o $(TAR_SBACK) $(CSRC_SBACK)  -L$(RFC_INC) -L$(RFC_INC1)  -l:librfccm.sl \
                -L$(ORACLE_HOME)/lib  -lclntsh `cat $(ORACLE_HOME)/lib/sysliblist`  -lm -lpthread -lpthread
        @rm -f *.o 2> /dev/null
        @rm -f *.lis 2> /dev/null
        @strip $(TAR_SBACK)
        @echo "SFA Application Compiled"
clean:
        @rm -f          \
        $(CSRC_SBACK)    $(COBJ_SBACK) $(CLIS_SBACK)
This directory  /home/psoni/TUX10gR3/application/cp/include  has the following file
rfc.ini    
rfcsi.h    
sapitab.h  
saprfc.h   
sapuc.h    
sapucx.h   
srfcserv.h 
srfctest.h 
trfcserv.h 
trfctest.h
This directory  /home/psoni/TUX10gR3/application/cp/lib has the following files
librfc.a   
librfccm.sl
when we do the make then we get the following errors.
the RFC program is  MScpCRMtoE2.pc  and there is no change in the code of this program
whic is getting compiled with the old  rfc.
Pro*C/C++ MScpCRMtoE2.pc:
Pro*C/C++: Release 10.2.0.4.0 - Production on Wed May 27 12:59:58 2009
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
System default option values taken from: /oracle/software/precomp/admin/pcscfg.cfg
Syntax error at line 1039, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1039, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strcat)
1
PCC-S-02201, Encountered the symbol "strcat" when expecting one of the following
   ; , = ( [
Syntax error at line 1046, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1046, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strchr)
1
PCC-S-02201, Encountered the symbol "strchr" when expecting one of the following
   ; , = ( [
Syntax error at line 1052, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1052, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strcmp)
1
PCC-S-02201, Encountered the symbol "strcmp" when expecting one of the following
   ; , = ( [
Syntax error at line 1058, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1058, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strcpy)
1
PCC-S-02201, Encountered the symbol "strlen" when expecting one of the following
   ; , = ( [
Syntax error at line 1064, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1064, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strcspn)
1
PCC-S-02201, Encountered the symbol "strcspn" when expecting one of the followin
g:
   ; , = ( [
Syntax error at line 1070, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1070, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strdup)
1
PCC-S-02201, Encountered the symbol "strdup" when expecting one of the following
   ; , = ( [
Syntax error at line 1077, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1077, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strlen)
1
PCC-S-02201, Encountered the symbol "strlen" when expecting one of the following
   ; , = ( [
Syntax error at line 1083, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
Error at line 1083, column 1 in file /home/psoni/TUX10gR3/application/cp/include
/sapuc.h
SAP_U16_PROTOTYPE_STDC(strncat)
1
PCC-S-02201, Encountered the symbol "strncat" when expecting one of the followin
g:
   ; , = ( [
It would be great if any one can  give us directions to look into resolving the above problem.
with regards
Lakshman

Try this makefile
PROCPPFLAGS= SQLCHECK=SEMANTICS USERID=$(DATABASE) code=ansi_c mode=oracle threa
ds=no hold_cursor=no sys_include='(/usr/lpp/xlC/include,/usr/include,/usr/local
/lib/perl5/5.8.0/aix/CORE)' CHAR_MAP=STRING
OTHER_H= -I. -I/usr/include -I/usr/stlinclude -I$(PRECOMPHOME)public -I$(RDBMSHO
ME)public -I$(PLSQLHOME)public -I$(NETWORKHOME)public
MAIN_EXEC = WSMPWorkAround
DEBUG_EXEC = WSMPWorkAround_DBG
OBJS = WSMPWorkAround.o \
processWSMPWorkAround.o
DEBUG_OBJS = WSMPWorkAroundDBG.o \
processWSMPWorkAroundDBG.o
# This is required to create the c code for the ProC program
GEN_C = dbConnector.c
all: $(MAIN_EXEC)
debug: $(DEBUG_EXEC)
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
LIBDIR=lib32
CC = xlc_r
RM = /bin/rm -f
STRIP = /usr/bin/strip
OPTIMISATION = -O2
#COMPILE_OPTS = -qdbxextra -qthreaded -qstaticinline -qstrict -D_THREAD_SA
FE -D_REENTRANT
COMPILE_OPTS = -qthreaded -q32 -qstaticinline -qinfo -qflag=I:E -qsource -
D TRACE_ON -D_THREAD_SAFE -D_REENTRANT
DEBUG_COMPILE_OPTS = -qthreaded -q32 -qstaticinline -g -qinfo -qflag=I:E -qsourc
e -D_THREAD_SAFE -D_REENTRANT
# Functions for processing
processWSMPWorkAround.o: processWSMPWorkAround.c
$(CC) $(COMPILE_OPTS) -c $(INCLUDE) processWSMPWorkAround.c
processWSMPWorkAround.c: processWSMPWorkAround.pc
$(PROC) $(PROCPPFLAGS) iname=processWSMPWorkAround oname=processWSMPWork
Around.c
# WSMP Work Around
WSMPWorkAround: $(OBJS)
# $(CC) $(COMPILE_OPTS) -o $(MAIN_EXEC) $(OBJS) -L$(LIBHOME) $(STATICPRO
LDLIBS) $(AIXIMP) $(LDFLAGSLIST)
$(CC) $(COMPILE_OPTS) $(OPTIMISATION) -o $(MAIN_EXEC) $(OBJS) -L$(LIBHO
ME) $(STATICPROLDLIBS) $(AIXIMP) $(LDFLAGSLIST)
$(STRIP) $(MAIN_EXEC)
WSMPWorkAround.o: WSMPWorkAround.c
$(CC) $(COMPILE_OPTS) -c $(INCLUDE) WSMPWorkAround.c
clean:
$(RM) $(MAIN_EXEC) $(OBJS) $(DEBUG_EXEC) $(DEBUG_OBJS) $(GEN_C) core *.l
is *.lst

Similar Messages

  • Select...Model query giving error when compiled in form6i's WVI trigger

    friends i have this installed at my home;
    Forms [32 Bit] Version 6.0.8.25.2 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    and i have a query which is running fine at the back-end,
    select avgprice
    from (
    select t.*
    from (
    select seq_no
    , invxh_DATE
    , INVXH_code
    , invxh_No
    , invxH_total_qty
    , INVXH_net_AMOUNT_Scy INVXH_net_AMOUNT_Scy
    , balqty
    , ROUND(balamt, 3) balamt
    , ROUND(avgprice, 10) avgprice
    , ROUND(cost, 3) cost
    from (select b.*,
    sum(decode(invxh_code, 'BUY', INVXH_total_QTY, -INVXH_total_QTY)) OVER (ORDER BY INVXh_DATE) BALQTY,
    row_number() over (order by INVXH_date) seq_no
    from invs_TXN_head b
    where INVXH_BROK_code = 'B00001'
    aND INVXH_Securit_CODE = 'S00001'
    and INVXH_date < to_DATE('25/02/2008','dd/mm/yyyy'))
    model
    dimension by (seq_no)
    measures (invxh_DATE
    , INVXh_code
    , INVXH_no
    , INVXH_total_qty
    , balqty
    , INVXH_net_AMOUNT_Scy
    , 0 balamt
    , 0 balamt2
    , 0 avgprice
    , 0 cost)
    rules (
    balamt[seq_no is any] = nvl(balamt[cv() - 1], 0) +
    decode(INVXH_code[cv()], 'BUY', INVXH_net_AMOUNT_Scy[cv()] , -(balamt[cv() -1] /
    balqty[cv() -1] * invxh_TOTAL_qty[cv()]) ) ,
    cost[seq_no is any] = decode(INVXH_code[cv()], 'SEL', balamt[cv() -1] /
    balqty[cv() -1] * invxh_TOTAL_qty[cv()], 0),
    avgprice[seq_no is any] = decode(INVXH_code[cv()], 'BUY', balamt[cv()] /
    balqty[cv()] , avgprice[cv() - 1])
    ) t
    order by seq_no desc
    ) where rownum = 1
    AVGPRICE
    2.17612187560
    but when i try make use of this query in 1 of my form Item's When-Validate-Trigger, replacing with form variables,
    declare
         avgprice1 number;
    begin
    select avgprice INTO AVGPRICE1
    from (
    select t.*
    from (
    select seq_no
    , invxh_DATE
    , INVXH_code
    , invxh_No
    , invxH_total_qty
    , INVXH_net_AMOUNT_Scy INVXH_net_AMOUNT_Scy
    , balqty
    , ROUND(balamt, 3) balamt
    , ROUND(avgprice, 10) avgprice
    , ROUND(cost, 3) cost
    from (select b.*,
    sum(decode(invxh_code, 'BUY', INVXH_total_QTY, -INVXH_total_QTY)) OVER (ORDER BY INVXh_DATE) BALQTY,
    row_number() over (order by INVXH_date) seq_no
    from invs_TXN_head b
    where INVXH_BROK_code = :INVXH_brok_CODE
    aND INVXH_Securit_CODE = :invxh_Securit_CODE
    and INVXH_date < to_DATE('25/02/2008','dd/mm/yyyy'))
    model
    dimension by (seq_no)
    measures (invxh_DATE
    , INVXh_code
    , INVXH_no
    , INVXH_total_qty
    , balqty
    , INVXH_net_AMOUNT_Scy
    , 0 balamt
    , 0 balamt2
    , 0 avgprice
    , 0 cost)
    rules (
    balamt[seq_no is any] = nvl(balamt[cv() - 1], 0) +
    decode(INVXH_code[cv()], 'BUY', INVXH_net_AMOUNT_Scy[cv()] , -(balamt[cv() -1] /
    balqty[cv() -1] * invxh_TOTAL_qty[cv()]) ) ,
    cost[seq_no is any] = decode(INVXH_code[cv()], 'SEL', balamt[cv() -1] /
    balqty[cv() -1] * invxh_TOTAL_qty[cv()], 0),
    avgprice[seq_no is any] = decode(INVXH_code[cv()], 'BUY', balamt[cv()] /
    balqty[cv()] , avgprice[cv() - 1])
    ) t
    order by seq_no desc
    ) where rownum = 1;
    :INVXH_gainloSs_AMOUNT_lcy := :INVXH_NET_AMOUNT_Scy - (:INVXH_TOTAL_QTY * avgprice1);
    end;
    it does'nt get complied & gives error as;
    Encountered the symbol "(" when expecting one of the following
    +, from+
    its actually pointing to this line of the above query;
    sum(decode(invxh_code, 'BUY', INVXH_total_QTY, -INVXH_total_QTY)) OVER (ORDER BY INVXh_DATE) BALQTY,
    at this position...*OVER (...*
    is it a form6i-10g compatibility issue or what else..?
    TYVM

    ok,, i have put my code in a stored function 'WTAG1' in the database. its working fine at the back-end.
    i am calling it now from forms WVI trigger in this way;
    declare
         avgprice1 number(14,10);
    begin
         avgprice1 := GET_WTAVG(:invxh_BROK_code, :INVXH_securit_CODE, TO_DATE(:INVXH_DATE,'DD/MM/YYYY'));      
    :INVXH_gainloSs_AMOUNT_lcy := :INVXH_NET_AMOUNT_Scy - (:INVXH_TOTAL_QTY * NVL(avgprice1,0));
    end;
    at run time m getting ORA-06502 ERROR,dont know why..?
    :INVXH_gainloSs_AMOUNT_lcy property is 9,999,999.000
    AT the back-end the query works fine aS below;
    SQL> @WTAG1
    Function created.
    SQL> SELECT GET_WTAVG('B00001','S00001',TO_DATE('27/4/2008','DD/MM/YYYY')) AG FROM DUAL;
    AG
    2.1761218756
    this iS my function;
    create or replace function GET_WTAVG(P_BROK_CODE IN VARCHAR2, P_SECURIT_CODE IN VARCHAR2, P_DATE IN DATE)
    return NUMBER Is
      v_avgprice NUMBER(14,10);
    BEGIN
    SELECT avgprice INTO V_avgprice
      FROM   (SELECT t.*
              FROM   (SELECT seq_no,
                             invxh_date,
                             invxh_code,
                             invxh_no,
                             invxh_total_qty,
                             invxh_net_amount_scy invxh_net_amount_scy,
                             balqty,
                             round(balamt, 3) balamt,
                             round(avgprice, 10) avgprice,
                             round(cost, 3) cost
                      FROM   (SELECT b.*,
                                     SUM(decode(invxh_code,
                                                'BUY',
                                                invxh_total_qty,
                                                -invxh_total_qty)) over(ORDER BY invxh_date) balqty,
                                     row_number() over(ORDER BY invxh_date) seq_no
                              FROM   invs_txn_head b
                              WHERE  invxh_brok_code = P_BROK_CODE
                              AND    invxh_securit_code = P_sECURIT_CODE
                              AND    invxh_date < to_char(P_DATE,'DD/MM/YYYY'))
    model
    dimension BY(seq_no)
    measures(invxh_date
    , invxh_code
    , invxh_no, invxh_total_qty
    , balqty
    , invxh_net_amount_scy
    , 0 balamt
    , 0 balamt2
    , 0 avgprice
    , 0 cost)
    rules
    balamt[seq_no IS ANY] = nvl(balamt[cv() - 1], 0) +
                            decode(invxh_code[cv()], 'BUY', invxh_net_amount_scy[cv()], - (balamt[cv() - 1] /
                            balqty[cv() - 1] * invxh_total_qty[cv()])),
    cost[seq_no IS ANY]   = decode(invxh_code[cv()], 'SEL', balamt[cv() - 1] /
                            balqty[cv() - 1] * invxh_total_qty[cv()], 0),
    avgprice[seq_no IS ANY] = decode(invxh_code[cv()], 'BUY', balamt[cv()] / balqty[cv()], avgprice[cv() - 1]))) t
              ORDER  BY seq_no DESC)
      WHERE  rownum = 1;
    RETURN V_avgprice;
    exception
    when TOO_MANY_ROWS
    then return 'Too Many Authors in that State';
    when NO_DATA_FOUND
    then return 'No Authors in that State';
    when others
    then raise_application_error(-20011,'Unknown Exception in authName Function');
    END GET_WTAVG;
    /

  • Pro*C Link Errors when Building with VC++6

    After a successful precompile with the Oracle precompiler for Pro*C, and a successful compile using Visual C++ 6.0, I could not build the executable, and got the following error:
    Linking...
    b110a_1.obj: error LNK2002: unresolved external symbol _sqlcxt
    Debug/b110a_1.exe: fatal error LNK1120: 1 unresolved externals
    Error executing link.exe
    Any help would be greatly appreciated.
    Ara Jeknavorian

    Did you inlcude the oraSQL9.LIB into the project files?

  • Pragma error when compiling with SDK X

    Hi,
    I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
    The errors are listed here:
    Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
    Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
    Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
    Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
    Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
    To compile against to SDK X all I did was:
    1) Used PIMain.c from the SDK X API directory.
    2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
    3) Changed the include directories to point to the new SDK X directories
    Is there another directive I must add to get the plugin to compile with SDK X?
    My preprocessor list is as follows:
    ACRO_SDK_LEVEL=0x000A0000
    HAVE_W32API_H
    PDMETADATA_HFT=1
    PLUGIN=1
    WIN32
    WIN_ENV
    WIN_PLATFORM
    WXUSINGDLL
    _CRT_SECURE_NO_DEPRECATE
    _DEBUG
    _WINDOWS
    __GNUWIN32__
    __WIN32__
    __WXMSW__
    Thank you,
    Magda

    Without seeing your code, I can't really help.
    If you want help with your code, open a formal support ticket.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 6 Dec 2011 04:09:25 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Pragma error when compiling with SDK X
    Pragma error when compiling with SDK X
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378

  • Method not found in class errors when compiling project

    Hi,
    I am getting the following errors when compiling my project:
    Error(3,8): ReqLinesNotificationsVORowImpl not found
    Error(25,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(31,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(37,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(43,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(49,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(55,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(61,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(79,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(85,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(91,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(97,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(103,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(109,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(115,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(121,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(127,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(133,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(139,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(145,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(151,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(157,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(163,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(169,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(175,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(181,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(187,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(193,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(199,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImplError(205,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    I have ReqLinesNotificationsVORowImpl and ReqLinesNotificationsVOImpl files in myprojects directory. Can anyone help please?
    Thanks

    Hi,
    From the error it seems that the code is refering ReqLinesNotificationsVOExRowImpl file.
    Please make sure that its class file is present in myclasses folder.
    Since u have mentioned that ReqLinesNotificationsVORowImpl is already placed in myclasses folder. Hope this should resolve your issue.
    Regards,
    Raj Papdeja

  • Errors when compiling the web service (SAP Web Service Design Tool)

    After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
    There are errors when compiling the web service.
    Is does not say whatu2019s wrong or how I can solve this problem.
    Who can help me?
    Some notes:
    1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
    2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
    Thanks for any help,
    Ron
    ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
    Edited by: RonKoudijs on Aug 26, 2010 6:28 PM

    Hello Taylan,
    I think the error that you received was due to packaging issues.I placed the
    UtilClass.java file under a directory called data which was present under
    the project directory.
    When you want to access a java class, you can either place the compiled
    class file in the WEB-INF/classes folder or you can place the java file
    under the project directory.
    I have attached the sample project that I created with your files.
    Let me know if you have any other questions.
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "taylan" <[email protected]> wrote in message
    news:3d6351b0$[email protected]..
    >
    I am trying to write a simpe web service in WebLogic Workshop, but havingan error
    which I could not understand. Could you please help me? Thanks in advance.
    Regards,
    Taylan
    My web service code is like belows:
    import weblogic.jws.control.JwsContext;
    import data.*;
    public class WebService1
    /** @jws:context */
    JwsContext context;
    * @jws:operation
    public UtilClass testType(UtilClass tTest){
    UtilClass returnObj=new UtilClass();
    if(tTest.getName()!= null){
    returnObj.setName(tTest.getName());
    return returnObj;
    and my UtilClass is placed in the data directory under the same directorywith
    my web service code. It is a simpe class as belows:
    package data;
    public class UtilClass
    private String name;
    public void setName(String name){
    this.name=name;
    public String getName(){
    return name;
    However I got an error when I try to compile the webservice class. Theerror is
    like belows:
    File Line Message
    WebService1.jws 0 Resource found on system classpath: data.UtilClass
    Build complete - 1 error(s), 0 warning(s)
    [ngroup.zip]

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • Error when compiling invalid object   XLA_00555_AAD_C_011117_PKG

    Hello folks,
    i am getting error when compiling the following object.
    XLA_00555_AAD_C_011117_PKG
    here i have mentioned below is what i have done for that invalid object.
    SQL> select owner,object_name,object_type
    2 from dba_objects
    3 where status='INVALID';
    OWNER
    OBJECT_NAME
    OBJECT_TYPE
    APPS
    XLA_00555_AAD_C_011117_PKG
    PACKAGE BODY
    SQL> connect apps/apps
    Connected.
    SQL> alter package XLA_00555_AAD_C_011117_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show errors;
    Errors for PACKAGE BODY XLA_00555_AAD_C_011117_PKG:
    LINE/COL ERROR
    32209/1 PLS-00103: Encountered the symbol "NVL" when expecting one of the
    following:
    * & - + / at mod remainder rem then <an exponent (**)> and or
    || multiset
    The symbol "*" was substituted for "NVL" to continue.
    32209/23 PLS-00103: Encountered the symbol "=" when expecting one of the
    following:
    . ( * % & - + / at mod remainder rem then <an exponent (**)>
    and or ||
    The symbol "* was inserted before "=" to continue.
    LINE/COL ERROR
    Please Provide me solution as soon as possible
    Regards,
    Farook

    Not exactly a custom object.
    XLA%AAD%PKG packages will be built dynamically by the XLA's AAD compiler. This will be used while generating the accounting entries.
    This error may occur due to two reasons:
    a) missing source, which is used in the setup
    SELECT *
    FROM xla_conditions xc
    WHERE application_id = &appl_id
    AND xc.source_code IS NOT NULL
    AND NOT EXISTS (SELECT 1
    FROM xla_sources_b xsb
    WHERE xc.source_application_id = xsb.application_id
    AND xc.source_type_code = xsb.source_type_code
    AND xc.source_code = xsb.source_code);
    b) wrong conditions in setup
    SELECT application_id,amb_context_code,entity_code,event_class_code
    ,accounting_line_type_code,accounting_line_code
    ,segment_rule_detail_id,description_prio_id
    FROM xla_conditions xc
    WHERE application_id = &appl_id
    GROUP BY application_id,amb_context_code,entity_code,event_class_code
    ,accounting_line_type_code,accounting_line_code
    ,segment_rule_detail_id,description_prio_id
    HAVING COUNT(*) > 1
    AND SUM(NVL2(source_code,1,0)) <> SUM(NVL2(logical_operator_code,1,0)) + 1;
    For (a) check any patch available for the missing source. Otherwise contact Oracle Support.
    For (b) check the condition of the JLT / JED / ADR, whether anything is wrongly entered.
    By
    Vamsi

  • .class expected error when compiling

    Ive been getting this frustrating error when compiling. My program is essentially supposed to add the values in two matrixes and return a new matrix using the added values
    Heres my code:
       public Matrix add(Matrix comp)
            int[][] temp = new int[this.numRows()][this.numCols()];
            for (int a = 0; a < comp.numRows(); a++) {
                for (int b = 0; b < comp.numCols(); b++) {
                    temp[a] = this.myCells[a][b] + comp.getVal(a, b);
    Matrix addedMatrix = new Matrix(temp[][]);
    return addedMatrix;
    heres the constructor for Matrix object:
      public Matrix(int[][] mat)
            int[][] myCells = new int[mat.length][mat[0].length];
            for (int i = 0; i < mat.length; i++) {
                for (int j = 0; j < mat[0].length; j++) {
                    myCells[i][j] = mat[i][j];
        }getVal, numRows, and numCols are all helper methods that just return values.
    The error is '.class' expected in the line which says Matrix addedMatrix = new Matrix(temp[][]); I checked for extra brackets but there dont seem to be any.
    Any help would be appreciated. Thanks.

    I think you just needMatrix addedMatrix = new Matrix(temp);

  • HDL Interface Node (UsingFilterCore.vi) and "timing constraint" error when compiling

    I'm trying to use the HDL interface node in LV8 FPGA with a PCI-5640R and had the "timing constraint" error when compiling my VI, however, the same VI was successfully compiled on a CRIO-9104, it seems the FPGA on PCI-5640R is not good as the one on CRIO-9104, or I'm not using it right. could you please kindly help me out?
    I tested it with the sample code downloaded from NI website
    ( http://zone.ni.com/devzone/conceptd.nsf/webmain/456722DDDE17986A86256E7B0065EE6F ) which demonstrates using an IP core for a filter. To simplify it, I only keep the HDL Interface Node and the While Loop (see "UsingFilterCore.vi" in attached zip file), and then I created 2 projects including this VI (1 for CRIO-9104, in sub folder "CRIO-9104", the other for PCI-5640R, in sub folder "IFRIO 5640"). When opening the 2 projects separately in LV8.0 and selecting the VI for compile, the one for 9104 passed and the other failed. Here I attach the source code, error message screenshot and the NIReport from MAX, hope you can reduplicate the problem.
    Can you help me out? Thanks very much !
    Message Edited by Jerry_L on 03-26-2006 09:28 PM
    Message Edited by Jerry_L on 03-26-2006 09:29 PM

    Hi Jerry,
    I'm just tried to make all these steps by myself (http://zone.ni.com/devzone/cda/tut/p/id/3516). I have generated FIR filter using Xilinx ISE and got *.VHD file which was going to use in HDL Node.
    In the Parameters tab of the HDL Interface Node configuration dialog, double-click in the Names column to add parameters. Create parameters as shown below.
    Next, switch to the Code tab. Notice that your parameters now appear in the entity section. To complete the next two sections of code, you will need to refer to the filt.vhd file that you generated earlier and interface the filter core to the LabVIEW FPGA execution system.
    1. The first problem I met was integrating VHDL code from earlier generated *.VHD file to CODE tab in properties of HDL Node. Content of entity section in *.VHD is not the same that in your attached file. Please check it in attached files. I'm sure this is the main reasen of problem.
    Next, switch to the External Files tab. Click the Add File button and select the filt.edn file that you created earlier. This is the EDIF netlist file that you generated earlier.
    2. I have no idea where can I get it and when during filter generation using Xilinx ISE it was generated too. How can I get it? I had to use your attached file filt.edn.
    3. After that I have made the same schematics like you have in your VI FPGA and try to run. But I've got two error messages:
    HDL Interfave node: enable chain not handled. Details: Refer to the documentation for the correct assignments for the enable_out output from your HDL code.
    HDL Interfave node: output not handled. Details: Right-click the node, select Configure to open the Configure HDL Interface Node dialog box, and use the Code tab to handle all output parameters. 
    Actually I need to model FIR filter:
    Bandwidth 200-600 Hz
    Sampling 8 KHz
    Attenuation 80 dB
    That's why I tried to follow all these steps by myself to understand how does it work.
    Thanks a lot.
    Nikita
    Attachments:
    Filter1.vi ‏16 KB

  • Assertion error when compiling ANSI C code - Forte 6.2

    I have a compilation error when compiling on my Ultra 10
    using Forte 6.2 C compiler (5.3). Here's the line:
    teds@enigma[195]% cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil !!
    cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil -xO4 -DCMO_DEBUG_DETAIL -DUSE_DATACONN -c cmoisubs.c -o cmoisubs.o
    cg: assertion failed in file ../src/ms_pipe/sp_interface.cc at line 689
    cg: Internal error: constval annotation set on reg with multiple defs
    cg: 1 errors
    cc: cg failed for cmoisubs.c
    teds@enigma[196]%
    Does anyone have any ideas?
    Thanks,
    Ted

    Are both files in the same directory? Is the directory in your classpath?

  • ERROR:HDLParsers:3370 Compile Error when compiling for NI-5640R

    I'm trying to get a FFT Core working inside the NI-5640R FPGA.  In my latest debugging step, I have received the following error when compiling:
    Compiling vhdl file "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" in Library work.
    Entity <bushold> compiled.
    ERROR:HDLParsers:3370 - "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" Line 142. Value 0 is not included in the range, 1 to 2147483647, of kConfiguration_ClkMaxWidth.
    ERROR:HDLParsers:3370 - "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" Line 143. Value 0 is not included in the range, 1 to 2147483647, of kConfiguration_ClkCounterWidth.
    Has anybody seen this before?  I am including my FPGA VI that is causing this error (FFT (FPGA).vi).  I am also including my previous step in debugging the FFT that worked (FFTworking (FPGA).vi).
    Attachments:
    FFT (FPGA).vi ‏125 KB
    FFTworking (FPGA).vi ‏119 KB

    Hi,
    The main cause of this error message is the large array size. You configured a 16-bit fixed-size array with 4096 element for a total array size of 65536 (16 * 4096). Array uses a lot of FPGA resource and the general recommendation to limit the use and size of array as much as possible on the FPGA VI. This VI will certainly overmap the FPGA resource because of the large array size.
    Although this error message is not directly related to the array size, it has however been reported to R&D (#4G3COBJ0) for further investigation. A possible workaround would be to reduce the size of the array or use DMA FIFO to pass the data to the host.
    Thanks for the feedback!
    Tunde A.
    LabVIEW FPGA

  • [svn:fx-trunk] 10641: Fix ambiguous reference error when compiling a performance test.

    Revision: 10641
    Author:   [email protected]
    Date:     2009-09-28 08:44:38 -0700 (Mon, 28 Sep 2009)
    Log Message:
    Fix ambiguous reference error when compiling a performance test.
    Fully qualify mx.events.Requests in generated code for FlexInit.
    QE notes: None.
    Doc notes: None.
    Bugs:
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no.
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java

    Start by validating your HTML code.  You have numerous code validation errors on line 230 caused by UPPER case tags.  XHTML doc types, need lower case tags.  After you fix your code errors, republish your page.
    HTML Validator - http://validator.w3.org
    CSS Validator - http://jigsaw.w3.org/css-validator/ 
    HTML & CSS Tutorials - http://w3schools.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

    I'm using Mac OS X 10.3.6, gcc3.3, CodeWarrior 9.0, and installed XCode1.5 too.
    I had installed Oracle Database 10g Client for Mac OS X fully.
    I'm trying to build the demo of OCCI. I can run the'make -f demo_rdbms.mk occimb1' command
    successfully, and generate a 'occimb1' execution file.
    But when I build 'occimb1' demo with CodeWarrior, the statement 'Environment::createEnvironment()'
    cause a error as below:
    Link Error : undefined:
    '_ZN6oracle4occi11Environment17createEnvironmentERKSsS4_NS1_4ModeEPvPFS6_S6_mEPFS6_S6_S6_
    mEPFvS6_S6_E' (code)
    Referenced from 'main' in occimb1.cpp
    I had already added these lib: libclntsh.dylib.10.1, libocci.dylib.10.1, libnnz10.dylib, libociei.dylib.
    Which librarys are essential when compiling Oracle 10g OCCI program in CW9?

    Hi,
    The same issue is faced by me when I was migrating my application from forms6i (oracle 8i) to forms 10g(oracle 10g).
    Solution:
    create a view based on the table on the other database (use db link)
    now create a synonym using this view and make it public.
    use this synonym in your form.
    It looks like something weared but this worked !!
    Try it !!

  • Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679

    Hi,
    We update the BW landscape for version 7.4 suppport package 4 (whitout HANA).
    We use a external system connection to extract data from a SQLServer database (Microsoft Connector 1.1 for SAP/BW)
    In the previous version (BW 7.0.1 SP 10) run correctly, but now is in error.
    Below the  BW error log:
    Error: COMMUNICATION_FAILURE with function RSB_API_OHS_3RDPARTY_NOTIFY and target system SQLIS.
    Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679 Transaction program not regist).
    Error log of Integrations Services
    [SAP BI Destination 1 [476]] Error: Microsoft.SqlServer.Dts.SapBw.Connectivity.ERPException: An error occurred during the dispatch of the incoming function. The last return code was "RFC_FAILURE".
    em Microsoft.SqlServer.Dts.SapBw.Components.SapBwSourceBWLoader.ProcessInput(Int32 inputID, PipelineBuffer buffer)
    em Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostProcessInput(IDTSManagedComponentWrapper100 wrapper, Int32 inputID, IDTSBuffer100 pDTSBuffer, IntPtr bufferWirePacket)
    [SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "SAP BI Destination 1" (476) failed with error code 0x80131500 while processing input "SAP BI Destination Input" (491). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.
    I checked the topic and notes below, but without success
    CPIC Return Code 679 - Transaction Program not Registered - ABAP Connectivity - SCN Wiki
    Note 1480644 - gw/acl_mode versus gw/reg_no_conn_info.
    Note 353597 - Registering RFC server programs
    Regards,
    Bruno

    Hi Bruno,
    We were able to resolve the issue. SAP RDS is assisting us with our upgrade and one of their consultants gave us this fix/workaround.
    Edit and add an entry into P:\usr\sap\<SID>\DVEBMGS00\data\reginfo.dat on your BW host server.
    Below is the entry I added.
    P TP=<NAME OF PROGRAM ID> HOST=<remote hostname where you creating the RFC to> CANCEL=<remote hostname> ACCESS=*
    P TP=CTSAPNPSCI_PORTAL_FPS HOST=ctsapnpsci CANCEL=ctsapnpsci ACCESS=*
    Then in BW system goto smgw > goto > Expert Funtions > External Security > ReRead ACL (N) & Globally
    I hope that this works for you.
    Regards
    James 

Maybe you are looking for

  • Not able to view flash streaming files on safari

    I have this problem that safari will not play any flash based videos, it plays quicktime with no problems. I have firefox installed and this plays flash based videos with no problems. I have installed Flash 9 all ok. I checked safari preferences and

  • Imovie 11 crashes when I try to finalize?

    I hope someone can help! I just upgraded to imove 11 and had no problem importing, editing, adding music, etc. Once I tried to "finalize" the project, the computer restarted about 10 minutes later. On successive attempts, I had the same problem. I th

  • Transfering of Standard price of materials to CO-PA in planning

    Hi, How can I transfer standard prices (calculated in Product cost controlling) of products to CO-PA in order to calculate the cost of goods. I would like to do it in planning. Is it made by integration of CO-PA with LIS or is there some other way? B

  • Duplicate user folders after reinstalling

    So I reinstalled mac osx because I threw away some files that werent supposed to be thrown away. Anyway, reinstalled, all my files are oke BUT The user folder that's now being used it called Thomas 1, and Thomas (where all my files are) is now above

  • Getting back old calendar enteries

    I did not know my options were set that it only stored for so many days. I have changed it to keep them forever now, but I want my old enteries back in my calendar????? HELP PLEASE!