Reason to set MaxErrorCount along with Propogate value for Excel Files

Hi,
I had an ETL earlier which processed CSV files from a folder. The requirement was to load the error files into a Rejected folder but continue to process all the files from the source Folder. This requirement was satisfied by setting the value of the
system variable "Propogate" in EventHandler section for DataFlowTask to "false".
MaxErrorCount value for the ForEach Loop is having its default value as "1".
When tested, it was working perfectly fine
Now currently there is an Excel file as source having same requirement as above. But even when then variable "Propogate" was set to "false" as above, the execution was getting stopped when an error file was found.
Later I found the below link :
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/0065b5c2-f633-4cbf-81f9-031d1ed25555/how-to-skip-wrong-excel-files-ignore-errors-on-ssis-foreach-task
As mentioned in the link, I have done below changes
1)Set MaxErrorCount for ForEachLoop to 1000
2)"Propogate" variable is set to false
Now this is working perfectly fine.
Can you please let me know why did the setting of "Propogate" worked for CSV but did not work for Excel. For Excel files why was an additional setting for MaxErrorCount  was required.
It would be very much helpful if I can get a detail information on the above
Thanks,
Raksha
Raksha

Hi Raksha,
In you SSIS package, setting the Propagate system variable to False of the Event Handler prevents the Data Flow Task (DFT) propagating its failure to its parent container. For the ValidateMetadata property of a Data Flow Task Component, it doesn’t only affect
the DFT at design time but also at runtime. During the Validation phase, a component is supposed to check to make sure that the cached metadata in the package is still in sync with the underlying table/view/query. If there is a mismatch, the component returns
a special status (VS_NEEDSNEWMETADATA). When this happens at design-time, SSIS triggers a metadata refresh by calling ReinitializeMetadata(). At runtime, this results in an error.
In your scenario, by setting the ValidateMetadata property to false, the error of the DFT is avoided, hence, you don’t need to set the MaxErrorCount to a value more than 1.
For more information about how ValidateMetadate property works, please see Matt’s answer in the following thread:
http://stackoverflow.com/questions/3297097/validateexternalmetadata-property-what-exactly-does-this-do 
Regards,
Mike Yin
TechNet Community Support

Similar Messages

  • Report on Open Items along with Qty & Value for LA confirmed items

    Hi,
    I would like to know a report of Open POs(No Goods receipt made) but LA confirmed Items along with Values(Amount)
    i.e
    List of confirmed,unsent items along with Values for plant wise or vendor wise or PO Number wise.
    Regards,
    Vengat

    Hi,
    Any other inputs?
    Our client's requirement is to know how many (Both Qty & Value) of items for the input LA confirmed(ASN received) but no GR Made
    Regards,
    Vengat

  • How to get all parameter names along with their values in stored procedure which is being executed

    Im using sql server 2012, is there any possible way to get all the parameters of a stored procedure along with the values passed to it.
    I need these things to build a xml. I mean this should happen in the procedure which being executed and it should be common for all the procedures.
    For example, let us suppose we have to procedures,
    uspSave, @name='test' @age=20
    uspDelete @id=2
    now in uspSave procedure, i need to get @name, @age and the values 'test', 20 and in uspDelete, i should get @id with value 2.
    For getting the column names, i tried this,
    select parameter_name from information_schema.PARAMETERS where specific_name=OBJECT_NAME(@@procid)
    now is it possible to loop through the result of above query and can we get the values.

    I think  you need running SQL Server Profiler to capture this info even in SQL Server 2012.
    Best Regards,Uri Dimant SQL Server MVP,http://sqlblog.com/blogs/uri_dimant/
    Blog : MS SQL Development and Optimization
    Blog : Large
    scale of database and cleansing

  • I want to set a variable with default value and can be changed by the user

    hi,
    i want to set a variable with default value and can be changed by the user, so i new a variable with setting : customer exit, single value, optional, ready for input.
    in my customer exit code, i set a default value, eg. 20070530
    when the variable screen popup, it display the default value 20070530, i changed it to 20070529, but it doesn't work , it still display the data in 20070530, how can i solve this problem? 
    your help is appreciated.

    Liu,
       As mentioned by Anil, you need to restrict your customerr Exit code to I_STEP = 1.
    or.
       <u>Open your Variable in change mode, in the Last Page os the Variable Maintenance you can provide default value. Note: you are doing same thing in Customer Exit. In your case no need of Customer Exit.</u>
    Nagesh Ganisetti.
    Assign points if it helps.

  • Issue with Negative Value for Total valuated stock 0VALSTCKQTY.

    Hi Experts,
    we loaded the Cube with datasources 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    We mapped the quanity field from 2LIS_03_BF in transformation either into Key figures "Quantity issued from valuated stock" (0ISSVALSTCK) or "Quantity received into valuated stock" (0RECVALSTCK ) of the cube.
    For obtaining the Total Valuated stock, we used the Key figure 0VALSTCKQTY. This key figure is having the Inflow and Out flow values as 0RECVALSTCK and 0ISSVALSTCK. When i tried to check the content of 0VALSTCKQTY, the key figure  0VALSTCKQTY is not present in the infoCube content. I understood that the value for this key figure would be calculated at the time of query execution with the formula
    { Last obtained Valuated stock + (Received Valuated Stock u2013 Issued Valuated Stock ) }.
    The issue is the first records in the query is obtained with negative value for the total valuated stock 0VALSTCKQTY even though the values of Received Valuated Stock  and  Issued Valuated Stock are with Zero.  Could any one please help me on how the first record in the query is with a negative value eventhough the inflow and out flow fields of it are with Zero.
    Many Thanks in advance.
    Jeswanth

    Hi Srini,
    I observed an interresting reason for the stock being with negative in the first record.
    Issue : While executing the BEx report, we have the first record with a negative value.
    Let me explain with an example
    Material  : XYZ
    Plant      : A
    Date of Stock Initialization for data source 2LIS_03_BX -
    >  12th April 2009.
    So on 12 Th April 2009 consider that we have a stock in store with a value of 2640.
    Then we have loaded wih Data source 2LIS_03_BF for all Historic Movement types.
    At the time of query execution we will have the first record with a negative of available stock present on the day of initialization .
    So, as we have initilized the data source 2LIS_03_BX on 12 th April 2009, we have at that time a stock of 2640 in availability.
    Exactly with the same value of 2640, we are having a negative value i.e. -2640.
    and also one more point to be noted is ...as we have initialized the data source 2LIS_03_BX on 12 th APril 2009...it has created a
    opening balance of 2640 on the day of initiailization i.e on 12 th April 2009 in infocube....(which is an extra record...)...so if the previous record of 12,04,2009 is having some value in it..then it will get added to 2640 EA..which will give incorrect stock
    So in the query the records will appear in the below following manner
    Calendar Day     Total stock                                                                Received stock                                          Issued Stock         
    28.12.2005 --->  - 2640 EA
    29.12.2005 --->    2000 EA                                                                       640 EA                                                        0
    10.04.2009 --->      0                                                                                0                                                               2000 EA      
    11.04.2009 -
    >    0                                                                                0                                                                0          
                                 (For making
                                  the earlier record of  initilization to 0  a negative value -2640 EA is created in the first record )
    12.04.2009 (Initializtion day) --->  2640 EA                                                 0                                                                0
    13.04.2009 
    the day before initialization the total stock will be 0 due to the negative effect introduced by the first record and from the day of initialization the records will be the accurate values...  On 12 th april 2009 we can see that a stock of 2640 is brought into the total stock. In fact if there is no negative value i.e. -2640 in the first record then ...the value on 11.04.2009 will be 2640 Ea and this will get summed up with the Opening balance of 2640 EA created by 2LIS_03_BX on the day of intitialization. So on 12 .04. 2009 the total stock will be shown as 5280 EA...so in order to prevent the double value only we observed that the first record is created with the negative of available stock present on the initialization ...to make the record before the day of initialization i.e. 11.04.2009...to be 0...so that from 12 th April 2009 ..will start to see the actual total stock in the query result...
    This is happening only if we use  both the data sources 2LIS_03_BX and 2LIS_03_BF  for loading into BW.....
    If we load alone by 2LIS_03_BF ...then as 2LIS_03_BX is ruled out in the loading...then no negative of available stock will be created ...because there will be bno opening balance created on the day of initialization.....and the opeing balance available will be flowing into consecutive records due to the movement types and 12 th April 2009 will be shown with avaialable total stock of 2640 EA.
    Kindly let us know your opinions on this...
    Thanks.
    regards,
    Jeswanth

  • Pro*C & SQLDA with NULL value for predicate column

    Hi: I am using a C program to update a table via a dynamic sql (method 4) and SQLDA. In the update statement predicate, I have place holders (as in TBLCOL=:C000). One of the columns in the predicate contains null values, so I set L[n] = 0, V[n] = pData (which pData[0] = '\0'), *(I[n]) = -1, and T[n] = 5 (for text). I cannot find the row that I know is there.
    I cannot change my statement to contain TBLCOL IS NULL, since I don't know ahead of time if I'm looking for rows with null values for this column. The Pro*C manual says that by setting the appropriate *(I[n]) = -1, it indicates to Oracle to simulate the "IS NULL" clause, and update the appropriate rows. In my case, I receive 1403 as SQLCODE when I use TBLCOL=:C000 vs TBLCOL IS NULL. What am I doing wrong? Thank you for your help.

    You should include these columns as well;
    ChangeType (see mxi_changetype)
    ValOwner (repository)
    UserID ("jobid=<>", usermskey, GUI (mmc), DG (dyngrp), reconcile)
    IdAudit  (This is the event task (add and del member for assignments)
    ParentAuditId (AuditID of parent which last updated the attribute, not consistent)
    ChangedBy (Holds the MSKEY of the user which last changed the attribute)
    ExpiryTime
    to make sure you get a fuller picture of the audit record.
    Your selection does not cover all events and descriptions
    br,
    Chris

  • How to set default value for html:file in struts

    hi
                   i am working on an application using struts situation is i am using the
    <html:file property="" /> to allow the user to upload file. but i need that a default file should be set so that even if the user donot click browse ie                the user wish to upload that default file the default file get uploaded on page submition.     Is it possible to set any default value for html:file ...if yes plz provide any suggestion or links how to achieve this.     thanks in advance

    www.google.com?q=STRUTS+DOCUMENTATION

  • I am new to mac. just purchaased it 3 weeks ag along with MS office for mac, i notice that all my outlook email are in this finder folder, can i delete these email files from this location? why are they there anyway?

    I am new to mac. just purchaased it 3 weeks ag along with MS office for mac, i notice that all my outlook email are in this finder folder, can i delete these email files from this location? why are they there anyway?

    Cherry63 wrote:
    I am talking about the icon on the docking row, that's the guy with the smily face. When you click on him it brings up a bunch of files of what I seem to have store/created on my Imac. There are hundreds of emails and some other documents. I tried to delete a few of them when I first got the MS office but it did not like that, it said it have to rebuild oulook. Why cant i delete these files? is this Apple version of Window outlook PST files?
    These file extenssions are listed as
    olk14_message or even or ccontact. I wish I could send a screen print but I dont see that on the key board. Maybe I should have stuck with windows..
    Oh the ...olk14_message's.  Do not delete them behind Outlooks back, i.e., from the finder.  Those are the various messages that you sent, received, or deleted in Outlook.  They are indexed by Outlook so if you delete behind Outlook's back Outlook will get confused trying to access those messages.
    You can delete them however using Outlook itself.  In outlook select a mailbox (Drafts, Sent Items, Deleted Items, etc.) by clicking on the mailbox on the left.  It will show you the messages in that mailbox.  You can now select all or selected items in that mailbox.  The click the Edit menu and select Delete.  You will get a dialog asking if you really want to delete the selections.  Answer "Delete" and the messages will get deleted.
    The olk14_message's you are seeing are the actual messages shown the Outlook mail boxes.  When you actually delete them the way I just described the corresponding olk14_message files will also be deleted.
    Note Outlook's Deleted Items mailbox is where all deleted messages go when you click the Delete tool in the Outlook toolbar.   Thus using the Delete tool from the toolbar does not permanently delete the messages.  So if you been using that for months or years you are going to have a very large Deleted Items mailbox.  And every one of those items in there is going to have a corresponding olk14_message file for that message.
    So if those olk14_message files you are seeing are from the Deleted Items mailbox you can get rid of all those corresponding olk14_message files by selecting all the messages in Deleted Items and using the Edit menu's Delete.
    Alternative ways to the Edit/Delete to do the permanent delete is select (all) the messages to delete and control (right) click to bring up the Outlook contextual menu and select Delete from it.
    Finally if you use the Delete tool in the toolbar for messages selected in the Deleted Items mailbox you will be able to permanently delete those too.  It's an exception since using the tool on the Deleted Items means there's no place to put those messages except to "oblivion".
    So, in summary, using the Delete tool in the toolbar on messages in every mailbox except the Deleted Items mailbox just moves messages to the Deleted Items mailbox.  But using the Delete tool on items in them Deleted Items mailbox permanently deletes the selected items in there.  And only permanently deleting items removes the corresponding actual ...olk14_message files.

  • Explain statspack values for tablespace & file IO

    10.2.0.2 aix 5.2 64bit
    in the Tablespace IO Stats & File IO Stats section of statspack and awr reports can someone help to clear up a little confusion I have with the value for AV Reads/s & AV Rd(ms). I'll reference some values I have from one of my reports over a 1 hour snap shot period, with the first three columns being reads, av rd/s, av rd(ms) respectively for both sections.
    For Tablespace IO I have the following.
    PRODGLDTAI
    466,879 130 3.9 1.0 8,443 2 0 0.0
    For File IO I have the following for each file within this tablespace.
    PRODGLDTAI /jdb10/oradata/jde/b7333/prodgldtai04.dbf
    113,530 32 2.6 1.0 1,302 0 0 0.0
    PRODGLDTAI /jdb14/oradata/jde/b7333/prodgldtai03.dbf
    107,878 30 1.6 1.0 1,898 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai01.dbf
    114,234 32 5.8 1.0 2,834 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai02.dbf
    131,237 36 5.2 1.0 2,409 1 0 0.0
    From this I can calculate that there were on average 129.68 reads every second for the tablespace and that matches what is listed. But where does the av rd(ms) come from? If there are 1000 milli-seconds in a second and there were 130 reads per second, doesn't that work out to 7.6 ms per read?
    What exactly is av rd(ms)? Is it how many milli-seconds it takes on average for 1 read? I've read in the Oracle Performance Tuning doc that it shouldn't be higher than 20. What exactly is this statistic? Also, we are currently looking at the purchase of a SAN and we were told that value shouldn't be above 10, is that just a matter of opinion? Would these values be kind of useless on tablespaces and datafiles that aren't very active over an hours period of time?

    10.2.0.2 aix 5.2 64bit
    in the Tablespace IO Stats & File IO Stats section of statspack and awr reports can someone help to clear up a little confusion I have with the value for AV Reads/s & AV Rd(ms). I'll reference some values I have from one of my reports over a 1 hour snap shot period, with the first three columns being reads, av rd/s, av rd(ms) respectively for both sections.
    For Tablespace IO I have the following.
    PRODGLDTAI
    466,879 130 3.9 1.0 8,443 2 0 0.0
    For File IO I have the following for each file within this tablespace.
    PRODGLDTAI /jdb10/oradata/jde/b7333/prodgldtai04.dbf
    113,530 32 2.6 1.0 1,302 0 0 0.0
    PRODGLDTAI /jdb14/oradata/jde/b7333/prodgldtai03.dbf
    107,878 30 1.6 1.0 1,898 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai01.dbf
    114,234 32 5.8 1.0 2,834 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai02.dbf
    131,237 36 5.2 1.0 2,409 1 0 0.0
    From this I can calculate that there were on average 129.68 reads every second for the tablespace and that matches what is listed. But where does the av rd(ms) come from? If there are 1000 milli-seconds in a second and there were 130 reads per second, doesn't that work out to 7.6 ms per read?
    What exactly is av rd(ms)? Is it how many milli-seconds it takes on average for 1 read? I've read in the Oracle Performance Tuning doc that it shouldn't be higher than 20. What exactly is this statistic? Also, we are currently looking at the purchase of a SAN and we were told that value shouldn't be above 10, is that just a matter of opinion? Would these values be kind of useless on tablespaces and datafiles that aren't very active over an hours period of time?

  • How to download alv grid output(with field catalog) into excel file format

    Hi all,
    How to download alv grid output(with field catalogs) into excel file format and same file has to download to application server.
    Please help.
    Regards,
    Satya.

    Hi,
    On list where alv is displayed, select export icon( green color -> ),select spread sheet.
    This will display records in Excel sheet.

  • Email with attachment as an excel file

    Hi,
    Do you have any ABAP example that can send email with attachment as an excel file? Please help, thanks!

    Hi,
    Please search in the Forum and you will get N number of threads for this.

  • Setting the footer with the value of a cell - Excel 2010-2013

    Hi,
    is it possible to set the footer of a workbook with the value of a cell without using VBA code or macro?
    Thanks

    No; it is not possible to enter a formula that refers to cells in the header or footer. A VBA macro is the only way to set the header or footer to the value of a cell.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Problem with RGB Values for Canvas Type ‚Horizontal Toolbar' in Webforms 10

    Hello,
    I have a problem with the canvas type ‘Horizontal Toolbar’ in Webforms 10g.
    When I try to set or change the RGB value of a ‘Horizontal Toolbar’ with the forms function
    Set_Canvas_Property(‘my_horizontal_toolbar’, BACKGROUND_COLOR, rgb-value)
    (at runtime) it has no effect in Webforms 10g for the canvas type ‘Horizontal Toolbar’ (the background color of the horizontal toolbar doesn’t change).
    But it works fine for other canvas types like ‘Stacked’ or ‘Content’.
    In Oracle 6i (Client / Server) this function works quiet well (even for the ‘Horizontal Toolbar’ canvas type).
    The reason why we are using rgb values instead of visual attributes in this case is, that the color of the ‘Horizontal Toolbar’ should be customizeable (via a RGB Field) for our customers (at runtime).
    Further more we are using the same technique for Text-Field-Items, Content- and Stacked-Canvases (and all works fine).
    Maybe it has something to do with the pre-configured IAS color-schema (blaf).
    But changing the color schema (e.g.: from 'blaf' to 'red') has no effect also.
    Thanks for your help.

    This is probably bug 777312. Call Support for the latest info on this bug and for help getting it fixed.

  • CN41 report with out values for project dates

    Hi Experts
    The following field values are captured in Table PROJ.
    a. Finish Date PROJ-PLSEZ
    b. Forecast Start PROJ-SPROG
    c. Forecast Finish PROJ-EPROG
    But the report CN41/CN41N does not show values for these fields.
    Can anybody give clue to get this report with values for the above fields.
    Warm regards
    ramSiva

    HI,
    if you want the top  - of - page to be displayed
    even when we scroll down
    then use this
    try to give heading as text elements by giving some spaces
    TOP-OF-PAGE.
      PERFORM display_header.  RESERVE 10 LINES.
    form
      SET LEFT SCROLL-BOUNDARY COLUMN 84.
      FORMAT COLOR COL_BACKGROUND INTENSIFIED ON.
      WRITE:/01(252) text-h01 CENTERED.
      WRITE:/01(252) text-h06 CENTERED.
      SKIP.
    endform
    as it is working fine in my report
    reward points if helpful,
    regards,
    venkatesh

  • Table editor problem with default value for column

    Hi there,
    I'm trying to use SQL Developer 1.2.1 on Ubuntu 7.10 (though I don't think the OS is relevant) and I'm running into a snag when trying to update table structures. If you go to edit the table to say modify a column name, and that column has a default value set, SQL Developer is encapsulating the value with brackets and quotes. When trying to save the changes, it complains about the default value being 4 chars too many for the column width. An example of this would be a currency code column of varchar2 (3) set with EUR as the default. SQL Developer changes the value to ('EUR') hence the error.
    Is there anyway to prevent this from happening?
    Cheers,
    Chris

    Could you please be more specific? In 1.2.1.32.40 I
    added the column COL1 VARCHAR2(3) with default value
    'EUR'. The data display field refreshed to show the
    default value, so I edited it in a couple of entries
    and comitted the change without problem. Then I
    renamed the column from the "Edit table" popup menu.
    Finally, I renamed the column from the "Rename
    column" popup menu, no problem either.Ah, you are correct. That does work. What I was trying is select tablename in the object browser, then right click on it and select "Edit" from the contextual menu. You are then presented with edit table dialog box. If you then select a column in that box you will see a column properties box. In that section you can change the name, default value, datatype et cetera. Note that your default column value which should just be EUR (or 'EUR' to denote that it's a string) is now ('EUR'). Once you try changing the name to of the column to something else and then click OK, you should then get an error complaining of "Invalid varchar2 default value" with a more specific message of "Default values size 7 is greater than the allowed 3"
    You have provided a work around, and thanks for that, but it would be nice to edit everything in the Edit table dialog box if you're modifying more than one column name. I'm tasked with cleaning up a bit of a messy database, and there are a good deal of columns to be renamed.
    Cheers,
    Chris

Maybe you are looking for