Hi,
I want to convert varchar(11) column to char(11).So i used modify stage to convert the datatype.I simply changed the datatype in output metadata and set the specification as NOWARN but still iam getting waring in output as below.
On input data set 1: When binding input interface field "WCC_GS_CTS_PARTY_ID" to field "WCC_GS_CTS_PARTY_ID": Implicit conversion from source type "ustring[variable_max=11]" to result type "string[11]": Possible truncation of variable length ustring when converting to string using codepage UTF-8.
How to avoid this warning?.
Possible truncation of variable length ustring
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 42
- Joined: Wed Dec 26, 2012 1:13 pm
-
- Participant
- Posts: 62
- Joined: Thu Feb 08, 2007 6:01 am
- Location: Pune
-
- Participant
- Posts: 42
- Joined: Wed Dec 26, 2012 1:13 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Did you mention the cast (change of data type) in the Modify stage specification?
(Use ustring if Unicode, UTF-8, etc., are in play; use string otherwise.)
Code: Select all
newcol:ustring[11]=inputcol
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 42
- Joined: Wed Dec 26, 2012 1:13 pm