Using VB application, how can one see pl/sql dbms_output output?

Hi guys,
Someone wrote a pl/sql procedure, using dbms_output to debug, now we promoted them to PROD, these dbms_output statements are still there in the code.
Q1. is there any performance issue, having these statements still in code, while they are there in PROD.
Q2. these procedures have been called by VB application in PROD, now what we are looking for, is there any way to capture those errors which may be raised, there in PROD, if some weird work done by this VB application, what we
are looking for is to see those errors or whatever be the output of those dbms_output.
Do inform, is there any possibility to see those output using this VB application, coming out by dbms_output.
Please ask for clarification, if need be.
Thanks.

user8604530 wrote:
Q1. is there any performance issue, having these statements still in code, while they are there in PROD.
1) I don't think there will be a big performance issue, i.e. it won't consume noticeable cpu resources.
2) It might cause more memory consumption of your database sesssions, as all output is temporarily buffered in memory at the database server side.
1 + 2 heavily depend on how many times the dbms_output.put(_line) procedures are actually called.
3) It might cause failure of your application, as at some point in time the buffer for storing the output temporarily will fill up. And from that point onwards, all put(_line) calls will result in an error.
Q2. these procedures have been called by VB application in PROD, now what we are looking for, is there any way to capture those errors which may be raised, there in PROD, if some weird work done by this VB application, what we
are looking for is to see those errors or whatever be the output of those dbms_output.
Do inform, is there any possibility to see those output using this VB application, coming out by dbms_output.
No. Not without you doing some effort at the VB side. dbms_output data is buffered at the server side, and you will have to retrieve its contents yourself. SQLplus (and dome other adhoc sql tooling) will do this automatically for you. But I bet your VB application doesn't. Read up on the dbms_output.get(_lines) procedures on how to retrieve the contents of the buffered output.
Toon

Similar Messages

  • How can one see all printdocuments for a business Partner

    How can one see all printdocuments for a business Partner(only transaction, no table please)
    Thx

    Avajit,
    Use T-Code CORRHIST
    Hope this helps
    Rgds
    Rajendra

  • We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    We have a requirement to print the w2 forms for employees using java application, how can i implement this. Please give some suggestion.

    Anyone any ideas to help please?

  • CPU consumption 100%: How do I see which SQL is consuming?

    Hi,
    I need help badly with this because I cannot get my head around the problem. I have a Windows server 2003 Enterprise 64-bit running Oracle 10.2.0.3 and last night it started consuming 100% CPU. The Windows performance monitor shows 100% CPU in any case, and it was difficult to even login via remote desktop.
    It is Oracle.exe that is consuming, and there is only one database on this server. It is an Opteron 875 2.2Ghz with 8GB ram.
    I want to see which SQL statement is responsible for the CPU consumption. I know exactly which user/programapplication is using it... it is useless to kick the session because the application connects immediately again from the app. server and runs the same thing. Restarting the database also has the same effect: session reconnects and CPU goes through the roof. Customer says that they are running the same stuff as always, and app. has not been updated recently. 100 % CPU to them, means something is wrong.
    Incidently, I tried to CPU patch this database a couple of days beforehand, but there was not enough space on disk (needed 1.6GB) so opatch complained and would not continue. I simply restarted the database without having run opatch. I cannot imagine that this is the cause of this problem.
    Anyhoo...
    I have a script from Kyle Haileys web site to get the CPU for each sql_id using ash tables:
    -- (c) Kyle Hailey 2007
    col type for a10
    select * from (
    select
    ash.SQL_ID , ash.SQL_PLAN_HASH_VALUE Plan_hash, aud.name type,
    sum(decode(ash.session_state,'ON CPU',1,0)) "CPU",
    sum(decode(ash.session_state,'WAITING',1,0)) -
    sum(decode(ash.session_state,'WAITING', decode(wait_class, 'User I/O',1,0),0)) "WAIT" ,
    sum(decode(ash.session_state,'WAITING', decode(wait_class, 'User I/O',1,0),0)) "IO" ,
    sum(decode(ash.session_state,'ON CPU',1,1)) "TOTAL"
    from v$active_session_history ash,
    audit_actions aud
    where SQL_ID is not NULL
    and ash.sql_opcode=aud.action
    and ash.sample_time > sysdate - &minutes /( 60*24)
    group by sql_id, SQL_PLAN_HASH_VALUE , aud.name
    order by sum(decode(session_state,'ON CPU',1,1)) desc
    ) where rownum < 10
    This give following output:
    SQL_ID PLAN_HASH TYPE CPU WAIT IO TOTAL
    cxk376gut06wn 3831248992 SELECT 12 145 5855 6012
    4ffvdt72n46yt 4094592372 SELECT 0 3 1131 1134
    dnxgm7bg8wqg1 4025412530 SELECT 3 13 337 353
    3y0dyvkc9sx69 1764840833 SELECT 18 169 56 243
    abz05715h08ct 1967470119 SELECT 0 7 175 182
    4gd6b1r53yt88 0 UNKNOWN 0 92 4 96
    9phhuzxpqwsgc 2662599208 SELECT 0 67 0 67
    275bbj5czbrwp 629013258 SELECT 0 2 64 66
    1dvrrg3aah2mu 75914095 SELECT 0 6 57 63
    My assumption is that this gives the average CPU usage over the last x minutes and the total cpu usage for this sql_id. There are no sql running that show a very high average CPU, but the total is up in 6000 for the longest running sql, so I get the statement for the top sql_id that has highest total, and it is this:
    SQL_ID cxk376gut06wn, child number 2
    SELECT NVL(MIN(ID),0) FROM TABLE_OBFUSCATED WHERE TASK = :B1 AND
    STATUS='JobQueue' AND MESSAGE_ID IS NULL
    Plan hash value: 3831248992
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | 3231 (100)| |
    | 1 | SORT AGGREGATE | | 1 | 42 | | |
    |* 2 | TABLE ACCESS FULL| TABLE_OBFUSCATED | 3 | 126 | 3231 (1)| 00:00:39 |
    Predicate Information (identified by operation id):
    2 - filter(("TASK"=:B1 AND "STATUS"='JobQueue' AND "MESSAGE_ID" IS NULL))
    It doesn't seem to fit! It's such a simple statement, but according to ash this is the sql using the most total cpu over the last 30 minutes?? So I create a temp index on the filter and check the plan for the statement again, and it uses the index, but I need to kill the session or bounce the database for the new plan to be used because the currently running session is still using the old plan. Customer was desperate to get it down so I even tried flushing the shared pool but new plan does not get used. I did not want to restart the database. Do I have to kill all sessions using that plan for the new one to take effect?
    Now im stuck. I don't really know how else to get an accurate picture of which sql is currently consuming CPU. I need to know this to try to fix the SQL because stopping the application is not an option, even if it is throwing too much at the database. The only other option I can think of is setting up profile limits for cpu consumption in oracle, but then the job will likely take an unacceptable amount of time for the customer.
    So my questions are:
    1. How else can I check which SQL is using CPU accurately?
    2. Does the SQL I show above accuratlely display current average CPU over x minutes with ASH? Why is it so low for the top consumer but my CPU is still at 100% on the OS?
    Thankyou for your help.

    Yeah, OK, I can see an arbitary number for CPU used since session startup (what does that refer to by the way? It can't be percent), and I can see that one user has consumed massive amounts of CPU compared to all other sessions, but he is currently not running anything, so how can I see which SQL he ran in the past day that cuased all that CPU consumption? Can I do this without AWR?
    By the way, do you need a Diagnostic Pack license for simply viewing the Performance tab of dbconsole? I Can go into dbconsole and see history for 2 days back and see the massive espike that caused CPU consumption, but when dbconsole displays the list of top SQL and top sessions under the graph, is it the top listed SQL that consumed the most cpu or do you need to correlate the colours, i.e. find the SQL listed in top SQL that has the same colour as CPU usage on the graph (green) even if it is not listed as the top "consumer" (which I assume means top AAS consumer: overall consumption of all resources)?

  • Can any one tell me when i use adobe flash media encoder how can i see my live vidoes on flash media

    can any one tell me when i use adobe flash media encoder how can i see my live vidoes on flash media server . thnx

    Flash Player version 10.1.102.64 is the last version available to PPC Mac users. However, this Flash version won't work for many videos on Facebook, YouTube and other sites. Adobe's latest version, 10.2.x or later, is only for Intel Macs. Adobe will not provide a newer Flash version for PPC Macs.
    The message requesting that you download Adobe Flash Player takes you to Flash Player requiring an Intel processor. Doesn't work on a PowerPC processor. I found a hack, installed it & it works with Firefox, TenFourFox & Safari.
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
    Hack Allows PowerPC Macs to Access Flash 11 Content
    http://lowendmac.com/ed/royal/12sr/flash-11-and-powerpc.html
     Cheers, Tom

  • I used Time Machine to recover my Pictures folder. This created a folder called Pictures (original) but I cannot open it.  There is a do not enter roadsign, red disk and white bar on it.  How can I see the contents?

    I used Time Machine to recover my Pictures folder. This created a folder called Pictures (original) but I cannot open it.  There is a do not enter roadsign, red disk and white bar on it.  How can I see the contents?

    Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    chmod -R -N ~
    The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
    sudo !!
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • My one year old macbook pro is full.  :  (   How can I see what's taking up all the GB?

    My one year old macbook pro is full already.  :  (   How can I see what's taking up all the space?  I cannot download anymore pictures.  It's running slower than usual.

    OmniDiskSweeper (free) - http://www.omnigroup.com/applications/omnidisksweeper/download/
    Archive files onto other media until your hard drive has at least 10% of its total size free, or at least 15+ GB at all times.

  • How can i see the "manage devices" in my itunes account? because i want to remove a device from using my apple id. tnx so much

    how can i see the "manage devices" in my itunes account? because i want to remove a device from using my apple id. tnx so much

    Thanks pvonk, I will try downloanding the book from the Iphone right now.......
    Just tried to download and it wants me to buy it again?  Is there some way around this?  I guess I thought that was the whole point of the cloud, buy it once and access from any of your devices right?
    Also, I have logged into the icloud.com as suggested and will plink around there for a bit and try to understand.  It is just all so dang different that what I am used to; Apple's way, that is.
    Thanks again for the Icloud tip and if you know of a way to download without making a 2nd purchase I would sure love to hear it!
    Geez. one other thing (I guess I am complaining) but I bought more space in the cloud, they took my cash fast enough but have not yet increase the size of my storage space yet?  Is Apple sometimes slow to get internal stuff done?

  • How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?

    How can I see if my program is for more than one user? We think we have bought in design for more users, but can not find out how to get in for more than one?

    If you bought a CC for team, you can log in at http://adobe.com and insert the e-mail that you gave at the moment at the purchase and than you can manage and see you product/plan/team.
    If I was not clear you can use the following link to help you solving your issue:
    Creative Cloud Help | Manage your Creative Cloud for teams membership
    If your not clear about this situation, contact with an agent of Adobe, by chat or phone. Use the following link to see the type of support you have on this matter:
    http://adobe.com/getsupport
    I think this will help you.
    Regards

  • How can I see the information about a file used in a sequence?

    How can I see the information about a file used in a sequence?

    You can use pretty much any two or multiple button mouse on a Mac, right out of the box.
    I use this one: http://www.apple.com/mightymouse/

  • How can i see the text of one view?

    I want to see the text of one view stored in my Oracle DB, then i run the next query:
    SELECT TEXT FROM ALL_VIEWS WHERE VIEW_NAME = view_name;
    The problem is that the information return me truncated.
    How can i see the text of one view?
    Sorry, my English is terrible.
    I'm from Argentina.

    Use 'set long 100000000' at sql prompt. Run your query again.

  • How can one find out how much hard drive space the apps and media are using?

    how can one find out how much hard drive space the apps and media are using?

    See Here  >  Where did my Disk Space go?
    And Here  >  The Storage Display

  • How can one use Mission Control with two monitors?  Please bring Spaces back

    How can one use Mission Control with two monitors.  With Spaces I could treat each space as a single desktop.
    SyBB

    I use two monitors at work and have no issue. I have my mail set to use Desktop 1 and iTunes set to the second monitor of Desktop 1. I have browsers set to Desktop 2 and Fusion and RDC set to Desktop 3.
    Two things that may help you. In System Preferences > Mission Control, disable the setting "Automatically rearrange spaces...". This screwed with assigning applications to certain spaces. And the other thing is don't use full screen on apps that support it. This just makes your second monitor superfluous.

  • How can I see how often and where an image is used in the site?

    Just realized the post appeared twice as at first sending I
    got an error page (contains no data...).
    So, please do all answer to the other post, so that all
    replies get collected at one post only.
    Hello,
    please excuse my maybe dumb question but converting from
    GoLive I am still trying to find several practical effective
    workflow features in DW ...
    1. where in the sitewindow/assets or files panel can I see an
    indication at each image if and how often it is used in a site?
    2. and where can I see/check on which pages it is used?
    Thanks in advance for guiding me there ...
    bye,
    Beate

    > How do DW users know how often and where an image is
    used on the site
    > then?
    I'm not sure what the benefit is of knowing how often an
    image is used, but
    a search for the image by filename would do the trick.
    And just so you'll know, this is a peer forum, not an
    official communication
    vehicle to Adobe. We are all just users here, not Adobe
    employees.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "beatrice" <[email protected]> wrote in
    message
    news:[email protected]...
    > OK. I sent the below feature request.
    > How do DW users know how often and where an image is
    used on the site
    > then?
    > always doing a find/search?
    > in GoLive there was an simple window where all the files
    a page consisted
    > of
    > were listed plus all the files that were pointing to
    that page. such,
    > without
    > having to open a page links and image and componentes
    etc. could be
    > changed via
    > point&shoot.
    >
    > Couldn't you all think of this a being great and helpful
    and making site
    > management easy? Then send in a feature request as well,
    please.
    >
    > ...............
    > How can one know by the assets or files list if an image
    is used at all on
    > the
    > site?
    > and how many times? and on which pages?
    > This is very useful to know especially in larger sites.
    > e.g. an image should get changed on one page, now it
    would be very good to
    > see
    > if when it was used on other pages as well if it would
    make still sense
    > there
    > when changed.
    > as DW can update files (when e.g. an image name gets
    changed) there is a
    > way
    > this is already recorded. why not take this records and
    send this back
    > into a
    > list/column in the files panel to indicated that the
    image is used and
    > how
    > many times.
    > plus to have another window that can display all the
    pages the image is
    > used
    > in.
    > so one could click through all those pages and open them
    to check the
    > image
    > there.
    > in GoLive that feature was called 'In and Out links' and
    one could see a
    > page
    > in the middle and left and right from it many
    branches/lines at which ends
    > the
    > filenames were visible used in that page.
    > so one e.g. could also point and shoot from this list
    and change a file or
    > image or component simply by point and shooting to the
    files panel without
    > having to open the pages.
    > These features were so practical for an effective daily
    workflow that I
    > don't
    > understand why they haven't been put into cool DW yet.
    Please, please do
    > so in
    > the next release. I can test it thoroughly if you need
    testers for it.
    > bye,
    > beate
    >

  • How can I see from my contact who use iphone (ios 5) for contact with imessage?

    How can I see from my contact who use iphone (ios 5) for contact with imessage?

    Well, let take the personal service point of view : let say, I had two calendars on my iCloud account : one for work, one for my leisure activities.
    On my MacBook Pro that I use at home as well as at my office, I would want the two calendars to show and since I am alone in my office, I would want the alerts for both my work and my leisure activities to show (and make a sound at the same time).
    But on my iPad that I only use at home, I would only want my leisure activities alerts to show (and make a sound) and on my iPhone that I only use for work, I would only want my work alerts to show (and make a sound).
    That is a personal service that simply does not work.
    Why would Apple give us the opportunity to hide some calendars on certain devices but not allow us, on these same devices, to switch off the alerts linked to these calendars that we have chosen to hide ? Why having alerts of calendars that do not even show on these devices ?
    And I am an Apple fan since 1984, since the very first Mac. I still do believe Macs and Apple devices and/or software (iOS, OS X and others...) are much better and much more efficient than " Microsoft, Windows, Google and other Android devices and software.
    But that does not mean everything's perfect (and I find that quite normal).
    Nevertheless, in this case, letting alerts make a sound on a device where a specific calendar is not shown, that does not make any sense : when uncheking those calendars, the alerts linked to those calendars should be automatically switch off (but alerts should be able to work on the calendars that are shown.)

Maybe you are looking for

  • If your iPad has a dent that effect the functioning of something does apple keep the iPad to work on it?

    I recently noticed that a dent was on the side of my iPad that effects the proper functioning of the volume controls. I have AppleCare on my iPad. But will apple keep my iPad to work on it? Thank you in advance!

  • HT1911 how do you reset the security questions?

    I tried to buy a movie on iTunes and when asked to type in the anwer to my secutity questions I was locked out after numerous attempts. I clicked the link to send me an email to do so but I have not received any emails and it's been 2 days.

  • Error in J2EE WAS 2004s Upgrade from SP04 to SP07

    Hi All, When I try to upgrade the WAS Engine from SP04 to SP07 NW2004s I get the error enclosed below: <!LOGHEADER[START]/> <!HELP[Manual modification of the header may cause parsing problem!]/> <!LOGGINGVERSION[1.5.3.7185 - 630]/> <!NAME[F:\usr\sap\

  • ACR will not synch "all"

    I posted this in the Photoshop forum, but then I saw this would be a better place for it: When I go to Adobe Camera Raw to work on my RAW files, I adjust one file and crop it like I want it.  I then click on Synchronize and select "All". It used to c

  • "An error has been detected with a required application library"

    Hi All, I installed Audition 3.0 on a new laptop running Windows 7 Home Premium.  The installation goes fine but when I try to run the program it fails and I get this message, "An error has been detected with a required application library and the pr