Using Unicode Data in Dtastage Transformer

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
Rakesh311
Participant
Posts: 36
Joined: Wed Aug 04, 2010 10:53 pm
Location: Banglore
Contact:

Using Unicode Data in Dtastage Transformer

Post by Rakesh311 »

Hello All,

We have a requirement here to Convert data to the Unicode Greek letters.

For Example:

If input data='ohm' then 'Ω'

But when we type 'Ω' in transformer stage its showing as '?'.

Is there any way to do it with NLS setting or any other way to handle this :?:

Thanks,
Rakesh K
rAKESH
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use an NLS map that includes Greek characters.

Tip: It's a subset of ISO8859.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Rakesh311
Participant
Posts: 36
Joined: Wed Aug 04, 2010 10:53 pm
Location: Banglore
Contact:

Post by Rakesh311 »

I got it!!!

When we used UTF -8 in the Output sequential file with output column as Unicode its giving the required output.

For which we have to use the function Char(Decimal value of the unicode character ) in the transformer.
ex:char(8486) for Ω


Regards,
Rakesh
rAKESH
Post Reply