Error: Failing rows exceeds max specified

  • Source: SQL Server 2K (Win2k)

    Tool: DTS

    Destination: DB2 (Linux)

    Error Source: Data Pump

    Error Message: The failing rows exceeds the maximum specified

    Error Code: 80040E53

    The thing I find strange is that the destination tab field type show as Graphic in the package. In DB2 they are VARCHAR.

    I tried CStr in the transformation. I tried both IBM ODBC and IBM OLE DB Provider.

    Any suggestions.

    TIA

  • This was removed by the editor as SPAM

  • Hello, our DB2 was converted to Linux and I am facing exactly the same problem. I replaced Data Pump with ActiveX for now. Did you figure it out? Thanks.

  • Some found the solution?

    I have the same problem when inserted directly using the OLEDB Connection from an ExecutionTask runs smoothly, but when I have a load from a text file, fails with the same error you.

    Plaease, Help me.

  • If you are using DB2 Connect to connect to Linux DB2 from DTS package running DTS Data pump it happens because by default StaticCursor is selected and DB2 does not allow StaticCursor for Update\Inser\Delete.

    You need to

    1. Go to DB2 Connect Configuration Assistant

    2. Right click on Alias

    3. Select CLI Settings

    4. Select SETTINGS tab

    5. If you do not have CursorTypes property already click Add and select it from the list uncheking

    STATIC checkbox

    6. If you have it already click on current value and then uncheck STATIC box on pop up screen.

    7. Exit saving everything

    There is another way to do it thru DB2CMD utility commands. Change value to 6 or 7. Search for this command syntax on Google...

    Note: On my workstation change was in effect imidiately, but on the server it required reboot. I do not know why...

  • No, I use DTS SQL Server 2000.

    Help meeeeee

  • You can share your solution?

  • That is exactly what I am talking about: Data Pump task of DTS SQL server 2000.

    It is used to load data between different sources\destination and it is the one that produces this error.

    This thread is dedicated to this issue (see the initial post).

    You sounded like you have the same problem - in this case solution is listed above, if not - you are on the wrong thread.

  • Data Pump = Transform Data Task.

  • I do not use DB2 Connect for nothing, just use OleDB Provider for IBM DB2 from SQL 2000 DTS Package.

  • Normally this provider is not supplied on its own (I could be wrong about that), but comes with the product, in most cases DB2 Connect.

    As a sql server person you will be using it without explicitlely knowing about DB2 Connect. Talk to the system person or DB2 DBA to find out.

    You need to find out a way to control the settings.

    Also did you try other providers?

    Microsoft OLE DB Provider for ODBC Drivers works better in many cases (but it will not fix the problem described on this thread as far as I know).

  • Try using "IBM DB2 ODBC Driver" in the "Other (ODBC Driver)" connection object in DTS. I was also having this issue, but mine is working fine after I did this change. Now I can transfer data from my text file or SQL server to DB2 table using the transformation task.

  • Hi ,

    I have tried the fix you suggested. But look at the key words to add, i can't see something like "CursorTypes" in it.

    Where can I change this?

    Thanks,

    Swapna

  • Hi Iam not able to find CursotTypes in the CLI keywords list.Please help me

  • If you use the same software\version it should be there.

    You can try "db2cmd" command and issue

    > db2 update cli cfg for section common using CursorTypes 6

    This is the info

    http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.ca.doc/ca/caclisettingsdialog.htm

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic. Login to reply