How to check the SQL error message to address the application issue

Dears,
The application runs SQLs against Oracle via oracle client(actually the app is IBM Cognos which shows report and the data is from oracle database). So, for a report which fails to run, I want to check the sql and the error message for this failed sql statement. Where is the message stored, client or server and How to get it?
I know there is a view v$log used to check the sqls ran in database but here I mean the failed sqls....
Thanks,
Ricky Ru

969543 wrote:
The application only presents the application error message.. And it is not helpful for me to get the root cause..The application uses the Oracle Call Interface to communicate with the database server. OCI calls return a result code to the client. The client is expected to call OCIErrorGet() to get the full error text.
If the client does not do this, or obfuscate the server error, or suppress the server error? Crappy client. The lack of the client to play its role as client, correctly within the documented client-server architecture, is solely the client's problem. Not the server.
For DB2, I could use db2diag to check the log. why oracle can not do this? any thoughts?Because Oracle is not stupid? Why on sweet mother earth waste server resources to track client application errors, on behalf of clients? How does this make ANY sense!?
Oracle server's handles 1000's of SQL executions per second. Just where is it to find sufficient space to log application errors (not database system errors) at that rate? How do you justify that overhead? Using the argument that the application is poorly designed or written? Come on!

Similar Messages

  • How to check for sql errors

    if an sql statement is coded
    how to check whether the sql has executed without errors
    exception is one thing
    is there any other way or means for this
    if so, can any one help in this regard

    For Checking the SQL error you can trap the error number and error message and log into any table by following way
    CREATE OR REPLACE PROCEDURE FOR_ERROR_LOG as
    v_err_num NUMBER (20) := 0;
    v_err_msg VARCHAR2 (100) := NULL;
    BEGIN
    SQL statements like select, insert, update.
    EXCEPTION
    WHEN OTHERS THEN
    v_err_num := SQLCODE;
    v_err_msg := SUBSTR (SQLERRM, 1, 100);
    INSERT INTO error_table VALUES ('FOR_ERROR_LOG',NULL, v_err_num, v_err_msg, SYSDATE);
    COMMIT;
    END ;
    /

  • Hi. I d like to email a photo from iPhoto but I keep receiving the same error message saying that the combination username /password is incorrect so it won't send the email. How do I reset these parameters so I can email my pix? Thx

    Hi. I d like to email a photo from iPhoto but I keep receiving the same error message saying that the combination username /password is incorrect so it won't send the email. How do I reset these parameters so I can email my pix? Thx

    You have a number of things that will make this not work.
    Your mailto link is not the way to go, take a look at this and it should get you on the right path.
    http://www.paulgdesigns.com/learncontactform.php
    On your action page, you can have it give the thank you message that you want.  Having a seperate page saying they forgot to do something complicates matters more than you might wish at this point, and usually irritates people. however if you decide you want to go that way, look up "sticky forms".  What this does is re-populate the fields when they have to go back to correct.
    A better way would be to validate the information, you can use Spry if you want which is built into dreamweaver.
    You also have in your html form this
    enctype="multipart/form-data"
    That is used for sending files, and since you are not, the form would not work, so you want to remove it.
    Hopefully that will give you a starting point.
    Gary

  • I am getting the following error message while opening the fire fox browser "sript file:///programe % 20 files/siber%AT% 20roboform/rirefox/components/ref helper.JS:510 in English

    i am getting the following error message while opening the fire fox browser "sript file:///programe % 20 files/siber%AT% 20roboform/Firefox/components/ref helper.JS:510 in English

    ls -l /var/run/lighttpd/
    And how are you spawning the php instances? I don't see that in the daemons array anywhere.
    EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
    You will note that with pre-spawned information, the config looks different[1].
    You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
    [1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change"

  • HT1725 In a download of an entire album, one song download was interrupted.  I have followed the instructions for resuming the download, but each time I attempt to resume the download the same error message appears saying the download was interrupted. Ans

    While downloading an album in from the Store, one song was interrupted.  I have followed the instructions from apple about resuming the download, but every time I do so the same error message appears saying the download was interrupted.  I am having no connection problems, have rebooted my computer, downloaded the lates version of iTunes, etc., yet nothing changes.  Has anyone else experienced this, and are there any workarounds.  Sadly the problem hit on one of the best songs of the album.

    I had the same problem so (assuming under the Purchased items in the Store you have a song stuck at 'Downloading'):
    I went to Music, then Artists.
    From there I chose the album.
    The song that failed to download had the cloud symbol next to it.
    I clicked the cloud symbol and the song completed the download for me.
    (Please note this was in iTunes for Windows - I expect it to be similar in iTunes for Apple)
    Message was edited by: UbergeekRFC - parenthetical note added
    Message was edited by: UbergeekRFC - added note about song stuck as downloading

  • TS1717 I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    Hi pholewinski!
    I have a couple of articles for you here that I believe will help you with this issue. The first is an article on advanced troubleshooting, and it can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    If following that article's steps doesn't take care of the issue, you can try the things listed in this article, which is about permissions issues in iTunes:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/TS1277
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • When attempting to set up iCloud on my iMac I receive the following error message 'To use the "iCloud" preferences pane, System Preferences must quit and reopen'. I have tried quitting, re-booting etc but still receive this message. Any ideas?

    When attempting to set up iCloud on my iMac I receive the following error message "To use the 'iCloud' preferences pane, System Preferences must quit and reopen."
    I have tried quitting, even re-booting etc but still receive this message. Any ideas?

    This is a shot in the dark, but try this:
    log-in to your iCloud account with your Apple ID
    change your password
    ensure your billing information is up-to-date
    attempt to re-enable your Keychain (again)

  • Everytime I want to update the latest iTunes or iPhone software I get the following error message "Cannot open the URL" please help?

    I need to update my iTunes and my iPhone 3GS to the latest version and evertimes I click on "update" I get the following error message displayed - "cannot open URL".  I have checked the permissions on my windows firewall and iTunes is not blocked.  PLease can anyone give me some other suggestions as its really frustrating and I want to download ringtones etc but can't do so without the latest software versions of iOS etc.  Please help?  Thank you

    Try temporarily disabling your firewall and antivirus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • I am getting the following error message on reboot: The procedure entrypoint sqlite 3_wal_ checkpoint could not be located in the dynamic link library sqlite3.dll.

    What do I need to do to eliminate the following error message:
    The procedure entrypoint sqlite3_wal_checkpoint could not be located in the dynamic link library sqlite3.dll.
    I am currently running Firefox 6.0 on my laptop. Thanks.

    So for the people with similar problem as mine, please do the following. It cleared that error message right away so this must be the solution.
    1. Go to c:\program files (X86)\Common Files\Apple\Application Support
    2. Find SQlite3.dll in that folder, then right click it and choose Copy
    3. Go to c:\program files(X86)\Common Files\Apple\Mobile Device Support
    4. Paste SQlite3.dll in this folder
    5. Restart your Windows
    ps. use Program Files instead of Program Files(X86) folder if your computer does Not use 64bits. Mine does.

  • I cannot download ADOBE Flash. The error message is FAILED from Firefox. The other error message is "CANNOT CONFIGURE APPLICATION." Any suggestions?

    ADOBE 12.exe downloaded. FLASH will download but won't install. The error message is "CANNOT CONFIGURE
    APPLICATION."

    You can try to run the Flash installer as Administrator.
    Latest Flash player versions here:
    *http://www.adobe.com/special/products/flashplayer/fp_distribution3.html

  • Here are the instructions on how to fix the newest update problem with the .dll error message:, Here are the instructions on how to fix the newest update problem with the .dll error message:

    Go to My Computer, Uninstall Programs, and uninstall in this exact order :
          Itunes
          Apples Software Update
         Apple Mobile Device Support
         Bonjour (my system required a reboot on this one)
         Apple Application Support
    Reboot your computer, go to the official Itunes website (make sure it's the Apple Itunes Website and not some other one!), and reinstall Itunes. 
    I got the same .dll error message after the reinstall, but my Itunes was downloaded successfully and I was able to Sync my phone. : )
    Good luck to you and God Bless! 
    (Sad that we have to come to the Discussion Forum to figure this all out instead of Apple taking care of their business and helping us out, huh?)

    Someone else said they did a system restore to a previous update, and then a java update and that worked for them, saying they were going to stick with the earlier version of itunes until they get the bugs out of the new one.  I t tried restores and that didn't work for me either, but maybe it will work for you.  Good luck and I hope you get it working soon.. 

  • Get the following error message when opening The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll.

    I tried to download the update but something went wrong so when I open Firefox I get the error message: The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll.
    What do I do? DO I reinstall Firefox? And if so, how do I restore my bookmarks?
    Thank you so much

    If you can't reinstall Firefox yourself then you need to contact your IT department and ask them to check the Firefox installation.
    It is possible that some files got broken with the latest update.

  • The sql error:25153 while executing the ListCube

    Hi All,
    I have loaded data successfully in to my cube it is showing success in RSMO, but while executing the list cube of fieldselection for output with char' it is giving error like  " sql error:25153  "
    . But when i chose only key figures it is showing the data. What could be the problem .Please reply needs urgently.
    Thanks one & All  in advance.

    If your underlying RDBMS for BW is Oracle, this error message number is thrown for when an attempt is being made to use space in a temporary tablespace that has no datafiles defined. This could be that there truly are no datafiles defined or it could be that the default temporary tablespace isn't set to a valid temporary tablespace.
    You will need to have access to your RDBMS in order to resolve this yourself. If not, then have your DBA or Basis person resolve it

  • Got the UO52 error message. Tried the step by step method to remove and replace the print head

    still get UO52 error message after removing and replacing print head

    Hi palygirl,
    If reseating the printhead in your Canon printer does not resolve the U052 error, it is recommended that you contact live technical support . There is NO charge for this call. Real time feedback of a live technical support call would be very beneficial in this case.
    Please dial 1-866-261-9362, Monday - Friday 10:00 a.m. - 10:00 p.m. ET (excluding holidays). A Canon technical support representative will be able to assist your further.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Recently installed dvd drive and get the following error message on startup, the system extension "/System/Library/Extensions/IOSCSiBlockCommandsDevice.kext" was installed improperly and cannot be used.  Pointer is frozen in upper left hand corner.

    I thought extensions were not used by Tiger?  Tried disk utility, restart, any suggestions would be appreciated. Thanks!

    frybicki wrote:
    I thought extensions were not used by Tiger?  Tried disk utility, restart, any suggestions would be appreciated. Thanks!
    There are bunches of kexts loaded in Tiger; you can see them in System Profiler.  The info from my TiBook shows the following:
    That being said, you might want to do an NVRAM reset, since you have made a hardware change.  Boot into open firmware by holding down the cmd-opt-O-F key combination until you get to the white OF terminal screen.  Then type the following two commands:
    reset-nvram <enter>
    reset-all  <enter>
    which reboots the machine and forces it to rebuild its device table.
    If that doesn't work, you may have a damaged kext cache file, which will require some single user skulduggery.  This one is a little more complicated but may also clear up the problem as well.  You can boot into single-user mode by holding down the cmd-S key combination as you boot until you get to a black Unix terminal screen.  The routine goes like this:
    /sbin/mount   -uw   /   <enter>
    cd   /System/Library   <enter>
    rm    Extensions.kextcache  <enter>
    rm   Extensions.mkext  <enter>
    touch   Extensions   <enter >
    shutdown   -r   now  <enter>
    The last command does a graceful shutdown and then reboots the machine.  This will force a rebuild of the extensions cache files which may clear up your problem.

Maybe you are looking for

  • ICR - FBICS3 file upload process

    Dear experts, In the process of ICR to we want to use the file upload option in the FBICS3(select documents) for reconciliation of the docs. And our file is placed in the application server. We have maintained the configuration in FBIC032 for the com

  • How to use XMHTTP in jsp

    Hello, can any body tell me how to use the XMHTTP in jsp programming are servlet..what i know is XMLHTTP used in with java script functions..for connecting to servers without refrshing the page.can we use directly in jsp page.if so which APIs we have

  • Ecxpert Problem in getting the original file name submitted by FTP

    hai, when i use the scheduled FTP Application receive mode to receive files from the remote machine, i am not able to get the original file name, Ecxpert itself maintaining it's own file name, Even i query the tracking table also i am not able to fin

  • Drivers do not get installed

    I am using the hugely popular method of creating OS > Architecture > Make > Model hierarchy in Out-of-box drivers then within task sequence setting DriverGroup001 to path above (Windows 7 x64\%Make%\%Model%) and setting Inject Drivers to Nothing. htt

  • TOTAL OF RECORDS

    As make the total Of records in "resultset"? Ex: rset.next() FOR NEXT RECORD rset.????() FOR TOTAL DE RECORDS THANKS