How to know the error code?

Hi,
how can i know the error code of the error occured in plsql ?
Eg if i catch the exception IN WHEN others THen i need to pront the error code.
How can i do it?

exception
when others then
dbms_output.put_line(sqlerrm||sqlcode);
end;

Similar Messages

  • How to catch the error code thrown by Oracle client installation?

    Hi everyone,
    Recently, I'm writing a bat file to install Oracle 11g client for windows, I know the command line should be below, but how to find the error code it return? like the command line I want to run in Windows, the errorlevel will return 0 if the command line is pass, otherwise it will return no-zero:
    oui.exe -silent -waitforcompletion -nowait -force -responseFile ...\response\clientruntime.rsp
    BTW, I know I can find the error info under the path ...\Oracle\Inventory\logs, but I think it is better if you can tell me another way to catch the error in command line. I just wish that I can determine whether the Oracle provider installation is pass......
    Thanks
    Lindsay
    Edited by: lindsaywang on Oct 6, 2008 1:28 PM

    I got it.
    Thanks,
    TD

  • Does anybody know the error code 11 while updating to ios 4.3.3.? thx

    does anybody know the error code 11 while updating to ios 4.3.3. on an ipad1? thx

    but my hard drive is still lot of spaces...still keep on trying to update...

  • How to fix the error code 1009?

    How to fix the error code 1009?

    Fix for error 1009 in iPhone 4S? - ThinkiOS
    How to fix error 1009 with your iDevice . - YouTube
    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.

  • How to get the error code for http request

    I have to implement the if..elso loop depending on the error code return as below.
    String host="127.0.0.2"
    if the this servers is not found or itis down it should return error code, based on that I have to change the host value to some other server like "127.0.0.4" , Can you let me know how it can be implemented? Please help me.

    Here is my requirement...
    say.. if client hit " http:\\ 172.0.0.3: 1000/index.jsp" and if the server 172.0.0.3 is not available i will set the server host to some other and request will redirect accoringly like " http:\\ 172.0.0.4: 1000/index.jsp"

  • How to know the error in the goods movement

    Hai gurus,
    a) while doing goods issue and goods receipt , if there is any
        error  in the goods movement how to know the same and correct it.
    Regards,
    sekar chand

    Hi,
    If You are doing GR and GI during order confirmation then you will find a tab for Display Error(Bell Ikon).At the time of any error you will find this icon highlighted.press it you will find details error description and proposed solution.
    Regards,
    Dhaval

  • How to know the process code of an IDOC

    Hi All,
    If I want to know the process code of a standard SAP IDOC, how do I do it. Is it we42 or any table/transaction, which can show me all the possible process codes for an IDOC.
    I need to know this so that I can use this accordingly in my partner profile. ( I do not have any idoc in mind, but its avery general question. How do I know what process code belongs to which IDOC)
    Many thanks

    Hi,
    U can check using We41 and We42 tcode for both inbound and outbound case. For each process code a function module is attached check the same for required functionality.
    WE60 and WE64 transaction.will list the std IDOC in SAP.
    chirag

  • How to solve the Error code (12/4186)

    224733.pgapp01!BRIDGE.2864.1.0: GP_CAT:1069: WARN: Could not index FML32 buffer in postrecv
    224733.pgapp01!BRIDGE.2864.1.0: LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission. Error code(12/4186)
    how to solve it?
    Thanks.
    :)

    You should contact BEA customer support about this problem. It is possible
    for FML32 buffer indexing to fail if the buffer is not actually an FML32
    buffer, if the buffer is not aligned on a 4-byte boundary, or if there is
    not enough space in the buffer to store an index. However, none of these
    cases should apply to a buffer received in the BRIDGE process.
    <YuanSheng Jiang> wrote in message news:[email protected]..
    224733.pgapp01!BRIDGE.2864.1.0: GP_CAT:1069: WARN: Could not index FML32buffer in postrecv
    224733.pgapp01!BRIDGE.2864.1.0: LIBTUX_CAT:6031: ERROR: Unable topre-process buffer before tranmission. Error code(12/4186)
    >
    how to solve it?
    Thanks.

  • How to fix the error code B200 of MP258 canon printer?

    please help me how to fix the priter that has an error code B200 of MP258.

    Hi guadaduque, thanks for posting!   In order to allow the Community to better help with your question, we'll need some more information from you.
    What exact computer operating system are you using? Once we have this information,  the Community will be better able to help get you up and printing again!

  • How to determine the error code, returned from LDAP server

    I use the next code for connect to LDAP server:
            try{
                ctx = new InitialLdapContext(env, null);
                 //if connection successfull ...
            } catch (NamingException){
                 //if error occured ...
            }Is it possible to determine the numeric error code, returned from server?

    I was just working on using openldap, binding to it and checking for expired passwords and locked accounts and it looks like that an AuthenticationException is thrown in these circumstances and the ctx is null so it is not possible process connection response controls. But you can look at operation attributes if you have password policy enabled and you are looking for these type of errors

  • I am having trouble ejecting a disk that got a code error on it.  I do not know the error code.  I did the restart and hold the mouse down and it ejected. Inserted another disk and this got an error code on it too.  However I can't get this disk to eject

    Having trouble ejecting a disk.  I tried all the suggestions on the help list.  to no avail.

    Was this on the help list:
    1 - open the Terminal application (in the Applications/Utilities folder).
    2 - enter
    drutil tray eject 1
        followed by the Enter or Return key.
    OT

  • How to solve the Error code :45 for the below mentioned script. Please provide  the solution for the

    function fontcheck (){
        fonts=null;
    //var fonts=document.fonts.everyItem().getElements();
    var _docFonts = app.activeDocument.fonts.everyItem().getElements();
        var myDoc=app.activeDocument
        var fontlist = []
        for (var i = 0; i < _docFonts.length; i++) {
         var fontName = _docFonts[i].fullName;
         var fontpath= _docFonts[i].location;
    var mm=String(fontpath);
    var s=String.fromCharCode(92)
    var ms=String("C:"+(s)+"Windows"+(s)+"Fonts"+(s));
    mm=mm.substring(0,17);
    if (mm==ms)
    alert ("The Document contain System font Please fix the font using find font option");
    exit()
    mm=null;
    fonts=null;
    else
    if (mm=="System Font")
    alert ("The Document contain System font Please fix the font using find font option");
    exit()
    mm=null;
    fonts=null;

    works for me. Perhaps you can tell more about what happens?

  • How to know the pass ode to open apple iPad mini

    How to know the pass code to open iPad mini

    Only by remembering it - if you can't then there are insructions on this page for resetting a device : http://support.apple.com/kb/HT1212

  • How to know the code error diagnostic hardware (AHT) ?

    I want konw
    How to know the code error when do it Apple Hardware Test.
    Anybody have note the code error (AHT)
    Thank you

    Does this help: http://reviews.cnet.com/8301-13727_7-57352461-263/how-to-invoke-and-interpret-th e-apple-hardware-tests/ ?

  • How do I fix error code 401 - "unauthorized" I am taking an online class and the videos worked before, and now whenever I launch QuickTime, I get that error code.

    I recently began taking an online class. We are required to watch multiple videos. I was able to watch the QuickTime videos before, but now whenever I launch the videos in QuickTime I get the Error code 401. My teacher does not know whats wrong, because I do have authorization to watch the videos, I am just not sure how to go about it.

    You may try updating the same as a standalone download.
    S.Sengupta, Windows Entertainment and Connected Home MVP

Maybe you are looking for