Flush memory in Loop

I am trying to flush the memory in between the loop. But I am getting an error while doing so. pls suggest. I am using 10g. Here is the code:
BEGIN
for c2 in (select seq, function_name from REP_FUNC_LIST order by seq)
loop
dbms_output.put_line('Seq_Number - '||c2.seq||'; Function - '||c2.function_name);
EXECUTE IMMEDIATE 'BEGIN '||c2.function_name||'.START_PROCESS;'||' END;';
ALTER SYSTEM FLUSH BUFFER_CACHE;
end loop;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('ERROR') ;
END;

I tried both ways. got rid of EXCEPTION and wrote EXECUTE IMMEDIATE. I am still getting an error: ORA-00911: invalid character.
BEGIN
for c2 in (select seq, function_name from REP_FUNC_LIST order by seq)
loop
dbms_output.put_line('Seq_Number - '||c2.seq||'; Function - '||c2.function_name);
EXECUTE IMMEDIATE 'BEGIN '||c2.function_name||'.START_PROCESS;'||' END;';
EXECUTE IMMEDIATE 'ALTER SYSTEM FLUSH SHARED_POOL;';
end loop;
END;
ALTER SYSTEM FLUSH SHARED_POOL;

Similar Messages

  • Help required - How to flush memory for XML files ?

    Hi,
    I am receiving files with filenames like FILE_001.xml, FILE_002.xml, etc. all with the same XML format.
    I need to process each file by order of their filename and load them into the same table.
    I created a loop that renames each file to a standard filename, FILE.xml , and load into the table.
    However, when I process the 2nd file ie. FILE_002.XML to FILE.xml, the data in FILE_001.xml is loaded again. The data in FILE_001.XML still exists in memory.
    Need your advice how to get pass this problem.
    Thanks.
    Philip

    Hi Philip,
    You can use a TRUNCATE SCHEMA command on the XML Logical schema to remove the content previously loaded and then a SYNCHRONIZE FROM FILE to load the content of the new file in the backend. Refer to the XML Driver documentation in the ODI Documentation Library (Detailed Drivers Command).
    These commands should be included in an ODI procedure that you can use in your loop.
    Thanks,
    Julien

  • Removing items from memory using loop

    The following for loop removes children from their parent if
    they're in the display list. It works correctly, but I also want to
    remove each child from memory with the same loop. I can't get it to
    work correctly however.

    I have tried multiple items in the loop to set each child to
    null before or after it's removed.
    Here are some:
    this.child = null;
    var target = this.getChildAt(0);
    target = null;

  • Repmgr crash, allocating bogus memory size

    I've encountered a problem with BDB version 4.7.25 which is causing the repmgr thread to panic and abort.
    Running the code in GDB I've traced the issue down to the dispatch_phase_completion() call in repmgr_sel.c, line 772 where the variable control_size is set. The value that control_size is set to causes the subsequent __os_malloc() call to fail.
    Both the master and client in this example are running on the same system, each has their own environment and are both starting with an empty environment root directory.
    Although I am clear on why the system is failing, I am unsure how to proceed on debugging the repmgr protocol itself to understand why the message sent over the wire results in such bogus data.
    Here is a backtrace from GDB just before the failure:
    #0 dispatch_phase_completion (env=0x81fc9b8, conn=0x825e318) at ../dist/../repmgr/repmgr_sel.c:773
    #1 0x081371b2 in __repmgr_read_from_site (env=0x81fc9b8, conn=0x825e318) at ../dist/../repmgr/repmgr_sel.c:733
    #2 0x08135d47 in __repmgr_conn_work (env=0x81fc9b8, conn=0x825e318, reads=0xbf5ff9e0, writes=0xbf5ff960, flow_control=0)
    at ../dist/../repmgr/repmgr_posix.c:710
    #3 0x08135b59 in __repmgr_select_loop (env=0x81fc9b8) at ../dist/../repmgr/repmgr_posix.c:655
    #4 0x081361af in __repmgr_select_thread (args=0x81fc9b8) at ../dist/../repmgr/repmgr_sel.c:56
    #5 0x4001d0ba in pthread_start_thread () from /lib/libpthread.so.0
    #6 0x4001d101 in pthread_start_thread_event () from /lib/libpthread.so.0
    #7 0x400fad6a in clone () from /lib/libc.so.6
    And I've also included the trace from both the master and the client:
    h4. Master Output
    REP_UNDEF: rep_start: Found old version log 14
    CLIENT: db rep_send_message: msgv = 5 logv 14 gen = 0 eid -1, type newclient, LSN [0][0] nogroup nobuf
    CLIENT: starting election thread
    CLIENT: elect thread to do: 0
    CLIENT: repmgr elect: opcode 0, finished 0, master -2
    CLIENT: elect thread to do: 1
    CLIENT: Start election nsites 1, ack 1, priority 100
    CLIENT: Tallying VOTE1[0] (2147483647, 1)
    CLIENT: Beginning an election
    CLIENT: db rep_send_message: msgv = 5 logv 14 gen = 0 eid -1, type vote1, LSN [1][8702] nogroup nobuf
    CLIENT: Tallying VOTE2[0] (2147483647, 1)
    CLIENT: Counted my vote 1
    CLIENT: Skipping phase2 wait: already got 1 votes
    CLIENT: Got enough votes to win; election done; winner is 2147483647, gen 0
    CLIENT: Election finished in 0.017633000 sec
    CLIENT: Election done; egen 2
    CLIENT: Ended election with 0, sites 0, egen 2, flags 0x200a01
    CLIENT: Election done; egen 2
    CLIENT: New master gen 2, egen 3
    CLIENT: Establishing group as master.
    MASTER: rep_start: Old log version was 14
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type newmaster, LSN [1][8702] nobuf
    MASTER: restore_prep: No prepares. Skip.
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][8702]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][8785]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][8821]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][8904] perm
    MASTER: rep_send_function returned: -30975
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][8948]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][9034]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][9115]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][9202]
    MASTER: db rep_send_message: msgv = 5 logv 14 gen = 2 eid -1, type log, LSN [1][9287] flush perm
    MASTER: rep_send_function returned: -30975
    MASTER: election thread is exiting
    MASTER: accepted a new connection
    malloc: 1147497993: Cannot allocate memory select loop failed: Cannot allocate memory
    PANIC: Cannot allocate memory
    h4. Client Output
    REP_UNDEF: rep_start: Found old version log 14
    CLIENT: db2 rep_send_message: msgv = 5 logv 14 gen = 0 eid -1, type newclient, LSN [0][0] nogroup nobuf
    CLIENT: starting election thread
    CLIENT: elect thread to do: 0
    CLIENT: repmgr elect: opcode 0, finished 0, master -2
    Regards,
    Chris

    What platform is this running on?
    Are both master and client running identical copies of the Berkeley DB
    library code, configured and compiled in the same way? (Since you
    mention that both are running on the same system, I suppose they're
    probably both just running from a single copy of an executable program
    file; but I have to ask just to make sure.)
    What sorts of configuration settings have you made at both master and
    client?
    The easy way to start: while debugging, at the point you mentioned
    (repmgr_sel.c:773), what do you see if you dump out conn->msg_type,
    conn->control_size_buf and conn->rec_size_buf? Those should be the
    fields that contain the first 9 bytes read from the socket. I wonder
    if perhaps somehow the ntohl() operation isn't working properly.
    Or, you could go down a level, and try dumping out the scatter-input
    buffers at the readv call as soon as the bytes come in. For example,
    in the function __repmgr_read_from_site(), around line 727 of
    repmgr_sel.c. But that seems harder, because it would require
    navigating a bit of a complicated data structure (an array of iovec
    buffers).
    It looks as if the master gets to this problem immediately after
    accepting the incoming connection from the client, probably on the
    very first message it tries to read. So presumably dumping out all
    the incoming bytes wouldn't produce a lot of output.
    Alan Bram
    Oracle

  • Socket Flush Bug in Windows (JRE1.4.2)

    It may be a bug or a OS (windows) specific issue.
    The problem is:
    You have a socket and an OutputStream (DataOutputStream or
    BufferedOutputStream).
    If you do two write/flush in a loop, the second write
    one will be stuck in the underlying socket buffer.
    And, no matter what you do, you cannot flush it. I tried everything,
    even getFD().sync(), but it did not work. (SyncFailedException)
    Then when you do another write/flush (the third one) the second one
    finally goes to the server. But now you have the third one stuck !!!
    I just found out that if you put a Thread.sleep(100) in between the
    write/flush, it works !!!! But that's scary.
    Another possible workaround is to avoid multiple writes, in other
    words, never do a write in a loop. If you need to send three byte
    arrays, put them all in a single byte array and send the whole thing
    at once, in a single write. Or use a BufferedOutputStream for that matter.

    Thank you for your reply !!!
    For my surprise, the problem is not with the flush !!!! I am 99% sure this is a bug. Some other people told me it does not happen with Linux.
    Look what I did:
    BufferedOutputStream bos = new BufferedOutputStream(socket.getOutputStream());
    for(int i=0;i<2;i++) bos.write(bytearray); // buffering here !!!!
    bos.flush(); // send the whole thing at once !!!!
    Guess what happened ? IT DID NOT WORK AGAIN !!!!
    The second bytearray got stuck in the socket buffer.
    Now if you do this:
    for(int i=0;i<2;i++) {
    bos.write(bytearray); // buffering here !!!!
    Thread.yield();
    bos.flush(); // send the whole thing at once !!!!
    It works !!! This is very strange.
    EJP, I agree with you, but the situation I am describing should never happen. I must be able to tell the socket to send its contents NOW. It cannot hold its bytes forever, until something else comes along in the stream. Agree ?
    Whenever I have time I will write a test case to isolate the problem.
    Sergio

  • 1.3 memory leak?

    Hi all, I set my LR 1.3 on Vista to create all standard thumbnails on about 20,000 images, and when I came back it was using 700MB memory, and as it was going I saw memory use increase. When I quit and restarted LR was using 190MB. Maybe a memory leak somewhere?
    Regards,
    Cor

    Hi Jeff, it is the fact that I do actually have a grasp of how system allocation, memory management and resource management works that I, without any evil plot to make LR seem bad, tried to point out what could possibly be a problem. If it isn't then im glad, and no need to make me need to put on my flame resistant suit.
    When I see an application doing 1 thing in a loop, in this case creating previews, and at every iteration of that loop use more memory, I thought id ask if thats supposed to happen. In many applications that is a big hint towards a memory leak. Granted, like Matteo I have zero experience in the windows environment, but im pretty fluent in several programming languages on unix systems. Things probably work a lot different there.
    I immediately believe you when you say thats not the case here, but as a techie im interested nonetheless. What's it adding to memory every loop iteration? A memory footprint of 700MB doesnt phase me one bit, I was merely triggered by the slow increase of it after every conversion.
    Regards,
    Cor

  • Help:when is the better time for flush to file.

    I read a line every time from a text file and write to another file in a loop. When i put flush function into loop, the disk will
    make a little noise and i don't feel better. I don't know which is better to flush to file: after every write or after exit from loop.
    Or don't need it at all. Anyone can help me about this?
    Thanks.

    You don't need to flush at all. The operating system will take care about this. When closing the file it will be flushed anyway.
    You can use the flush function if you're continuously writing to a file from one application (keeping the file open) and reading from the file in another application (at the same time). 
    Hope this helps,
    Daniel

  • Mystery Python Process (eating memory & CPU)

    Hi -
    I have been using my 1.83GHz Intel iMac for a day or two. I migrated data from my iBook G4 and I have to say that it went very smoothly. But today the machine has seemed SUPER-slow, and my SysStat widget indicated consistent very high CPU load.
    When I did a top listing in terminal it was confirmed. I am reluctant to kill a process that is a mystery, but this sucker seems to be giant. It varied from 50-55% of CPU, and has left me with 6mb of free memory! I never saw this on my iBook.
    Any ideas what could cause a Python memory leak / looping process? How would I diagnose it? I just tried to kill it and it won't die. Please look at the top screen-cap here (PID 5079 is the one):
    http://www.lewismiller.info/upload/top.jpg
    Help!
    The process remains even after I shut everything down.

    Looks like it was an errant thread from Tomato. Restarting the machine fixed it, and the app now seems to be behaving better. Ta!

  • Trying to clear an array of clusters with image info from memory - overflowing!

    I am using a cluster with IMAQ interface name, session info, image array, and individual image and creating an array of that cluster. I try to clear the cluster by deleting the array elements, read an array of images, save them, and repeat the loop. Over time, though the arrays are tearing through all available RAM. I tried removing local variables (which I understand would save a copy of the entire array to memory every loop iteration) and had no luck - actually the code hangs now on the write function, where it thinks there is no image data. I didn't think I changed anything other than to direct wire where there had been local vars to pass information from one part of the sequence to the next. Help! (screenshots of code attached).
    Attachments:
    framegrab sequence 1.jpg ‏8 KB
    framegrab sequence 1a.jpg ‏47 KB
    framegrab sequence 2 - grab and save.jpg ‏149 KB

    Hi, Nasgul,
    Not sure where you have resources leak - from your screenshots its not clear.
    But one is clear - you may not understand that IMAQ Images in LabVIEW passed by references. So, if you want to create array of images, then for each element IMAQ Create should be called with different name, otherwise all elements referred to the same image. For example, if IMAQ Dispose will be called for the first elementh of the array, then other 9 images will be automatically invalid.
    Compare two code snippets below:
    Common recipe for solving troubles with resources - reduce your application step by step by isolating parts of the code with case structures until application will be stable. Then you will found part of code which caused memory leak. 
    best regards,
    Andrey.

  • MOVED: KT880 Delta with memory problem

    This topic has been moved to Retired motherboards.
    https://forum-en.msi.com/index.php?topic=104727.0

    Quote from: loisanxo on 23-January-07, 05:07:13
    MMM almost... 
    I could load winxp password screnn but before that I could write my password... it resets 
    Thank you, thank you, thank you
    have you adjusted memory vcore to 2.75V as well?
    after changes test it with memtest 1st before load OS, and ensure can pass without errors:
    from memtest use/select Test Number 5 only (keyboard shortcut from program: "c","1","3","5") ensure your memory can loop 20 times at test N5 without any errors, then proceed with OS loading.  example:
    reboot can come from under powered CPU as well.
    can you boot into safe mode?

  • KT880 Delta with memory problem

    HI
    I have a kt880 Delta, 1GB ram kingston (ddr 400), AthlonXP 3200+ and BFG 7800GS OC with a strange problem  :
    If I use my old processor (AthlonXP 2100+) I can set the memory to 400 but if I use my new processor (AthlonXP 3200+) I must to set the memory to 333 because with 400 reset or blue screen 
    (Memory tests OK, BIOS UPDATED)
    Thanks

    Quote from: loisanxo on 23-January-07, 05:07:13
    MMM almost... 
    I could load winxp password screnn but before that I could write my password... it resets 
    Thank you, thank you, thank you
    have you adjusted memory vcore to 2.75V as well?
    after changes test it with memtest 1st before load OS, and ensure can pass without errors:
    from memtest use/select Test Number 5 only (keyboard shortcut from program: "c","1","3","5") ensure your memory can loop 20 times at test N5 without any errors, then proceed with OS loading.  example:
    reboot can come from under powered CPU as well.
    can you boot into safe mode?

  • Creation and checkout errors, duplicate transactions using iPhoto print projects?

    My fiance and I have been using iPhoto to create calendars to give away as gifts for a couple years. I have had multiple problems with the latest iPhoto. They occurred on two Macbooks on two different wireless networks (an old white MB from 2006 running Snow Leopard, and the other an MBP running Lion), both with the latest iPhoto. Apple Support told me I should have used Time Capsule to avoid the first two of these errors (which, I was told, are documented bugs in their software). I was bummed because I initially spent around over 8 hours building the print book project!
    - Fonts changing when opening journal print book projects (fixed by completely restarting an 80 page book :-/ )
    - Pages cannot be rearranged in print books - they actually swap rather than drag and drop (fixed by again, completely restarting the project!)
    - When checking out, in calendars have an unspecified error and I have to cancel and fix individual photos (fixed by canceling
    - Photos randomly become blank icons and I have to reupload the photos
    - Photos that are dragged and dropped into a calendar don't show up in a random spot in the project and I have to go find them
    - When ordering calendars for this holiday season, errors when uploading have resulted in 16 duplicate transactions on my debit card resulting in over $400 of pending transactions that have been unable to be resolved by Apple Support
    Has anyone else experienced these problems? Any real fixes?

    If you're using iPhoto 5 as you say then, yes, 24k photos is heading close to the Limit of 25k. iPhoto 6 is good for 250,000 images, iPhoto 11 is good for 1,000,000.
    I'm going to guess that's a typo and that you have iPhoto 9.5.
    I've simply never heard of "too many photos" causing the problem you describe. You don't need more memory. You don't need to break up the Library. "Flushing Memory" is a non-isssue. One of the big improvements in 10.9 is in memory management.
    There are a couple of ways to break up a Library while preserving everything. It's dead easy with Aperture - export projects as Library - you can do it with iPhoto simply by duplicating the Library and deleting from the two libraries or use iPhoto Library Manager.
    But, as I say, 24k is a small Library. My main library is more than twice the size of that.
    Are Aperture and iPhoto using the same Library?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • IPhoto, iCloud Photos, QTKitServer-iPhoto and QTKitServer-Aperture all hanging

    iMac mid-2011, 8 GB RAM, 1TB Internal Hard Drive, Mac OS X Mavericks 10.9, iPhoto 5, Aperture 3.5
    My iPhoto library, iCloud photos and some Mac OS X Mavericks file called QTKitServer-iPhoto and QTKitServer-Aperture keep hanging and not responding. Tried repairing permissions and repairing iPhoto library multiple times. Tried re-downloading Mavericks and that did not fix it. Called Apple Support. They said they could not help me beyond what I had already tried (Apple Online Support has really gone downhill since the last time I called) and to go to my local Apple retail store to see a Genius.
    After running hardware tests, the Genius told me that my iPhoto library was too large and that was what was causing iPhoto and iCloud photos to hang. Even though he acknowledged that the QTKitServer operating system file is not supposed to hang. The Genius put in an additional 8 Mb memory to see if adding more memory would help (apparantly iPhoto is supposed to give back some memory when you close it and it does not). So Apple is not flushing memory when an App is closed. Apple's apparent solution is to add more memory that you have to purchase. However, the same three files kept not responding even with the additional memory. So I passed on the additional memory until I get the iPhoto problem solved. He also said my external hard drive, a WD 2TB hard drive that I bought from the same Apple retail store two or three years ago, looked like it was failing because there were lots of disk I/O errors in the system log, even though the drive appears to work fine and disk utility reported no problems when I ran Verify Disk on the external WD drive two days ago. I do not use this drive hardly at all (I backup my iMac to my Time Capsule), exept to keep a backup copy of my iPhoto library and Documents folder, and it has lots of original pictures that are not in my existing iPhoto library. I copied my iPhoto library and Documents folder to it last night and they seemed to copy fine.
    So if my iPhoto library is really too big, and that is what the issue is, my problem is that there is no apparent way to break up my existing iPhoto Library into multiple small iPhoto libraries, without losing all of my keywords, titles, photo edits, event names, album names, folders and projects etc. The last time I tried breaking up my iPhoto library into smaller iPhoto libraries, even though I told iPhoto to export  keywords and titles, it did not. And the Genius did not know if it would work now or not.
    My question is to those of you who have large iPhoto libraries and are using Mac OS X Mavericks and iCloud Photos - how big are your iPhoto libraries? What is too big? Does anyone have an iPhoto library the size of mine that is working fine (who is also using Mac OS X Mavericks and iCloud)? When I talked to Apple online support, they said big iPhoto libraries are 100,000 photos and up. The Genius said anything over 1,000 is big. That's quite a spread. Currently I have 24,000 photos, most of which have been edited in some way or another, and about 1/2 of which have new titles, mulitple keywords assigned, faces and places assigned, etc., since I imported the original master photos. The Genius told me to duplicate my existing iPhoto library, create a new iPhoto library, import all of the folders in the iPhoto database except the Masters folder, and see if iPhoto still hung. If it did, he said it was all the data attached to the photos that is the problem, in which case I would need to create another new iPhoto library and import only the Masters file (images only). I think if I import only the Masters from my existing library, I will lose not only all of my keywords and titles, but also all of my photo edits, event names, album names, folder names, projects etc.
    So I wasted an entire afternoon at the Apple retail store, only to buy a new external hard drive (that I may not even need), was told to buy more memory (that did not solve the problem - I passed on that), and I am no further ahead than I was when I went in. I need to know if there is any way that I can break up my iPhoto library into smaller libraries and retain all of the metadata and photo edits?
    Finally, when I got home, I discovered that my husband with whom I had shared some of my photo streams, still had photos showing in shared photo streams that I had removed from iCloud two days ago. It removed them on my iMac - the place where those streams originated, but apparently left the thumbnails in the shared photo streams of everyone that I had shared the photos with. As soon as I clicked on an actual photo on my husband's iMac, the photo suddenly vanished and all the photo thumbnails in the stream did too. But the empty shared photo stream still remained on my husband's iMac and he had to physically say "Unsubscribe" to get it to go away. So something is not working right with iCloud photos, which is no doubt why iCloud photos is one of the files that keeps not responding.
    Then, when I set up my iMac again this evening, and looked at iCloud on my iMac, all of my photo streams (not just the four that I had removed two days ago) were gone! And when I went into Aperture, the photo streams were all there, but with zero photos in them. Now last night when I boxed up my iMac to take to Apple, those photo streams were all there and they all had photos in them. So where did they go? And why, when you are the originator of a photo stream, and you tell iCloud to remove the photo stream, it says that it does but it leaves remnants of it with the other people you have shared it with? It seems to me that iPhoto, iCloud, and the fact that Apple is not flushing memory when an app closes is the problem with my iMac, not the size of my iPhoto library, or my external hard drive, or the fact that 8Gb of memory is apparently no longer enough memory for decent response with Mavericks (which I thought was designed to help solve some of the memory issues that OS X has).
    I need help and help is apparently nowhere to be found at Apple.
    Is there anyone out there who can help me?

    If you're using iPhoto 5 as you say then, yes, 24k photos is heading close to the Limit of 25k. iPhoto 6 is good for 250,000 images, iPhoto 11 is good for 1,000,000.
    I'm going to guess that's a typo and that you have iPhoto 9.5.
    I've simply never heard of "too many photos" causing the problem you describe. You don't need more memory. You don't need to break up the Library. "Flushing Memory" is a non-isssue. One of the big improvements in 10.9 is in memory management.
    There are a couple of ways to break up a Library while preserving everything. It's dead easy with Aperture - export projects as Library - you can do it with iPhoto simply by duplicating the Library and deleting from the two libraries or use iPhoto Library Manager.
    But, as I say, 24k is a small Library. My main library is more than twice the size of that.
    Are Aperture and iPhoto using the same Library?
    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • How to capture exception in cursors

    Hi,
    I wnated to bulk collect say 100 record into global temporaary table,suppose if there is a exception in any of the record how could i handle it?
    for example 2 records are throwing exception in this case i want remaining 98 to get processed and remaining 2 should be captured in the exception block.
    Please share your suggestion

    user13710379 wrote:
    for example i used a global temporary table..lets be any table am populating using a bulk collect.My point was that BULK COLLECT is used to populated PL/SQL collections, not tables.
    exceptions which i'm refering are like..in 100 records for 65 and 68th record some columns has junk values,so it wont get insert into the resultant table..as a result the bulk collect will fail.i want to handle this type of exception so that other 98 records gets inserted without rollingback.You could incorporate something into your SQL to 'correct' the data if it can be corrected, or you could incorporate something in the SQL to 'detect' where values are junk and not insert those rows, then have another SQL that picks out rows with 'junk' values so you can report on them.
    There should be very little need to be loading data into expensive PGA memory or looping through row by row (slow by slow) for each record, to try and capture exceptions.
    Better still do some SQL analysis on the data, determine what data has 'junk' in it and then get it fixed at source, and then implement something (or get whoever to do that) so that no more junk data can be entered.

  • Error SAP auto-update to windows 7 64bits

    Hi
    I am using SAp 7.30 patch 11 with instalation server 9.0.59.0
    When I tried install this release in windows 7 32bits / windows 8 32bits it is working well.
    BUT when i tried install in windows 7 64bits and windows 8 64bits the insttalation screen disappear.
    I build a new single file without Automatic workstation update and it is working well for 64bits. I think that the problem is AWUS to 64bits windows.
    I need install it in 64bits environments. please, can help me?
    log erro message:
    11:54:34 NwSapsAtlC  1 
    |-----SAP JNet -- Hidden! --
    11:54:34 NwSapsEngn  1   Complete Component Collection: 150 Components
    11:54:34 NwSapsEngn  1E  Component '{41D37BB1-B482-41BC-A1A4-B3662A55A021}' required on server has definition missing Error message: The data is invalid. Error code 0x0000000d (13).
    11:54:34 NwSapSetup  1   Engine execution failure.
    11:54:34 NwSapsEngn  1   Engine: Shutting Down Installer
    11:54:34 NwSapsEngn  1   Engine: flushing memory
    11:54:34 NwSapsAtlC  1   UI-Manager: Flushing memory and resources
    11:54:34 NwSapsEngn  1   Engine: flushing memory
    11:54:34 NwSapsEngn  1   This Engine Instance lasted 53.868 seconds
    11:54:34 NwSapsAtlC  1   UI Manager deleted
    11:54:34 NwSapsEngn  1   DM Deleted
    11:54:34 NwSapsAtlC  1   DE Deleted
    11:54:34 NwSapsAtlC  1   StringTable released
    11:54:34 NwSapsEngn  1   Engine Deleted
    11:54:34 NwSapsEngn  1   EngineContext released
    11:54:34 NwSapsAtlC  1   StringTable released
    11:54:34 NwSapsEngn  1   SapSetup Workstation Engine Library Unloaded
    11:54:34 NwSapSetup  1   ------------------------------------------------------------
    11:54:34 NwSapSetup  1   Return-Code: 48
    11:54:34 NwSapSetup  1   ------------------------------------------------------------
    11:54:34 NwSapSetUI  1   SapSetup UI Library Unloaded
    11:54:34 NwSapsAtlC  1   SapSetup ATL Common Library Unloaded

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

Maybe you are looking for

  • We need to be able to lock ipad folders. (or is there an app I cant find?)

    We use our ipad as a communication and education tool for my son who has autism.  I want him to have free access to certain apps, but not others.  I would think the ability to lock an app folder is the simplest solution and I don't know why this is n

  • Services for object

    Hi, I am uploading the Documents in the Services for object.( tcode ME22N.). When the PO is released , then also i am able to change or delete the attachment. I dont want to delete or edit the document after the PO is released. How to contol this?. .

  • Exclamation point and short message transfer rejected

    I recieved a short message with an exclamation point, which I googled to be "urgent message", when I tried to reply I got "short message transfer rejected". I know that the person messaging me is trying to keep his number secret, which is why I was s

  • Can data be purged without the archiving process in BW system?

    Dear all, can anybody give me some comments on the data purging process?  After checking some materials about BI data archiving,  I am wondering: if data can be purged skipping the archiving process?  As long as no requests to retain the historical d

  • ABAP Character Data Type Multiplication Issue difference in ITG vs Dev Environments.

    Hello Folks, My problem is very simple but hey I have tried everything and dont know why I have an issue and what is the possible solution. Let me create the scenario:- SAP Dev Box: data: prctg type char15. prctg = '0.065'. prctg = prctg * 100000. i