Urgent- How to separate bad records from load and put into a separate table

We have an error handling requirement in ODI 11g from the client that whenever a bad record is encountered the execution flow shud not stop rather it shud separate those records into an error table so that at the end of the load we shud be left with all the records (except bad records) in the target table and those bad records shud be there in a separate error table.
The definition of the bad records may include the size of a column or datatype mismatch between source and target table. How to implement this error handling strategy in ODI or is there any out of box solution that we can leverage Please Help.
Thanks & Regards,
SBV
Edited by: user13133733 on Dec 23, 2011 4:45 AM

Hi SBV,
Please find my responses below,
I have tried the steps suggested, however i have some doubts:
1. What all data exceptions (e.g. primary key constraint violation etc.) are covered in this mechanism?Yes you can handle PK,FK, Check constraints violations etc., using CKM.
2. If there is a column size mismatch between source and target table will this work? (I think not because i tried it and it'll give error before populating the I$ table, because I$ is created according to the source).
You are right column size mismatches will not be captured as a part of default CKM property.
Also i am getting an error in the creation of SNP_CHECK_TAB step. In my case ODI is by default making a query like "create table .SNP_CHECK_TAB" , now this dot (.) before SNP_CHECK_TAB is making it an invalid table name and hence this step is a warning (not an error), but in the next step (delete previous checksum) it is throwing an error as this step is also looking for .SNP_CHECK_TAB table which is not there.
Please help me where the issue lies. I have NO idea why it is making that query by default I have freshly impoted the CKM Oracle and used it.
This is coz there is no DEFAULT physical schema not defined at your target data server.
Go to, Topology Manager-> Phy architecture -> <Your Technology>-> <Your target data server>-> expand, open up your physical schema and check DEAFULT.
Thanks,
Guru

Similar Messages

  • How to select the data from a Maintainance View into an internal table

    Hi All,
    Can anybody tell me how to select the data from a Maintainance View into an internal table.
    Thanks,
    srinivas.

    HI,
    You can not retrieve data from A mentenance view.
    For detail check this link,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    Regards,
    Anirban

  • TS1538 Have a new ipod nano 7, have music on my pld Windows laptop and myGot a new ipod nano 7. Have music on both Windows 7 laptop and mac. How do i pull music from both and put them on my ipod. Thanks

    Got a new ipod nano 7. Have music on both Windows 7 laptop and mac. How do i pull music from both and put them on my ipod. Thanks

    Yes.
    tomfromlong beech wrote:
    "Remember one one level of subfolders is allowed."  Does this mean that you can have as many subfolders as you want, but they can only be one level deep under the main folder?

  • SQL*Loader - How to combine Flat File 3 columns and put into one single column

    Receive a flat file delimited by comma. Want to combine Flat File last 3 columns and put into one single column(Table).
    e.g.
    Flat File
    100,239,30,20,30
    While inserting into table want to combine last 3 columns and insert into invoice number column.
    302030

    It is not possible to combine the last 3 columns as those columns are seperated by commas and in the SQL Loader control file you must ve specified COMMA as an delimiter. So u better have all the columns in the table plus add one more column which holds the concatenation of the 3 columns.
    Vijay

  • How to read some records from a text file into java(not all records)

    hello,
    how to read text files into java. i need only few records from the text file not all records at a time.
    If any one knows plz reply me
    my id is [email protected]

    this snipet reads a text file line by line from line 1 to 3
    try {
                  FileReader fr = new FileReader(directory);
                  BufferedReader br = new BufferedReader(fr);
                  int counter = 0;
                  while ((dbconn = br.readLine()) != null) {
                      switch(counter){
                          case 0:
                            status = dbconn;
                          break;
                          case 1:
                            userName = dbconn;
                          break;
                          case 2:
                            apword = dbconn;
                          break;
                      counter++;
                  br.close();
        }catch(IOException e){
        }

  • How to retrieve the data from Website and Upload it in SAP table?

    Dear ABAPers,
            I want to retrieve the data from website and upload the same in SAP Database Table is that possible.Please help me.It is very Urgent.
    Thanks & Regards,
    Ashok.

    Dear Abhishek,
                  Thanks for your reply.But my requirement is not met.
    If i execute the program it should retrieve the data from particular website.
    Thanks & Regards,
    Ashok.

  • How do I copy content from an entire row into a different table?

    How do I copy content from an entire row of one table into a different table?  When I try to copy/paste the selected row into a row of the same size  and configuration in another table in the same document, the cells change width, the formatting and border thicknesses change, and the text gets squeezed.  When I was working with tables in Microsoft Word, there was no problem selecting text from a row in one table and placing it into a similar row and configuration in another table.

    Hi Christopher Morgan
    And welcome to apple discussions. With regard to your main question ....
    Q: Can this be done?
    A: It can but not easily (in that you may take a hit in quality). Apps like MpegStream Clip or DVDXDV may help:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.products.htm
    It converts it back to a QT file for use with iDvd (or iMovie).
    Hope this helps but if not just come on back.
    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software / products that may be mentioned in this topic. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information above at your own discretion.

  • How do I copy image from web and paste into Open Office Document

    Whenever I choose Copy Image from Safari and then paste into open office, I only get the image url and not the image. I am sure that I am not selecting Copy Image Address.
    When I copy images from my iTunes album artwork and paste into open office it works fine.
    Any thoughts?

    I have done the same thing using Firefox and it works just fine. It seems to be an issue with Safari.

  • Load and view into blobs in table outside of Apex installation

    Is it possible to use APEX to load and view blob types(pds, docs etc) into a table with a blob type
    where the table is in a separate database and instance then where Apex is installed? So would Apex be able to access
    this table thru a db link?

    Hi Kenn,
    You are probably better off posting this request in this forum User Interface Development in ABAP as you are more likely to get a response.
    Cheers,
    Neil.

  • How Can I extract pages from a PDF document into a separate document by clicking a link?

    Hi,
    I have created a large PDF document with several pages, I have a link symbol on the contents page of the document that relates to several services on different pages within the document. Currently they are identified by having the same link symbol on every page that relates to that particular service. I was wondering if there was any way in which I can create a interactive pdf, when I click the initial symbol link on the contents, it collates all the relevant linked service pages into a single document or guides the viewer to all the pages without having to create a separate pdf document for each service?
    Many thanks
    Yunus

    Simple answer - no. PDF files cannot reassemble themselves into new documents, nor can you hide pages.

  • How to read data from flatfile and insert into other relevant tables ? Please suggest me the query ?

    Hi to all,
    I have flat files in different location through FTP i need to fetch those files and load in the relavant table of the database.
    Please share me the query to do it ..

    You would need a ForEach Loop to iterate though the files. Initially the FTP task will pull the files from locations to a landing folder. Once thats done the ForEachLoop will iterate through files in the folder and will have a data flow task inside to transfer
    file data to tables.
    If you want a more secure option you can also use SFTP (Secured FTP) and can implement it using free WinSCP clinet. I've explained a method of doing it fo dynamic files here
    http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
    for iterating through files see this example
    http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
    you may not need the validation step inside the loop in your case
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How do i transer songs from ipod and put them into itunes ?

    We have a 160gb ipod, and it has around 700 songs, but we are unable to transfer the songs FROM the ipod, onto our itunes account. The songs were loaded via cd's, someone please help, as we don't want to loose all the songs on our ipod. We are are using a MacBook Pro. Please help ASAP .....

    https://discussions.apple.com/message/1723974#1723974
    From the  More Like This  section on the right.

  • HT201269 How do I pull stuff from Icloud and put on my Iphone and stuff from my Iphone to my Ipad?

    How do I pull apps and music FROM iCloud back onto my iphone and how do I bring Iphone apps onto my new Ipad?

    From icloud:
    Downloading past purchases from the iTunes Store, App ... - Apple
    You don't bring anything from the iphone to the ipad.  You sync both to your computer.

  • How to take manually back-up bookmarks from Firefox and put into Favorites in Explorer

    I just changed jobs. My last job used Firefox, my new job uses Explorer. I previously did a manual back up of my bookmarks from Firefox. Is there a way now to get them into Explorer?

    For cross-browser compatibility, you should have '''exported''' your bookmarks in '''HTML''' format. <br />
    Create a new Profile in a Firefox installation and '''restore''' that '''json''' file, then '''export''' in '''HTML''' format. You can trash that new Profile when your'e done if you don't want it.

  • How to select the data from DB and write into File?

    Hi Experts,
    Can any one please help me,
    I want to write the data from a table "T1" from Data Base to one file in windows.
    This functionality i need to achive in SSIS package through script component and Execute SQL task if it's passible.
    If any other way is there please help me.

    through script component and Execute SQL task if it's passible
    The easier way is to use a "Data Flow" Task with a "OleDB Data Source" pointing the the SQL Server table / query and a "Flat File Destination" to export to a file.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • Error when discovering Oracle EBS from Enterprise Manager 12C

    Hi everyone.. I have installed Enterprise manager 12C and discovered EBS database.But im unable to discover EBS applications through it. OEM VERSION : 12C R2 EBIS VERSION : VISION INSTANCE 12.1.3 DATABASE : 11.2.0.3 I'm getting below error when im tr

  • Help on material master

    Hi guys i want to write the code for this. can somebody help me. Select all entries from table MARD for selection criteria Select corresponding record from table MARC Select corresponding record from table MARA check that the industry sector MARA-MBR

  • AppleSyncNotifier message upon startup

    When my computer starts up I get a message "The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll"  This is a App[leSyncNotifier.exe, what does this mean and how do I fix this?

  • Using iTunes Match, Show All Music not working for one playlist

    I am using an iPhone 6 Plus with iOS 8.2. I just recently subscribed to iTunes Match and all of my music has been matched/uploaded. When I turn on iTunes Match and Show All Music on my iPhone, all of my playlists show up but one of them is incomplete

  • ITunes Store Download err 8008 and err -100000

    I Buy Craig David album "The Story Goes...." but when itunes download "My Love Don't Stop" it goes err -10000 and Another MV is Britney Spears "Toxic" it goes err 8008 too.so i try to delete tmp file in download folder. it's not work yet. so plz help