Question

  Asked: Jun 24 2008   11:44 PM GMT
  Asked by: Thuybui


Problem with SSIS & AS400, Source is AS400, Dest is SQL2005


AS/400 errors, SQL 2005, SSIS

When I'm trying to retrieve data from AS400, I received the below error:
The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".
How do I know which code page to use besides the default of 1252?

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Are you columns in the destination of the correct data type, and are they long enough?

You may need to run the data transformation through a "Data Conversion" Data Flow Transformation so that you can map the AS/400 data type to a known SQL data type manually. When doing so don't forget to set the column sizes wide enough for your text data.

I don't think the problem is the size. I do use "Data Conversion" and increased the size from 50 to 500 for that particular column. I think the problem is SSIS cannot convert some data in that column using the default code page of 1252. It worked fine in DTS but it is not working correctly in SSIS?

Thanks
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400 and SQL Server.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

Mrdenny  |   Jun 25 2008  12:56AM GMT

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.