Map oracle error

Is there a way to map Oracle error to display a friendly error message to users?
For example, instead of displaying:
ORA-00001: unique constraint (GDB.INT_UK) violated
Have it map to some thing like:
Customer Id must be unique. The customer you try to add is already in the database.

The HTML DB Edit Process page has 3 boxes
1. Source - Put your source code here
2. Success message
3. Error message
Any unhandled exception in your PL/SQL code will cause HTML DB to go to an error page and show that error message (sqlerrm)
If you dont want that, handle all exceptions in your code either using named exceptions or predefined exceptions, map it to whatever user-friendly error message you want and put that in the Error message box.
So, for example, if my process source is
declare
file_not_found exception;
pragma exception_init(file_not_found,-20000);
invalid_format exception;
pragma exception_init(invalid_format,-20001);
begin
  :P7_ERROR_MESSAGE := 'Successfully executed';
  mypkg.myproc(...);
exception
when file_not_found or invalid_format then
    :P7_ERROR_MESSAGE := sqlerrm;
end;And then, in process error mesage, I have #SQLERRM# (not really expected since I am handling all known errors in the code itself), the success message has &P7_ERROR_MESSAGE.
This way, I get a error page only when a totally unexpected error is raised.
Hope this helps
Thanks

Similar Messages

  • Oracle Error in a Data Dictionary

    Is there a data dictionary or table that contains all Oracle errors and it's description?

    or sqlerrm
    begin
      for i in 1..100 loop
        if (sqlerrm(-i) not like '%Message % not found%') then
          dbms_output.put_line(sqlerrm(-i));
        end if;
      end loop;
    end;
    ORA-00001: unique constraint (.) violated
    ORA-00017: session requested to set trace event
    ORA-00018: maximum number of sessions exceeded
    ORA-00019: maximum number of session licenses exceeded
    ORA-00020: maximum number of processes () exceeded
    ORA-00021: session attached to some other process; cannot switch session
    ORA-00022: invalid session ID; access denied
    ORA-00023: session references process private memory; cannot detach session
    ORA-00024: logins from more than one process not allowed in single-process mode
    ORA-00025: failed to allocate
    ORA-00026: missing or invalid session ID
    ORA-00027: cannot kill current session
    ORA-00028: your session has been killed
    ORA-00029: session is not a user session
    ORA-00030: User session ID does not exist.
    ORA-00031: session marked for kill
    ORA-00032: invalid session migration password
    ORA-00033: current session has empty migration password
    ORA-00034: cannot  in current PL/SQL session
    ORA-00035: LICENSE_MAX_USERS cannot be less than current number of users
    ORA-00036: maximum number of recursive SQL levels () exceeded
    ORA-00037: cannot switch to a session belonging to a different server group
    ORA-00038: Cannot create session: server group belongs to another user
    ORA-00040: active time limit exceeded - call aborted
    ORA-00041: active time limit exceeded - session terminated
    ORA-00042: Unknown Service name
    ORA-00050: operating system error occurred while obtaining an enqueue
    ORA-00051: timeout occurred while waiting for a resource
    ORA-00052: maximum number of enqueue resources () exceeded
    ORA-00053: maximum number of enqueues exceeded
    ORA-00054: resource busy and acquire with NOWAIT specified
    ORA-00055: maximum number of DML locks exceeded
    ORA-00056: DDL lock on object '.' is already held in an incompatible mode
    ORA-00057: maximum number of temporary table locks exceeded
    ORA-00058: DB_BLOCK_SIZE must be  to mount this database (not )
    ORA-00059: maximum number of DB_FILES exceeded
    ORA-00060: deadlock detected while waiting for resource
    ORA-00061: another instance has a different DML_LOCKS setting
    ORA-00062: DML full-table lock cannot be acquired; DML_LOCKS is 0
    ORA-00063: maximum number of log files exceeded
    ORA-00064: object is too large to allocate on this O/S (,)
    ORA-00065: initialization of FIXED_DATE failed
    ORA-00067: invalid value  for parameter ; must be at least
    ORA-00068: invalid value  for parameter , must be between  and
    ORA-00069: cannot acquire lock -- table locks disabled for
    ORA-00070: command  is not valid
    ORA-00071: process number must be between 1 and
    ORA-00072: process "" is not active
    ORA-00073: command  takes between  and  argument(s)
    ORA-00074: no process has been specified
    ORA-00075: process "" not found in this instance
    ORA-00076: dump  not found
    ORA-00077: dump  is not valid
    ORA-00078: cannot dump variables by name
    ORA-00079: variable  not found
    ORA-00080: invalid global area specified by level
    ORA-00081: address range [, ) is not readable
    ORA-00082: memory size of  is not in valid set of [1], [2], [4]
    ORA-00083: warning: possibly corrupt SGA mapped
    ORA-00084: global area must be PGA, SGA, or UGA
    ORA-00085: current call does not exist
    ORA-00086: user call does not exist
    ORA-00087: command cannot be executed on remote instance
    ORA-00088: command cannot be executed by shared server
    ORA-00089: invalid instance number in ORADEBUG command
    ORA-00090: failed to allocate memory for cluster database ORADEBUG command
    ORA-00091: LARGE_POOL_SIZE must be at least
    ORA-00092: LARGE_POOL_SIZE must be greater than LARGE_POOL_MIN_ALLOC
    ORA-00093:  must be between  and
    ORA-00094:  requires an integer value
    ORA-00096: invalid value  for parameter , must be from among
    ORA-00097: use of Oracle SQL feature not in SQL92  Level
    ORA-00100: no data found

  • Giving name to existing oracle error number in my code

    I need to handle the array error on a bulk insert . Is there any danger in doing the following? The error -24381 is NOT my custom error but a standard oracle error.
    Package Header
    PRAGMA EXCEPTION_INIT(array_dml_error, -24381);
    Package Body
    BULK INSERT
    EXCEPTION
    WHEN array_dml_error THEN
    WHEN OTHERS THEN
    Please help?
    Edited by: user4900730 on Apr 19, 2010 2:43 PM
    Edited by: user4900730 on Apr 19, 2010 2:44 PM

    You may want to check the following link from asktom... detailed discussion on BULK error mapping and handing.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8912264456901
    AND
    http://asktom.oracle.com/pls/asktom/f?p=100:11:2431746583773006::::P11_QUESTION_ID:8784259916366
    CTRL-F for -24381 in these pages.
    I have seen name being given to standard Oracle error codes in large production application.
    As long as it is well documented and managed, I believe it is ok.
    Can't really think of any technical downside. ;-)
    vr
    Sudhakar B.
    Edited by: SudhakarB on Apr 19, 2010 6:24 PM
    Meant to say CTRL-F

  • FDM Conditional Map Script Error

    Hi all,
    we trying importing data from EBS to HFM though ERPI by using FDM.
    We used conditional based scripts to importing data from ebs to FDM.
    this scripts used in FDM for ICP dimension between conditional mapping script.script logic is some particular account are related to Intercomapny transaction accounts we have to map to ICP member
    can anyone help me on this:
    this is error :
    ** Begin FDM Runtime Error Log Entry [2011-12-12 15:10:18] **
    ERROR:
    Code............................................. 1014
    Description...................................... Conditional Map Script Error: Expected 'End' at line(2)
    Script:
    If varValues(14)="113401" Then Result="21_ADNIP"
    Else Result="[ICP NONE]"
    End if
    Rule=I1
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 13888
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... ADNIPHYPUAT01
    App Name......................................... FDMHFM
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPUAT
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... HFMGLLOAD
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... May - 2011
    Period ID........................................ 5/31/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    Thanks.
    Srini

    Hi, please try the mapping script again having the "Result=" statement on a separate line, like:
    If varValues(14)="113401" Then
    Result="21_ADNIP"
    Else
    Result="[ICP NONE]"
    End if
    Kind regards,
    Jeroen

  • Lookup of Oracle Error Message at application level

    Hi
    I'm writing a c# application that connects to an oracle database. My application queries a table containing a column with oracle error codes BUT NO ERROR MESSAGES. The application must show these error descriptions to the user. As I cannot expect the user to know errorcodes, the application should be able to translate it into the error message
    e.g.: instead of showing "ORA-13349" I'd like to show a textbox "polygon boundary crosses itself".
    Question: is the mapping <error_code, error_message> accessible to an application? How ?
    Thank you,
    Marco
    ps: it's not possible to change the stored procedure! I've to solve it at the application level

    You can use the function: standard.sqlerrm and pass as parameter the number of the error.
    http://www.tunzi.ch/page.php?name=errm
    Bye, Aron

  • Mapping debbuging error:DBG1006: Error while initializing test data

    Hi,
    I have created a mapping in which I am trying to delete data from a table based on exisitence of rows in another table with a filter condtion in between them.When i try to run the debbugger, it throws following error:
    ============
    Analyzing map for debug...
    Retrieving Control Center connection info...
    Connecting to Control Center schema...
    Checking character set of Control Center schema...
    Configuring sources and targets...
    Mapping Debugger Error:
    oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1006: Error while initializing test data for sources and targets:
    oracle.wh.repos.sdk.CMPException: Trying to access invalid Object.
    Element ID: 110138
    Status: 4
    Owning FCO: 98409
    ==================
    Any idea what could be the possible cause?
    Query which I am trying to simulate is of following type:
    Delete from TableA t1
    where exits(select 1 from TableB t2 where t1.col1 = t2.col1 and t2.col2 = 'delete')
    Thanks
    AJ.

    Oops..thats weird.
    Tell me one thing...then how gud is the code generated in terms of working...if someone has to really test the code pre-hand for expected business logicWhy i am raising this concern is becoz there are many features for which OWB provides support in indirect way(workaround) like exists/not exists.
    Do we need to deploy mapping each time and then test through a run from Control centre?
    Other thing, As far i understand, the code generated is not in such a format that one can directly copy paste it in any sql/plsql editor and test it...
    Regards
    AJ.

  • ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set

    ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set_nls.
    this error generates everytime when i run a apex application
    i did call the package in session state with  dbms_session.set_nls('NLS_LANGUAGE','AMERICAN'); but still it shows the error in the report any solution please

    Hi Amrit
    Can you put the FND_GLOBAL calls in a pre map trigger/process rather than as part of the map?
    Cheers
    David

  • 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

Maybe you are looking for