Oracle error in ODI

HI All,
I am using ODI 11.
I have a requirment where i need to see oracle error in ODI operator .
Suppose the error is Format/Datatype/or etc error then it will show as the error with the error code in Operator.
Plz let me know how to do this in ODI.
Thanks,
Lony

Store the error in to java variable or odi variable.
Then in procedure use below codes to print error into operator.
throw new Exception("<@=java_variable@>"); or
throw new Exception(" #odi_variable");

Similar Messages

  • Error in odi- IKM oracle incremental update

    hi,
    i am integrating Oracle to Oracle databse using ODI.
    i am using IKM Oracle Incremental Update and i am having the following error:
    ORA-01747: invalid user.table.column, table.column, or column specification
    for the description below
    update EBS.SY_NAMADD T
    set (
    ) =
    select
    from EBS.I$_SY_NAMADD S
    where T.NADCOD =S.NADCOD
    where (NADCOD)
    in (
    select NADCOD
    from EBS.I$_SY_NAMADD
    where IND_UPDATE = 'U'
    since in the SQL in the EST there is no column specify it gin=ving me this error.
    should i have specify it somewhere
    thanks a lot
    nazeedah

    hi,
    another error is taht when i set the control to Yes unser IKM and in the control tab i have chosen :CKM oracle.
    i am having an error while creating teh table below
    create table EBS.SNP_CHECK_TAB
    CATALOG_NAME VARCHAR2(100 CHAR) NULL ,
    SCHEMA_NAME VARCHAR2(100 CHAR) NULL ,
    RESOURCE_NAME VARCHAR2(100 CHAR) NULL,
    FULL_RES_NAME VARCHAR2(100 CHAR) NULL,
    ERR_TYPE VARCHAR2(1 CHAR) NULL,
    ERR_MESS VARCHAR2(250 CHAR) NULL ,
    CHECK_DATE DATE NULL,
    ORIGIN VARCHAR2(100 CHAR) NULL,
    CONS_NAME VARCHAR2(35 CHAR) NULL,
    CONS_TYPE VARCHAR2(2 CHAR) NULL,
    ERR_COUNT NUMBER(10) NULL
    error: missing parenthese
    please help
    nazeedah

  • Errors in odi 11g

    hi friends.
    what are the errors in odi 11g and how to handle these errors??
    please refer some site for it.
    thanks.

    HI Soumya,
    please refer below link:
    http://docs.oracle.com/cd/E17904_01/core.1111/e10113/chapter_odi_messages.htm
    Regards,
    Surya

  • Script error through ODI

    Hi,
    I am calling a Python script from odi through odi os command.
    But if an error occurs internally in the script the ODI is unable to show that error in the Opertor .It is simply showing "Odi os command returns 1".
    The error file is made at different location.
    But i need to show all the script error through odi operator.
    Is there any utility or something like that which can catch the error and shows through odi operator.
    Please reply....
    Thanks

    Is there a difference between print and raise.
    I ran the code with raise but it is showing error like:
    org.apache.bsf.BSFException: exception from Jython:
    SyntaxError: ("mismatched input 'raise' expecting INDENT", ('<string>', 4, 0, 'raise ("\\n\\n\\n Match found \\n\\n\\n")\n'))
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2457)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)
    ------------------------------------------------------------------------------------------------------------------------------------

  • Populate SQL table with data from Oracle DB in ODI

    Hi,
    I am trying to populate a source SQL table with fields from an Oracle db in ODI. I am trying to perform this using a procedure and I am am getting the following error:
    ODI-1226: Step PROC_1_Contract_Sls_Person_Lookup fails after 1 attempt(s).
    ODI-1232: Procedure PROC_1_Contract_Sls_Person_Lookup execution fails.
    ODI-1228: Task PROC_1_Contract_Sls_Person_Lookup (Procedure) fails on the target MICROSOFT_SQL_SERVER connection Phys_HypCMSDatamart.
    Caused By: weblogic.jdbc.sqlserverbase.ddc: [FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'C2C_APP.CON_V'.
    My question is what is the best method to populate SQL db with data from an Oracle db? Using a procedure? A specific LKM?
    I found threads referring to using an LKM to populate Oracle tables with data from a SQL table....but nothing for the opposite.
    Any information would help.
    thanks,
    Eric

    Hi Eric,
    If using an Interface, I would recommend the LKM SQL to MSSQL (BULK) knowledge module. This will unload the data from Oracle into a file, then bulk load the staging db on the target using a BULK INSERT.
    Regards,
    Michael Rainey

  • Capturing oracle error codes into a variable

    Hi
    Can someone show me how it is possible to save an Oracle defined error code into a variable? What I am trying to do is when a stored procedure fails an Oracle error is raised, such as ORA-xxxx, then pass this code into variable to be saved into a log.
    How do I achieve this?

    user633278 wrote:
    How do I achieve this?Function SQLCODE in PL/SQL exception handler returns error code. SQLERRM returns message:
    SQL> declare
      2      x number;
      3  begin
      4      x := 1/0;
      5    exception
      6      when others
      7        then
      8          dbms_output.put_line('Error code: ' || SQLCODE);
      9          dbms_output.put_line('Error message: ' || SQLERRM);
    10  end;
    11  /
    Error code: -1476
    Error message: ORA-01476: divisor is equal to zero
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Oracle errors in Weblogic Error logs appear in non english

    We have a problem with weblogic error logging. Specifically, in a managed server's log file, Oracle errors such as ORA-XXXX show in Greek, not English. We are assuming
    that this is because the timezone is Europe/Athens. However, the weblogic application server runs with user.language=en, user.country=US. What's more, there are 4 application servers and 2 of them have this problem. The oracle database is accessed via weblogic datasources.
    Oracle database server Setup: Oracle Server 11gR2 running on Oracle Linux 64 bit, timezone set to Europe/Athens
    Weblogic Server: Weblogic 10.3.5 running on Oracle Linux 64 bit, timezone set to Europe/Athens
    The managed server, according to jrockit, the jvm runs with the following language related system properties:
    user.language=en, user.country=US, user.timezone=Europe/Athens
    The question is: How do we tell oracle / weblogic to log english text for the ORA errors?
    Thanks,
    Chris

    I digged in the weblogic installation directory and it seems like the domain configuration wizard messed up the jdbc configs for the data sources.
    The config xml files for the data sources in the /domain root/config/jdbc directory had oracle driver but the test query was for pointbase. I double checked from the database.xml file in the init-info directory and corrected the entry in the datasource config xmls and voila!.. the errors were gone.
    I am not sure if this was the right approach and whether i have solved the issue or simply patched it.. so I am keeping the question open. If any one has any inputs I will be grateful.
    If the mods/admins feel that the thread should be marked as solved I will surely do so.
    Thanks.

  • [SOLVED] FRM-40508:ORACLE error: unable to INSERT record

    Hi all,
    I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
    At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
    So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
    The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
    The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
    I also generated to object list report and tried to find some answer, but no use.
    Please help me in debugging this form.
    Edited by: Charan on Aug 18, 2011 4:05 PM

    I think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
    columns in there that the type does not match the table. (check the sizes of things too while you're at it.)

  • Oracle error 1012 ("Not Logged On") & AUTOTRAN=Y

    Hi.
    I have a problem trying to access an Oracle 8.0.6
    database from a 6.5 Tuxedo server.
    Both TMS and server execute tpopen correctly
    All services are declared as AUTOTRAN
    Everything seems to be OK according to the logsgenerated by Oracle XA libraries
    However, I always get the Oracle error 1012 ("Not Logged On")
    when executing SQL statements from my pro*C server.
    I just can't figure out why this error occurs.
    I also tried to explicitly open a transaction from the client,
    but the result is exactly the same (tpbegin is successfull,
    however).
    Could someone help me to make this work ?
    Thanks.

    Solved by removing "DB=<db>" from my OPENINFO string, as far as this parameter
    should only be used when using proc*C "EXEC SQL ... AT <db>" statements.
    "Mathieu Chauvin" <[email protected]> wrote:
    >
    Hi.
    I have a problem trying to access an Oracle 8.0.6
    database from a 6.5 Tuxedo server.
    Both TMS and server execute tpopen correctly
    All services are declared as AUTOTRAN
    Everything seems to be OK according to the logsgenerated by Oracle XA libraries
    However, I always get the Oracle error 1012 ("Not Logged On")
    when executing SQL statements from my pro*C server.
    I just can't figure out why this error occurs.
    I also tried to explicitly open a transaction from the client,
    but the result is exactly the same (tpbegin is successfull,
    however).
    Could someone help me to make this work ?
    Thanks.

  • Oracle error ORA-01461when trying to insert into an ORACLE BLOB field

    I am getting Oracle error ‘ORA-01461: can bind a LONG value only  for insert into a LONG column' when trying to insert into an ORACLE BLOB field. The error occurs when trying to insert a large BLOB (JPG), but does not occur when inserting a small (<1K) picture BLOB.(JPG). Any ideas?
    BTW, when using a SQL Server datasource using the same code.... everything works with no problems.
    ORACLE version is 11.2.0.1
    The ORACLE datasource is JDBC using Oracle's JDBC driver ojdbc6.jar v11.2.0.1 (I also have tried ojdbc5.jar v11.2.0.1; ojdbc5.jar v11.2.0.4; and ojdbc6.jar v11.2.0.4 with the same error result.)
    Here is my code:
    <cfset file_mime = Lcase(Right(postedXMLRoot.objname.XmlText, 3))>
    <cfif file_mime EQ 'jpg'><cfset file_mime = 'jpeg'></cfif>
    <cfset file_mime = 'data:image/' & file_mime & ';base64,'>
    <cfset image64 = ImageReadBase64("#file_mime##postedXMLRoot.objbase64.XmlText#")>
    <cfset ramfile = "ram://" & postedXMLRoot.objname.XmlText>
    <cfimage action="write" source="#image64#" destination="#ramfile#" overwrite="true">
    <cffile action="readbinary" file="#ramfile#" variable="image_bin">
    <cffile action="delete" file="#ramfile#">
    <cfquery name="InsertImage" datasource="#datasource#">
    INSERT INTO test_images
    image_blob
    SELECT
    <cfqueryparam value="#image_bin#" cfsqltype="CF_SQL_BLOB">
    FROM          dual
    </cfquery>

    Can't you use "alter index <shema.spatial_index_name> rebuild ONLINE" ? Thanks. I could switch to "rebuild ONLINE" and see if that helps. Are there any potential adverse effects going forward, e.g. significantly longer rebuild than not using the ONLINE keyword, etc? Also wondering if spatial index operations (index type = DOMAIN) obey all the typical things you'd expect with "regular" indexes, e.g. B-TREE, etc.

  • Oracle error ORA-604 when opening a connection

    I am facing an issue with my WCF service which is using ODP.NET version 4.112.2.0(x64) and Oracle 11g.
    The service runs without any problems on the test servers but on production server (Windows 2008 R2) when an attempt is made to call any service method it fails with the following Oracle error code Ora-604. the message is
    ORA-604: error occurred at recursive SQL level %s
    The exception is thrown when a call to meethod Open is made to open a connection.
    There is no inner exception. So far I have tried checking the connection string, the user permissions and setting the TNS_ADMIN environment variable but nothing has worked.
    Another thing to mention is that another WCF service which uses some of the same stored procedure I am using is working fine on the same server.
    Has anyone seen this before?
    Thanks,
    A

    Do you have a login trigger?
    select * from dba_triggers where triggering_event like 'LOGON%'
    If so, try disabling it.
    Does the working service use the same credentials as this problem service?
    Are you able to connect using sqlplus, with the same credentials from the same client to the same database? If it's not an ODP.NET specific problem, the dba guys might be able to help better: General Database Discussions
    Greg

  • Is there a listing or book of oracle error codes?

    i am looking for a book of oracle error codes. Is there someplae where I can find them online or anywhere really.
    thanks

    See the following URL gives you a list of oracle messages and actions to be done
    http://ora-doc.cict.fr:7777/server.815/a67785/toc.htm

  • Oracle Error from inserting a table from a table

    Hi all,
    We got a oracle error, as following,
    Thu Mar 2 16:34:03 2006
    Errors in file /oracle1/app/oracle/admin/M3US/udump/ora_1773234_m3us.trc:
    ORA-00600: internal error code, arguments: [4518], [], [], [], [], [], [], []
    The SQL is below,
    INSERT INTO MKT.TM_SAL_PGM_LOG
    SELECT B.SEQ + ROWNUM LOG_SEQ ,
    A.COM_CODE ,
    A.DIV_CODE ,
    A.PGM_NO ,
    A.PGM_SEQ ,
    A.PGM_TYPE ,
    A.CUST_CD ,
    A.BILL_TO ,
    A.TXN_TYPE ,
    A.TXN_NO ,
    A.TXN_SEQ ,
    A.TXN_DATE ,
    A.MODEL ,
    A.SUFFIX ,
    A.APPLY_AMT_LOC ,
    A.APPLY_AMT_TXN ,
    A.CN_ENTRY_FLAG ,
    A.CURRENCY ,
    A.APPLY_TYPE ,
    A.PCT_RATE ,
    A.AMT_PER_UNIT ,
    A.NET_AMT_LOC ,
    A.NET_AMT_TXN ,
    A.ACCRUAL_TYPE ,
    A.SALESMAN ,
    A.CREATE_DATE ,
    A.DEPT_CODE ,
    A.QTY ,
    A.ACCRUAL_FLAG ,
    A.APPLY_AMT ,
    A.FIXED_AMT ,
    A.SHIP_FROM ,
    A.AUTO_ADJUST ,
    A.CHINA_PRODUCT
    FROM MKT.TM_SAL_PGM_LOG_IT A,
    ( SELECT MAX(LOG_SEQ) SEQ FROM MKT.TM_SAL_PGM_LOG ) B
    WHERE PGM_NO = '2006-DA0004B'
    AND TXN_TYPE IN ( 'ACCR' ,'CRED' )
    AND COM_CODE = 'LGEUS';
    If we tried to insert into a table with one more condition,
    and rownum=1;
    it went throught without error.
    And, if we insert into the table with value( val1, val2,.....,valn), it also went through without any error message, but ONLY when the whole SQL is executed.
    There is no error either for the select statement in the SQL either.
    It is Oracle 8.1.7.4 64-bit on IBM AIX 5.2 machine.
    What is wrong?
    Thanks for advance!
    Robert

    Dump file /oracle1/app/oracle/admin/M3US/udump/ora_1773234_m3us.trc
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    ORACLE_HOME = /oracle1/app/oracle/product/8.1.7
    System name: AIX
    Node name: lgeus
    Release: 2
    Version: 5
    Machine: 00C9C4CD4C00
    Instance name: M3US
    Redo thread mounted by this instance: 1
    Oracle process number: 86
    Unix process pid: 1773234, image: oracle@lgeus (TNS V1-V3)
    *** SESSION ID:(184.8386) 2006-03-02 16:13:16.189
    *** 2006-03-02 16:13:16.189
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [4518], [], [], [], [], [], [], []
    Current SQL statement for this session:
    INSERT INTO TM_SAL_PGM_LOG
    SELECT C.LOG_SEQ + ROWNUM,
    D.COM_CODE, D.DIV_CODE, '2006-DA0004B' PGM_NO,
    DECODE ( T.PRODUCT, 'WR', 1, 'WL', 2, 'WK', 3, 'JE', 4, 'JM', 5, 'FR', 6, 'FD',7, 0 ) PGM_SEQ , 'KO' ,
    M.CUST_CD, M.BILL_TO, 'ACCR' TXN_TYPE, D.ORDER_NO, D.SALES_SEQ,
    GREATEST ( M.INVO_DATE, '20060228') , D.MODEL, D.SUFFIX,
    D.NET_AMT_TXN * 0.02,D.NET_AMT_TXN * 0.02, 'S', 'USD', 'P', 2, 0, D.NET_AMT_LOC, D.NET_AMT_TXN, 'L',
    M.SALESMAN, SYSDATE, M.DEPT_CODE, D.PICK_QTY, NULL, NULL, NULL, NULL, 'N', NULL
    FROM TM_SAL_DTL D,
    TM_SAL_MST M,
    TM_MODEL T,
    ( SELECT NVL(MAX (LOG_SEQ ),0) LOG_SEQ FROM TM_SAL_PGM_LOG_IT ) C
    WHERE D.ORDER_NO = M.ORDER_NO
    AND D.COM_CODE = M.COM_CODE
    AND D.DIV_CODE = M.DIV_CODE
    AND D.MODEL = T.MODEL
    AND D.SUFFIX = T.SUFFIX
    AND D.COM_CODE = T.COM_CODE
    AND ( D.INVO_NO , D.INVO_SEQ ) IN (
    SELECT /*+ ORDERED M, D, T */
    D.INVO_NO, D.INVO_SEQ
    FROM TM_SAL_MST M,
    TM_SAL_DTL D,
    TM_MODEL T
    WHERE M.ORDER_NO = D.ORDER_NO
    AND M.COM_CODE = D.COM_CODE
    AND M.DIV_CODE = D.DIV_CODE
    AND D.MODEL = T.MODEL
    AND D.SUFFIX = T.SUFFIX
    AND D.COM_CODE = T.COM_CODE
    AND M.INVO_DATE BETWEEN '20060101' AND '20061231'
    AND M.BILL_TO IN ( 'US006900' )
    AND T.PRODUCT IN (
    SELECT PRODUCT FROM TM_SAL_PGM_DTL
    WHERE PGM_NO = '2006-DA0004B' )
    MINUS
    SELECT TXN_NO, TXN_SEQ
    FROM TM_SAL_PGM_LOG
    WHERE PGM_NO = '2006-DA0004B'
    AND COM_CODE = 'LGEUS'
    AND TXN_TYPE = 'ACCR' )
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedmp+00cc bl ksedst 1 ?
    ksfdmp+0018 bl ksedmp 110276CD ?
    kgeriv+0104 bl _ptrgl
    kgeasi+0104 bl kgeriv 84 ? 70 ? 6 ? 6 ? 2FF1A24C ?
    ktbwbi+00f8 bl kgeasi 20009408 ? 201287D4 ? 11A6 ?
    2 ? 0 ? C0 ? 8000 ? 0 ?
    kdisle+100c bl ktbwbi 2FB0 ? 11919F50 ? 0 ? 0 ?
    kdiins0+0f84 bl kdisle 69362E20 ? 2FF1A740 ?
    2FF1B008 ? 1000001 ? 80008 ?
    22243DE8 ? 2C002C ? 0 ?
    kauxsin+13e8 bl kdiins0 69362E20 ? 0 ? 0 ? 0 ? 0 ?
    0 ? 0 ? 80000 ?
    insidx+0388 bl kauxsin 69362DD4 ? 117694C4 ? 0 ?
    201B4278 ? 201B4308 ?
    201B4350 ? 201B4260 ? 0 ?
    insflush+013c bl insidx 88 ?
    insrow+04a0 bl insflush 201B41D4 ? 1 ? 2FF1DE48 ?
    insdrv+0450 bl insrow 201B41D4 ? 2FF1DE48 ? 0 ?
    insexe+04ec bl insdrv 201B41D4 ?
    opiexe+1f2c bl insexe 63406C80 ? 3 ?
    opiall0+0c60 bl opiexe 4 ? 2 ? 2FF1F7F0 ?
    kpoal8+0678 bl opiall0 5E ? 22 ? 2FF1FAA8 ? 0 ?
    2FF1FA50 ? 20121CB8 ? 5EB ?
    4422022 ?
    opiodr+0668 bl _ptrgl
    ttcpip+09d8 bl _ptrgl
    opitsk+066c bl ttcpip 57B ? 200AEA88 ? 2FF21288 ?
    7FF ? 1 ? 0 ? 20067B70 ? 4C ?
    opiino+061c bl opitsk 2000CE18 ?
    opiodr+0668 bl _ptrgl
    opidrv+0450 bl opiodr 3C ? 4 ? 2FF229C8 ? 0 ?
    sou2o+0028 bl opidrv 3C ? 4 ? 2FF229C8 ?
    main+0130 bl sou2o 0 ? A0 ? 2FF22890 ? 0 ?
    __start+0088 bl main 2 ? 2FF22A38 ?
    ----- Argument/Register Address Dump -----
    Argument/Register addr=1.
    Dump of memory from 0x0 to 0x101
    000 00000000 00000000 00000000 00000000 [................]
    Repeat 15 times
    100 7C7243A6 [|rC.]
    Argument/Register addr=110276cd.
    Dump of memory from 0x1102768D to 0x110277CD
    11027680 4BFFFCA5 [K...]
    11027690 2C030000 40820020 3B5A0001 80010040 [,...@.. ;Z.....@]
    110276A0 3B390001 7C1A0040 4180FDF8 80610050 [;9..|[email protected]]
    110276B0 48000010 4BFD2989 60000000 38600001 [H...K.).`...8`..]
    110276C0 800100A8 818100A4 382100A0 7C0803A6 [........8!..|...]
    110276D0 BA21FFC4 7D808120 4E800020 00000000 [.!..}.. N.. ....]
    110276E0 00002043 800F0600 00000000 000002D8 [.. C............]
    110276F0 00096472 65696931 696E7300 BE21FFC4 [..dreii1ins..!..]
    11027700 607F0000 7C0802A6 7D800026 90010008 [`...|...}..&....]
    11027710 8003000C 91810004 2C000000 9421EF70 [........,....!.p]
    11027720 408207A0 60960000 83DF0000 60B50000 [@...`.......`...]
    <and go on>
    this file is huge, I just copy/paste the first part. I hope it helps.
    Thanks a lot, Sri.
    Robert

  • Oracle error codes

    Hello,
    My application is handling exceptions like this:
    try{
    resultSet = pStatement.executeQuery();
    catch(SQLException e){
    conn.close();
    if(e.getErrorCode() == 942)
    // handle with table or view doesn't exist
    else
    // handle with other errors
    Is there a way to not hard code the error codes?
    Is there any java constants to oracle error or messages in the jdbc driver?
    Thanks,
    Vladimir.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Marcus Uddenhed ([email protected]):
    I need to know where i can find,
    a description to the error codes
    in Oracle.<HR></BLOCKQUOTE>
    null

  • Frm-40502: oracle error: unable to read list of values

    Hi All,
    I am personalizing the assignment form, where we need to restrict the JOB LOV based on Organization value.
    In Forms Personalization we are creating the record group from query and attaching to Job field.
    The query is,
    SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
    j.job_id job_id
    FROM per_jobs_v j
    WHERE j.business_group_id + 0 = :CTL_GLOBALS.BUSINESS_GROUP_ID
    AND j.date_from <= :CTL_GLOBALS.SESSION_DATE
    AND ( (j.date_to IS NULL)
    OR (j.date_to >= :CTL_GLOBALS.SESSION_DATE)
    ORDER BY j.NAME
    When we use this query, we are getting the error "frm-40502: oracle error: unable to read list of values"
    If i replace the bind variable with values we are not getting the error and its working fine.
    Replace query:
    SELECT DISTINCT j.NAME, DECODE (1, 2, 1, NULL) c_valid_job_flag,
    j.job_id job_id
    FROM per_jobs_v j
    WHERE j.business_group_id + 0 = 202
    AND j.date_from <= TRUNC(SYSDATE)
    AND ( (j.date_to IS NULL)
    OR (j.date_to >= TRUNC(SYSDATE))
    ORDER BY j.NAME
    how to use bind variables (Block.field) here? We are getting this error only when using the bind variable in the query.
    Please share your ideas.
    Thanks.

    Hi;
    What is your EBS version? There are 96 docs avaliable about similar error message. I suggest use metalink for your issue
    You can also check:
    FRM-40502: Oracle Error: Unable To Read List Of Values [ID 1161404.1]
    Frm-40502: Oracle Error: Unable To Read List Of Values. [ID 351931.1]
    FRM 40502: Oracle Error:Unable to Read List of Values [ID 179162.1]
    Regard
    Helios

Maybe you are looking for

  • MSI PRO e DEAD ?!?

    Hi, Under is my post from tech powerup. So as last thing I post it on your forum. Quote Hi, I need some advice what to do ... Today, I turned on my pc (see specs watched some news, facebook ,etc.) I noticed that I have 1 left FAN for my PC from work

  • Replace from bin crash Pr CS6

    Has anyone else noticed that Pr crashes when replacing a title already on the timeline/sequence with a freshly minted one in the bin? This has happened twice. Does not happen if I save at every step.

  • Set Focus target when Add New Instance

    [LC Designer ES2 9.0] Using Action Builder to add a new instance of subform SITE, where first field is called SiteName. If I set action to Set Focus to SiteName, the focus goes to the *original* SiteName field instead of to the new instance. Users wi

  • Freezing Adobe Photoshop 3.0

    Hi I have the old version of adobe photoshop 3.0 I have been usuing it for over 7 years with over 3000 pictures on it but 3 months ago it appears that it got corrupted i couldn't add or copy any picture from it, then it froze it's not opening again h

  • Multiple SAP component transport strategy

    Hi all, I have a SAP landscape with ERP, BW, F&R and DM. Each of these components has 2 instances (dev and quality/test). The transports between these instances are managed with the TMS, aren't they?? But my real problem is that I don't know how to d