Why Data Services Validation doesn't give the right result in XML?

Hi,
I am struggling with a dataflow that contains the following:
- an Excel as source
- a validation transform that check a specific value in one of the excel columns. If the value is equal, the record goes to the pass path and if not, it goes to fail path
- a simple query on the pass path with a row_gen that selects all passed records and send it to an XML file (using XML target)
- a CSV target file on the fail path that gets the failed record from the validation
The result is unexpected: both files contain the failed records.
Now, if you modify slightly the dataflow and add another pass path to the validation, which has a CSV file as target, suddenly, the result is what you would expect:
- The XML file on the 1st pass path (with the query) now contains the successful records
- The CSV file on the 2nd pass path contains the successful records as well
- The CSV file on the fail path contains the failed records
If you create a dataflow that doesn't have an XLM file as a target, this issue doesn't seem to happen. I have made several examples with datastore and with CSV files. Somehow it seems there is something happening wrongly when the only target for a validation path (pass or fail) is an XML file.
I can send the ATL for both examples above
Could someone help me understand if I do something wrong OR if there is indeed a bug that should be addressed?
Thanks a lot!
Isabelle

Hi Manoj,
Thanks for quick reply!
To answer your questions:
- in the validation transform what is the value of Action on failure option - send to fail, send to pass or both ?
   send to fail only
- is delete and recreate option checked for the target xml file ?
  yes
- how many rows do you see in monitor log for pass and fail ?
   In the 1st dataflow, the monitor show the following where the pass number is 26!
Path name State Row Count Elapsed time (Sec) Absolute time (Sec)
DFW_TransformationUsingValidation_5/SpinFormat_1 STOP 28 0.047 0.699
/DFW_TransformationUsingValidation_5/Validation STOP 28 0.000 0.699
/DFW_TransformationUsingValidation_5/Split STOP 26 0.000 0.699
-DFW_TransformationUsingValidation_5/FailValidation_TransformationUsingValidation_5.csv STOP 26 0.000 0.699
/DFW_TransformationUsingValidation_5/Row_Generation STOP 1 0.000 0.699
/DFW_TransformationUsingValidation_5/CacheSplit STOP 26 0.000 0.699
/DFW_TransformationUsingValidation_5/CacheSplitMemoryReader STOP 26 0.000 0.699
/DFW_TransformationUsingValidation_5/Validation_Pass_1 STOP 26 0.000 0.699
/DFW_TransformationUsingValidation_5/Query-Nest1: 0 STOP 1 0.047 0.699
/DFW_TransformationUsingValidation_5/Query-Nest1: 1 STOP 26 0.000 0.699
/DFW_TransformationUsingValidation_5/Query STOP 1 0.000 0.699
-DFW_TransformationUsingValidation_5/GUID::'5e0a492d-1452-4e0b-be37-758c2249b7a4' LOAD MESSAGE PassXM STOP 1 0.000 0.699
In the 2nd dataflow, just by adding another pass path filling a CSV file, the number of pass records is 2:
DFW_TransformationUsingValidation_5/SpinFormat_1 STOP 28 0.047 0.689
/DFW_TransformationUsingValidation_5/Validation STOP 28 0.000 0.689
/DFW_TransformationUsingValidation_5/Split STOP 2 0.000 0.689
-DFW_TransformationUsingValidation_5/PassValidation_TransformationUsingValidation_5.csv STOP 2 0.000 0.705
-DFW_TransformationUsingValidation_5/FailValidation_TransformationUsingValidation_5.csv STOP 26 0.000 0.705
/DFW_TransformationUsingValidation_5/Row_Generation STOP 1 0.000 0.705
/DFW_TransformationUsingValidation_5/CacheSplit STOP 2 0.000 0.705
/DFW_TransformationUsingValidation_5/CacheSplitMemoryReader STOP 2 0.000 0.705
/DFW_TransformationUsingValidation_5/Validation_Pass_1 STOP 2 0.000 0.705
/DFW_TransformationUsingValidation_5/Query-Nest1: 0 STOP 1 0.047 0.705
/DFW_TransformationUsingValidation_5/Query-Nest1: 1 STOP 2 0.000 0.705
/DFW_TransformationUsingValidation_5/Query STOP 1 0.000 0.705
-DFW_TransformationUsingValidation_5/GUID::'5e0a492d-1452-4e0b-be37-758c2249b7a4' LOAD MESSAGE PassXM STOP 1 0.000 0.705
Edited by: Isabelle Thore on Oct 8, 2010 6:53 AM
Edited by: Isabelle Thore on Oct 8, 2010 6:54 AM
Edited by: Isabelle Thore on Oct 8, 2010 6:55 AM

Similar Messages

  • I cannot receive email properly now. When I open mail, it says that is downloading about 1,700 emails. At the very end, it gives me my newest ones. But this takes a long time. I've contacted the Internet service provider and verified all the right setting

    I cannot receive email properly on either my IPad or my IPhone. I have had them for over a year and they have always worked fine. Until three days ago, when they both started acting up. On the IPad, when I open mail, it says it is downloading about 1,700 emails. At the very end, which takes quite a while to get to, I finally get the most recent ones. The IPad is sending emails just fine.
    On my IPhone, when I open mail, it says it is downloading 100 emails, but it doesn't do that. And it gives me no new emails at all. The IPhone is sending email just fine.
    I have already deleted the email accounts on both devices and reinstalled them. I've contacted the Internet service provider and verified all the right settings. The Outlook email on my desktop is working perfectly.

    WMV is a heavily-compressed format/CODEC, and the processing time will depend on several factors:
    Your CPU, which is not that powerful in your case
    Your I/O sub-system, which is likely a single HDD on your laptop
    The source footage. What is your source footage?
    Any Effects added to that footage. Do you have any Effects?
    Each of those will have an impact on the time required.
    The trial has only one main limitation - the watermark. Now, there are some components, that have to be activated, but are not with the trial, but they would be evident with Import of your source footage, if it's an issue.
    Good luck,
    Hunt

  • I am new to Service module,can anybody give the over view of service module

    I am new to Service module,can anybody give the over view of service module including base table and Relation ship with other Oracle Application module.

    Hello Les,
    Think that you want to buy television or computer and how will you proceed for that.
    1. Material Requirement : Your family will ask you that they need television so that is material requirement from the users (family), they will also give additional information like what is the size of TV, which brand etc
    2. Quotation (Inquiry) : now you have requirement that you need one TV so you will looking for different vendors i.e. Phillips, Sharp, AIWA, Deawood and ask them to give the prices and other terms (free shipping, service after sales ) for TV
    3. Quotation comparision : Once you get the price from all your supplier, you will make comparision on price and other terms also you can negotiate the price with vendor asking for discounts, free door delivery
    4. Vendor Selection: Based on your negotiation you will identify the best deal and place order to that vendor.
    5. Purchase order : You will place order to vendor asking for material (TV), for certain price on particular date at particular location (you home).
    6. Goods Receipt : Once vendor delivers TV then you will receive the material at your location
    7. Invoice receipt: Vendor will send the invoice with that delivery and you will check the price and make the payment to vendor,
    I hope this will help you to under stand the concept of Procurment cylce.
    More details you can get it from the link which I provided.
    Regards
    Arif Mansuri

  • I received an email with a video attachment in wmv format. I want to saved it on my iPhone 4S but it doesn't give the option of saving the video attachment. How will I saved the video attachment?

    I received an email with a video attachment in wmv format. I want to saved it on my iPhone 4S but it doesn't give the option of saving the video attachment. How will I saved the video attachment?

    Even so, there is no way to "save" a file anyway. The only way to keep it is to keep the email with it attached. Someone correct me if I'm wrong but I don't believe there is a way to add a video this way into the Videos app.

  • Why my epson 3800pro doesn't center the print

    Hi,
    I have a interesting and very annoying problem. Why my epson 3800 doesn't center the prints on the paper anymore?
    Using this printer for more than two years now and all of the sudden regardless the paper size and the settings the i
    mages are centerd for an 8 1/2 x 11 ratio. Spent nearly 2 hours on the phone talking to Epson support repairing
    disk permission, uninstalling and reinstalling the printer, reconfiguring and so fort. Still, every print is off center.
    In the printer dialog everything seems fine; when seting up the printer and paper size the image on the screen
    adjust's accordingly but the print still comes out wrong. The technician on the phone suggested - maybe just wanted
    to get rid of me - that it's something to do with Photoshop.
    Anybody has  an idea what could be wrong?
    Thanks, Janos

    monkeyfighterz wrote:
    Anyhow, here are the images in question. As you can see from the settings am about to print on a Canson 11x14 paper.
    Which paper is it? I did a search on the Canson range and could not find an 11x14 paper. The closest I could find is 11x17, like the other paper makers. Did you cut the paper down to 11x14 yourself? If so, Tai Lao has a good question about whether the measurement dimensions of the cut paper are correct, it would be good to double-check.
    monkeyfighterz wrote:
    It made me think if there is a paper sensor (is there such thing?) in the printer not functioning?
    There is a paper sensor in the 3800 (I use a 3800 too, with no problems centering). The paper sensor is optical, and can be misled by existing ink on the paper. Especially black. Is your paper blank, or something already printed on it? If your paper is already printed with a significant dark area near the edge, the sensor might assume that the paper doesn't actually begin until it finds white. If this causes the printer to change where the print head starts on the paper, this can cause alignment problems.
    Tai Lao wrote:
    "Canson" (Canon?) paper
    I'm assuming it's Canson. Canson is one of the traditional European paper makers who have adapted some of their fine art papers for modern inkjet printing. Their product line has been around for about half a millenium.

  • Ocr doesn't give the option recognize Portuguese?

    Ocr doesn't give the option recognize Portuguese
    How to solve the problem?

    It's there for me:

  • How do you save your artwork in Photoshop CC 2014 as an PNG or JPEG file when it doesn't give the option?

    How do you save your artwork in Photoshop CC 2014 as an PNG or JPEG file when it doesn't give the option?
    Thanks for your time and help in advance.

    Thanks for replying. I actually got it to work. I had my work set to 32 Bits/Channel in stead of 16 or 8. Once I changed it to 16bit/Channel, it gave me the option to save as either file. Thanks again.

  • HT5312 I follow the steps to the manage my account page, then I get to my security questions and it doesn't give the option to send an e-mail to my rescue address. Can anyone help?

    I follow the steps to the manage my account page, then I get to my security questions and it doesn't give the option to send an e-mail to my rescue address. Can anyone help?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (103693)

  • I'm a linux user (mint 9) and installed FF4. When I try to bookmark a new page it doesn't give the Usual dialog to add the bookmark- it gives an empty shell of a small window that should be there.

    I'm a linux user (mint 9) and installed FF4. When I try to bookmark a new page it doesn't give the Usual dialog to add the bookmark- it gives an empty shell of a small window that should be there. this shall seems to point at the little star, but it's totally empty.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Can someone tell m why my iPad 2 doesn't display the YouTube app? I'm so confused. It is a standard app n the original iPad.

    Can someone tell m why my iPad 2 doesn't display the YouTube app? I'm so confused. It is a standard app n the original iPad.

    Well you already know the answer, but it was not included in iOS 6. Google released an YouTube App for the iPad so you can download that in the App Store.

  • Distinct Count doesn't return the expected results

    Hi All,
    I was fighting a little trying to implement a Distinct Count measure over an account dimension in my cube. I read a couple of posts relateed to that and I followed the steps posted by the experts.
    I could process the cube but the results I'm getting are not correct. The cube is returning a higher value compared to the correct one calculated directly from the fact table.
    Here are the details:
    Query of my fact table:
    select distinct cxd_account_id,
              contactable_email_flag,
              case when recency_date>current_date-365 then '0-12' else '13-24' end RECENCY_DATE_ROLLUP,
              1 QTY_ACCNT
    from cx_bi_reporting.cxd_contacts
    where cxd_account_id<>-1 and recency_date >current_date-730;
    I have the following dimensions:
         Account (with 3 different hierarchies)
         Contactable Email Flag (Just 3 values, Y, N, Unknown)
         Recency_date (Just dimension members)
    All dimensions are sparse and the cube is a compressed one. I defined "MAXIMUM" as aggregate for Contactable Email flag and Recency date and at the end, SUM over Account.
    I saw that there is a patch to fix an issue when different aggregation rules are implemented in a compressed cube and I asked the DBA folks to apply it. They told me that the patch cannot be applied because we have an advanced version already installed (Patch 11.2.0.1 ).
    These are the details of what we have installed:
          OLAP Analytic Workspace       11.2.0.3.0 VALID
          Oracle OLAP API 11.2.0.3.0 VALID
          OLAP Catalog 11.2.0.3.0 VALID
    Is there any other patch that needs to be applied to fix this issue? Or it's already included in the version we have installed (11.2.0.3.0)?
    Is there something wrong in the definition of my fact table and that's why I'm not getting the right results?
    Any help will be really appreciated!
    Thanks in advance,
    Martín

    Not sure I would have designed the dimensions /cubes as you,  but there is another method you can obtain distinct counts.
    Basically relies on using basic OLAP DML Expression language and can be put in a Calculated Measure, or can create two Calculated measures
    to contain each specific result.  I use this method to calculate distinct counts when I want to calculate averages, etc ...
    IF account_id ne -1 and (recency_date GT today-365) THEN -
    CONVERT(NUMLINES(UNIQUELINES(CHARLIST(Recency_date))) INTEGER)-
    ELSE IF account_id ne -1 and (recency_date GT today-730 and recency_date LE today-365) THEN -  
    CONVERT(NUMLINES(UNIQUELINES(CHARLIST(Recency_date))) INTEGER)-
    ELSE NA
    This exact code may not work in your case, but think you can get the gist of the process involved.
    This assumes the aggregation operators are set to the default (Sum), but may work with how you have them set.
    Regards,
    Michael Cooper

  • Reoder point calculation don't give the expected result

    Dear friends,
    We are using CBP to set reorder point (MRP type is VM).
    We've set the planned delivery time, on MRP2 view, as 120 days.
    When we run the forecast, the calculated basic value gives the expected
    result, but the reorder point don't.
    As we've set Planned delivery time as 120 days, we expect that the
    reorder point is "basic value"*4 (4 is the result 120/30). But the result
    of the reorder point is is greater (aprox. "basic value"*4,5).
    Can you please give me a help on this matter?
    Many thanks,
    Afonso Pereira

    you may get your expected result if you would use VB instead of VM.
    Manual Reorder Point Planning
    In manual reorder point planning, you define both the reorder level and the safety stock level manually in the appropriate material master.
    Automatic Reorder Point Planning
    In automatic reorder point planning, both the reorder level and the safety stock level are determined by the integrated forecasting program.
    The system uses past consumption data (historical data) to forecast future requirements. The system then uses these forecast values to calculate the reorder level and the safety stock level, taking the service level, which is specified by the MRP controller, and the material's replenishment lead time into account, and transfers them to the material master.
    Since the forecast is carried out at regular intervals, the reorder level and the safety stock level are continually adapted to the current consumption and delivery situation. This means that a contribution is made towards keeping stock levels low.

  • The same selection doesn't return the same result in 2 identical systems

    Hi,
    After a copy we have 2 systems with same data.
    In a program the same selection doesn't returns the same result, it seems that the sort is different.
    I have checked indexes but they are ok in both systems.
    Here is the selection:
    SELECT but000~partner
    INTO TABLE lt_partner
    *UP TO 50 ROWS
    FROM but000
    JOIN but020
      ON but020partner = but000partner
    JOIN adrc
      ON adrcaddrnumber = but020addrnumber
    JOIN but100
      ON but100partner = but000partner
      WHERE but020~addr_valid_from LE '20100727000000'
      AND   but020~addr_valid_to   GE '20100727000000'.
    Is there a customizing point to define how the database must be sorted ?
    Thanks.
    Edited by: julien schneerberger on Jul 27, 2010 4:18 PM

    Hi,
    Thank you for your answer.
    Result is the same and I don't sort data after the selection.
    Do you think the system copy has "broke" the records order in database ?
    If it is the case it will be impossible to reproduce the same sort, is it right ?
    Edited by: julien schneerberger on Jul 27, 2010 5:19 PM
    Edited by: julien schneerberger on Jul 27, 2010 5:20 PM

  • I want to upload from my iphone playlist to my laptop (Windows 8) why is it so hard to find the right buttons to press????

    i want to upload from my iphone playlist to my laptop (Windows 8) why is it so hard to find the right buttons to press????

    Review these Knowledge Base articles... they may help you:
    Synchronizing media using BlackBerry Desktop Software on a Mac computer
    BlackBerry Desktop Software Mac does not display evens and albums from iPhoto 9.4.2
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • My dad can't remember his iCloud password, and doesn't have the right answers to his security questions. Any other ways to reset a password?

    My dad can't remember his iCloud password, and doesn't have the right answers to his security questions. Any other ways to reset a password?

    Open > http://iforgot.apple.com and choose Email authentication

Maybe you are looking for

  • Request for sample code of hr_ex_employee_api.actual_termination_emp

    Hi, I need sample code for hr_ex_employee_api.actual_termination_emp . anyone who worked on this api or who have knowledge of this api,Please send the sample code Thanks and Regards Dixit

  • Webdynpro abap iview creation error

    Hi All, I created a wdbdynpro abap application using transaction SE80, and test that application successfully. I want to display that application in portal, for that I created a SAP webdynpro iview succesfully. but when i was preview the created ivie

  • Replaced ipod won't turn on

    I have a question. I got a replacement ipod late feb of 06 cause my old one died. Now a month and half later my new ipod is having a problem. I took my ipod to work saturday and it worked fine. Then when I got off from work I looked in my bag I saw t

  • HT4009 Purchase could not be completed

    The in app purchase has message of purchase could not be completed please get assistance and the support did not get me anywhere by telling me my account is not compliance with terms and condition which I don't know how could it happen as I have been

  • Workflow mail notification

    hi, hi, we are using the workflow related to elements of publishers. How can you assign a notification email to the user assigned to the process? We are using ALUI 6.5 and Publisher. Luca