Conversion error warning

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
India2000
Participant
Posts: 274
Joined: Sun Aug 22, 2010 11:07 am

Conversion error warning

Post by India2000 »

I have a scent ion where I extract fields from a table in varchar and fed them as char input to quality stage standardization stages. standardization out is char.

I getting the following error:
When checking operator: When binding output interface field USName to out filed USName : Implicit conversion from source type "ustring[max=1]" to result type "string[max=1]": Converting ustring to string using codepage UTF-8.
JOB aborts when warnings reach to 50.

How to resolve this issue?

Thanks in advance.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Perhaps an explicit conversion is in order?
-craig

"You can never have too many knives" -- Logan Nine Fingers
India2000
Participant
Posts: 274
Joined: Sun Aug 22, 2010 11:07 am

Post by India2000 »

Craig,

Could you be more specific? There is no explicit on conversion from varchar to char when extracting fields from the Table into a file being used as input to the standardization stage.
these are existing jobs.extract job is a server job output of which is given as input to quality stage job that is parallel.

We are migrating code from 8.1 to 9.1.

Any suggestion is highly appreciated.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Thinking you may need to leverage the UstringtoString() function here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or just enable the Unicode extension on your output field so that it, too, is data type ustring.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply