Excel - IBM I Access Data Transfer error - CWBTF0012 - An unexpected error has been detected while processing the transfer request.
Error occurs at 64,000 rows, total rows is 129,000.
Is this a bug/defect or is there another fix.
V7R1 - SI SI50567, Excel 2010 Pro
Excel 2007 and the iSeries Access Data Transfer Add-in for Excel - Number of Rows Supported
Technote (troubleshooting)
Problem(Abstract)
Microsoft Excel 2007 and Excel 2010 support a maximum of 1,048,576 rows of data per spreadsheet. Before V5R4 iSeries Access service pack SI31388, the iSeries Access V5R4 Data Transfer Add-in for Excel had a limitation of 65,536 rows per spreadsheet. The Data Transfer GUI can transfer larger amounts of data when using BIFF7, BIFF8, and CSV formats.
Resolving the problem
Microsoft Excel 2007 and Excel 2010 support a maximum of 1,048,576 rows of data per spreadsheet. This number is greatly increased from previous Excel versions which supported a maximum of 65,536 rows per spreadsheet (16,384 in versions prior to Excel 97).
Before V5R4 iSeries Access service pack SI31388, the V5R4 iSeries Access Data Transfer Add-in for Excel (and previous iSeries Access versions) was limited to transferring 65,536 rows of data. This limit was put in place to support the pre-2007 limitation of Excel. The Add-in limitation has been changed in the V5R4 Service Pack SI31388 and now complies with the Excel 2007 limit.
Note: The V5R4 Excel data transfer add-in does not support more then 65,536 rows when using Excel 2010. This is because the V5R4 iSeries Access code is written to only determine whether Excel 2007 is being used so that it will increase the number of records to 1,048,576 rows. The V5R4 code is not written to determine whether Excel 2010 is being used. The V5R4 code will not be enhanced because no additional service packs are planned for V5R4. V6R1 System i Access and IBM i Access V7R1 comply with the Excel 2007/2010 limit starting with V6R1 service pack SI41053 (APAR SE44637) and V7R1 service pack SI41054 (APAR SE45766). Previous to these service packs, the limit of 65,536 was used.
Other options are available to transfer more the 65,536 rows. The transfer can be done using the iSeries Access for Windows Data Transfer from iSeries GUI interface. Data Transfer's BIFF7 and BIFF8 formats are capable of creating multiple spreadsheets, with each spreadsheet containing up to 65,536 rows. Data Transfer's Comma Separated Variable (CSV) format can be used to download an unlimited number of rows. The resulting CSV file can be opened with Excel 2007/2010, and Excel will separate the data into multiple spreadsheets, if necessary.
It has also been reported that even after V5R4 service pack SI31388, downloads in Excel 2007 of more then 65,536 rows may fail with message CWBTF0012 - An unexpected error has been detected while processing transfer request. This error occurred when the default Excel save format was Excel 97-2003 workbook (*.xls) instead of Excel Workbook (*.xlsx). This default setting can be changed from within Excel 2007/2010.
You can change the file type that is used by default when you save a workbook:
1. On the File tab, click Options.
2. In the Save category, under Save workbooks, in the Save files in this format box, click the file format that you want to use by default.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.