Oracle execution breaks immedietly when CNTRL-C is hitted

Hi,
I have a pro c program that connects to oracle and executes a stored procedure. This is done in a while loop. An intrrupt signal function is done(catches CNTRL-C signal), which makes the varibale in while loop false and exits normally in coming loop. But when i hit CNTRL-C , the oracle execution breaks immedietly with errors such as
"ora-01013 user requested cancel of current operation".
I dont want this to happen. I want the oracle procedure execution completes and in next while loop the program should exit. Is there any way to accomplish this?

Hi,
You might try to register your own signal handler as described here:
http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/prcmp_cll_int.htm#sthref437
That may allow you to accomplish what you want.
Regards,
Mark

Similar Messages

  • Oracle execution in C program exits immediately when CNTR-C is hitted

    Hi,
    I have a pro c program that connects to oracle and executes a stored procedure. This is done in a while loop. An intrrupt signal function is done(catches CNTRL-C signal), which makes the varibale in while loop false and exits normally in coming loop. But when i hit CNTRL-C , the oracle execution breaks immedietly with errors such as
    *"ora-01013 user requested cancel of current operation".*
    I dont want this to happen. I want the oracle procedure execution completes and in next while loop the program should exit. Is there any way to accomplish this?

    You probably want to capture the exceptions and handle them.
    Refer to [PL/SQL 101 : Exception Handling|http://forums.oracle.com/forums/thread.jspa?threadID=697262&tstart=50]

  • Oracle warehouse builder error when I execute any mapping

    oracle warehouse builder error when I execute any mapping:
    I have installed OWB successfuly, It still no longer working correctly: it executed all the mappings, but it suddenly becomes incapable to execute any mappings in any project. It validates successfuly the mappings but in the execution it show the message :
    " ora-06550 : ligne1 colonne19..."
    please help me to correct this error.
    thank you.

    Make sure that there is no primary key or index on this table who exceed the limit.
    For more information see
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_wm2.htm#105677

  • Oracle Execution Plan

    Hi!
    How come the Oracle execution plan doesn't show inner select statements?
    ie:
    select s.id, (select name from anothertable where id = s.id)
    from subs s
    where s.createdate < '20-March-2005'

    Which version of database are you running?
    When you run the following query on SCOTT schema, what type of plan do you get?
    SQL> set autotrace traceonly explain
    SQL> select d.*, (select sum(sal) from emp e where e.deptno = d.deptno) from dept d ;
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=2 Card=327 Bytes=981
              0)
       1    0   SORT (AGGREGATE)
       2    1     TABLE ACCESS (BY INDEX ROWID) OF 'EMP' (Cost=2 Card=3333
              3 Bytes=166665)
       3    2       INDEX (RANGE SCAN) OF 'IDX_EMP_DEPTNO' (NON-UNIQUE) (C
              ost=1 Card=33333)
       4    0   TABLE ACCESS (FULL) OF 'DEPT' (Cost=2 Card=327 Bytes=9810)
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    SQL>

  • ORACLE Not Available - only when logged on as another user

    I can't figure out what I forgot. I installed everything (RH 6.1
    and standard) and can login as internal from user oracle no
    problems.
    When I login from a user I have granted dba to I get Error
    01034: ORACLE not Available. This is in sqlplus. I am sure it is
    something obvious as I had it working before my 5th reinstall.
    Thanks,
    Jon Griffin
    null

    Jon,
    Are you sure that the Database is started? You will get this
    error if it isn't.
    Chris
    Jon Griffin (guest) wrote:
    : I can't figure out what I forgot. I installed everything (RH
    6.1
    : and standard) and can login as internal from user oracle no
    : problems.
    : When I login from a user I have granted dba to I get Error
    : 01034: ORACLE not Available. This is in sqlplus. I am sure it
    is
    : something obvious as I had it working before my 5th reinstall.
    : Thanks,
    : Jon Griffin
    null

  • Oracle doesn't started when When I reboot the Server.

    Dear All,
    I have installed 10g using ASM and Oracle-managed files on a Windows Server 2003 (Second Edition , Service Pack 1 ) system . I have put no data in, and I take the defaults. It works fine - until the system reboots.
    Oracle doesn't started when When I reboot the Server.
    Here is what I get from sqlplus, following the instructions to start an ASM instance:
    SQL*Plus: Release 10.1.0.2.0 - Production on Mon Oct 11 10:47:53 2006
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> startup
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file '+DATA0/10g/spfile10g.ora'
    ORA-17503: ksfdopn:2 Failed to open file +DATA0/10g/spfile10g.ora
    ORA-15077: could not locate ASM instance serving a required diskgroup
    Thanks for helping,
    Debraj Banerjee

    It look like your ASM instance is not yet started. Try the following:
    $>export ORACLE_SID=+ASM (set ORACLE_SID=+ASM if you are on Windows)
    $>sqlplus /nolog
    SQL>startupThen you start up your other instance.

  • PDF files break up when scrolling down the page

    Embedded pdf files break up when scrolling down the page i.e.
    http://www.wight-cam.co.uk/WightCAM/HTML/2011/110321.htm

    Go to the "inspector"-click on the "table" icon-then "headers and footers" where you can set the number of headers or footers you want and click/unclick "freeze". You can also do that directly from the button bar on the "header-footer" buttons

  • Where to put break point when debugging the inbound IDOC processing

    Hi, Dear Experts,
    If IDOC has error and want to debug, which program or function module  to put break point when debugging the inbound IDOC processing
    Thank you so much!
    Helen

    It depends on if you have the custom FM or standard FM...Is it MM invoice or FI invoice? ... You can find out your FM by going to partner profile (WE20) for your sender partner and partner function.. Drill down to your partner and the message type and find the inbound process code.. Double clicking on the process code will help you find the FM...
    If you don't have access to WE20, You can also put BP into any of the IDOC_INPUT_INVOIC* FM and see if it is getting triggered (assuming your IDOC is standard FM)...

  • Y does the cd break up when its downloaded

    why does the cd break up when its downloaded

    It may not be convenient  long term but if you can test with ethernet and see if the problem goes away, then you'll have identified wifi as the issue.
    If problem persists on ethernet it's something else.
    AC

  • My phone sounds like its breaking up when I call. Then when the other person answers all I hear is my voice echoing and all they hear is static

    My phone sounds like its breaking up when I call.
    Then when the other person answers all I hear is my voice echoing and all they hear is static
    Same happens when they call me.
    Data over the phone - to Vodaphone - is fine. I can browse. With or without wifi.
    My speaker and mic work fine.

    I think the fault just developed out of the blue. I called somebody left the phone on the table downstairs the person tried to call me back 11 times and I never heard them. When I tried to call later in the day the phone had an error.
    When try to phone my iPhone from the land line the ring tone is perfect but I get the same problem with my iphone just echoing my voice and nothing else - and the landline having loud static and nothing else.

  • Fireworks generated HTML page breaking apart when text resized

    What's the best way to prevent the Fireworks generated slice
    gifs from breaking apart when a browser increases the text size in
    IE?

    #nav li {
    list-style:none; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "AndyBute" <[email protected]> wrote in
    message
    news:ef5jb5$8hc$[email protected]..
    > Hi,
    > Thanks for the suggestions. I've rewritten the site
    using a DIV layout in
    > CSS.
    > On small tjing that has cropped up is that I can't
    remove the bullet
    > images on
    > my menu. Take a look at the site at
    http://www.360iview.co.uk
    > The bullet images are crampimg the already tight space
    on the menu.
    > Can you see where the problem is
    >
    > Thanks
    >
    > Andy
    >
    > Here's the CSS and XHTML code:
    >
    >
    > #nav {
    > list-style-image:none;
    > position: absolute;
    > top: 295px;
    > left: 679px;
    > width: 120px;
    > }
    > .menu a:link, .menu a:visited, .menu a:active {
    > color: #FFFFFF;
    > text-decoration: none;
    > font-family: Verdana, Arial, Helvetica, sans-serif;
    > font-variant: none;
    > font-size: 12px;
    > font-weight: bold;
    > }
    > .menu a:hover {
    > color: #FF6600;
    > text-decoration: none;
    > }
    >
    >
    > <div id="nav" class="menu">
    > <?php page_menu(); ?></div>
    >

  • Oracle on Liniux Alpha - When ?

    Dear Linux and Oracle Afficionados
    When you whant to get an Oracle job done an Alpha seems the
    only proper way to go. With the new processor comming out in
    jan 1999 at something like 8000$ for at cpu+MP doing 30 specint
    an Oracle Linux Alpha port is very interesting.
    Rgds
    Henrik
    PS: This is the question: Oracle on Liniux Alpha - When ?
    null

    We are looking at installing an Extreme Linux cluster using
    hardware from AltaTechnologies (http://www.altatech.com) and
    would very much like a version of Oracle for Linux Alpha.
    We are looking at purchasing a solution in the next month.
    Has anyone tested Oracle for Digital Unix on Linux Alpha? This
    may very well work.
    Does Oracle take advantage of 64 bit filesystems on any platform?
    Would it be possible to use Oracle for x86 Linux under Digitals
    (should I say Compaq's?) fx!32? I thought it was available for
    Linux as well?
    Peter Chen (guest) wrote:
    : Judging from the support given by the Oracle Linux Development
    : Team on this forum, I am not too sure whether Oracle is really
    : serious about their Linux port, even on intel hardware. There
    are
    : a number of known bugs in Oracle on Linux (multi-threading?)
    and
    : especially, OAS 3.0.2 on Linux (performance issue). The amazing
    : thing is that Oracle Singapore/South East Asia flatly denies
    that
    : the Linux support/platform exists!
    : Hey, if Oracle is not serious about Oracle on Linux, even on
    : low performance intel platform, you can forget about Linux on
    : Alpha or PPC or SPARC platforms. Those higher performance
    : platforms will compete with the (more expensive?) commercial
    Un*x
    : platforms.
    : I am trying to replace our NT servers running Oracle with Linux
    : servers, but has limited success because of some bugs in Oracle
    : 8.0.5 and OAS 3.0.2 for Linux. I hope Larry Ellison doesn't
    : engage in empty M$/Bill Gates bashing just because he is
    envious
    : of the success of M$. To prove that he is really serious about
    : alternatives to NT, Oracle on Linux should be better (faster
    : and more stable/enterprise support) than Oracle on NT, at least
    : on the same intel platforms, at the same or lower cost.
    : Regards
    : Peter
    : Senior Tech Support Engineer
    : Henrik Lassen (guest) wrote:
    : : Dear Linux and Oracle Afficionados
    : : When you whant to get an Oracle job done an Alpha seems the
    : : only proper way to go. With the new processor comming out in
    : : jan 1999 at something like 8000$ for at cpu+MP doing 30
    specint
    : : an Oracle Linux Alpha port is very interesting.
    : : Rgds
    : : Henrik
    : : PS: This is the question: Oracle on Liniux Alpha - When ?
    null

  • Could we autoextend a datafile when it's size hits a defined threshold

    Hi all,
    I have one doubt, could we be able to autoextend a tablespace datafile when it's size hits a defined threshold? For example if my datafile size is 10G, and the autoextend is on,
    1. will there be any options to grow it's size automatically (say when the usage reaches 9.5G, size of the datafile should automatically be extended to 11G) ?
    2. And if we are using auto extend on for a data file, will there be any performance impact at the time when the size of the datafile gets full during some transactions and the datafile is about to extend to the next size ? I mean from the application point of view, will it behave the same way as some transactions(insertions) takes place in a datafile that already have enough free space for insertion?
    Thanks in advance

    Just to add few points to what Sybrand has mentioned,
    You can't ask Oracle to add a specific amount of free space. It'll extent by extent.
    Performance impact will be there anyway as the process trying to write the data have to wait until Oracle allocates free blocks.
    So if you feel, your datafiles will be filled up with a high frequency, better to use some fairly large value for the parameter nextextent. So whenever the DBWR make a call to the extents to be added, Oracle will add extents of big sizes and can reduce the frequency of calls b/w dbwr and the extents allocation process.
    btw, Please mark the question as 'answered' if you feel you got the needed information. This will save the time of the people who may answer an already answered question.
    regards,
    CSM
    Edited by: CSM.DBA on Aug 11, 2012 8:36 PM

  • How to set Preferences such that new tabs open to same page as active when Command-T was hit?

    On opening a new tab, the tab by default opens to thumbnails based on recent history. A la Safari, I want the new tab to open *to same page as was active when Command-T was hit*. What are the specific steps to take, to set as the default (preference), new pages to open to "Same page"? ("Same page" is Safari's check box in its Preferences.)
    Note, I have navigated available Mozilla Support, and using about:config have reset browser.newtab.url so that the new tab appears blank (discontinuing tracking of recent history for this purpose).
    Note, more importantly, I have found this Support Forum article, which, though challengingly written, has given me a temporary solution:
    * https://support.mozilla.org/en-US/questions/891635
    (The temporary solution for the Mac OS is to Command-click on the "Reload current page" icon in the url/Address box in the browser toolbar, which opens a new tab in the same window.)
    However, I would still like to set this as a permanent Preference, and would ask someone communicate a solution to me. Cheers, LeProf

    ''LeProf_7272 wrote:''
    if I can possibly just create a new config line
    You can't, which is why I suggested the above add-ons. There is no option in the UI or hidden preference in Firefox that can duplicate a tab whenever you open a new tab. ''browser.newtab.url'' can only be set to a fixed address, not whatever address happens to be open in the current tab.
    The are only two built-in methods for duplicating a tab:
    # Hold down the '''Option''' key and drag the tab to a new position on the tab bar.
    # Hold down the '''Command''' key and click the Reload button in the address bar.
    * [[Use mouse shortcuts to perform common tasks in Firefox]]
    You can make feature requests by filing enhancement bug reports, or by opening the Help menu and clicking Submit Feedback.
    * https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines
    * https://input.mozilla.org

  • How an INDEX of a Table got selected when a SELECT query hits the Database

    Hi All,
    How an Index got selected when a SELECT query hits the Database Table.
    My SELECT query is as ahown below.
        SELECT ebeln ebelp matnr FROM ekpo
                       APPENDING TABLE i_ebeln
                       FOR ALL ENTRIES IN i_mara_01
                       WHERE werks = p_werks      AND
                             matnr = i_mara_01-matnr AND
                             bstyp EQ 'F'         AND
                             loekz IN (' ' , 'S') AND
                             elikz = ' '          AND
                             ebeln IN s_ebeln     AND
                             pstyp IN ('0' , '3') AND
                             knttp = ' '          AND
                             ko_prctr IN r_prctr  AND
                             retpo = ''.
    The fields in the INDEX of the Table EKPO should be in the same sequence as in the WHERE clasuse?
    Regards,
    Viji

    Hi,
    You minimize the size of the result set by using the WHERE and HAVING clauses. To increase the efficiency of these clauses, you should formulate them to fit with the database table indexes.
    Database Indexes
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    reference : help.sap.com
    thanx.

Maybe you are looking for

  • Authentication rerror on weblogic

    hi, I had created a user in weblogic with provider as OpenLdapAuthenticator and made it default. Now i am not able to start the weblogic server..

  • JDialog woes, has anyone solved these yet?

    I can't seem to find a solution to the following two JDialog problems. They seem to have existed for a few years, but I can't find a solution. 1. Any JDialog windows that I use doesn't take the icon of it's parent frame. Just a cosmetic thing, but I

  • Default Project Sequence on open

    When opening a project it always by default opens one particular sequence. I want it to open the last sequences that I had open on the timeline when I last saved, not an old sequence from way at the beginning of the project. Is there a way to toggle

  • HELP! -- Slideshow ****

    I have tried many programs to create a QuickTime movie of my narrated slideshow, to no avail... I have a bunch of 1024 x 768 slides, which I want to stay at that resolution in a final QT movie which is 1024x768 sized. I have a narration soundtrack, a

  • Your opinions about workflow

    Final Cut Pro is a relatively flexible application with many ways to get to the same outcome. I was just wondering how some of you go about setting up a large project. For instance I have one where I have about 10 hours of raw footage. I've set up lo