DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
This topic is not resolved, but there is a WORKAROUND.
Author Message
prasad111



Group memberships:
Premium Members

Joined: 19 May 2006
Posts: 142

Points: 1672

Post Posted: Thu Jul 29, 2010 6:56 pm Reply with quote    Back to top    

DataStage® Release: 8x
Job Type: Parallel
OS: Unix
Job Design
Code:
DatasetStage--> Copy --> InvestigateStage--> Peek

Warning
Code:
CopyToAll: When checking operator: When binding output schema variable "outRec": When binding output interface field "NameDomain_USPREP" to field "NameDomain_USPREP": Implicit conversion from source type "ustring[max=100]" to result type "string[max=100]": Possible truncation of variable length ustring when converting to string using codepage UTF-8.


In Investigate stage uses Character Concatenate Investigate option, whenever this investigation option is selected we see the above error. As there is no option to set NULL VALUE=" " how to eliminate this warning apart from supression using message handler?

Thanks for all your replies
Prasad
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 41029
Location: Canberra, Australia
Points: 228711

Post Posted: Thu Jul 29, 2010 8:40 pm Reply with quote    Back to top    

Your use of the extended property Unicode is inconsistent across the stage. A ustring[max=100] is a VarChar(100) with Unicode set, a string[max=100] is a VarChar(100) with Unicode not set. Find this ...

_________________
Zenith Solutions (Australia) Pty Ltd
-- from obscurity to clarity
Rate this response:  
Not yet rated
prasad111



Group memberships:
Premium Members

Joined: 19 May 2006
Posts: 142

Points: 1672

Post Posted: Fri Jul 30, 2010 10:52 am Reply with quote    Back to top    

Yes I have given all the columns SqlType as Varchar and Extended Unicode, still I am getting the error.
The error occurs only when used Character Concatenate investigate type , for the same column (no change in the job or column name, ....) when Character Discrete Investigate type is selected the job runs fine without warning.
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 41029
Location: Canberra, Australia
Points: 228711

Post Posted: Fri Jul 30, 2010 1:51 pm Reply with quote    Back to top    

Are you able to remove Unicode from all the fields you are mentioning in the concatenation as a test? It may be that the internal result of concatenation is the "field" that is at fault here.

_________________
Zenith Solutions (Australia) Pty Ltd
-- from obscurity to clarity
Rate this response:  
Not yet rated
prasad111



Group memberships:
Premium Members

Joined: 19 May 2006
Posts: 142

Points: 1672

Post Posted: Mon Aug 02, 2010 2:42 pm Reply with quote    Back to top    

With or Without Unicode, I get the same warning
Rate this response:  
Not yet rated
ray.wurlod

Premium Poster
Participant

Group memberships:
Premium Members, Inner Circle, Australia Usergroup, Server to Parallel Transition Group

Joined: 23 Oct 2002
Posts: 41029
Location: Canberra, Australia
Points: 228711

Post Posted: Mon Aug 02, 2010 4:35 pm Reply with quote    Back to top    

OK, use a message handler to demote the warning to informational. This is a message that is unlikely to impact your processing of data.

_________________
Zenith Solutions (Australia) Pty Ltd
-- from obscurity to clarity
Rate this response:  
Not yet rated
prasad111



Group memberships:
Premium Members

Joined: 19 May 2006
Posts: 142

Points: 1672

Post Posted: Mon Aug 02, 2010 5:12 pm Reply with quote    Back to top    

Thanks.
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours