Producing files in UTF8 format

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
dhletl
Participant
Posts: 22
Joined: Mon Aug 23, 2004 1:13 am

Producing files in UTF8 format

Post by dhletl »

Hi,

How do we generate files data after ETL processing in UTF8 format?
Is this feature provided in DataStage PX version 7.0 and above?

If so, which passive stage needs to be used?

Pls provide details.

Thanks,
Nitin
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

If you install DataStage with NLS then you can choose the MAP used when reading/writing data as one of the stage options.
dhletl
Participant
Posts: 22
Joined: Mon Aug 23, 2004 1:13 am

Post by dhletl »

How do I make sure that the DataStage installation is done with NLS?
(I do not have admin rights on the DataStage installed on our server.)

Thanks
Nitin

[/img][/list][/list]
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

I guess you should speak to your server admin
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You can determine whether national language support (NLS) is enabled or not easily; every passive stage link properties window will include an NLS tab.

Alternately, you could examine the uvconfig file in the DataStage "home" directory ($DSHOME) and look for the NLSMODE parameter. If it's present, and set to 1, then NLS is enabled.

Without NLS, DataStage uses a single-byte character set internally. With NLS, DataStage uses a UTF-8 encoding of Unicode internally. Note that there are many different UTF-8 encodings; DataStage's is idiosyncratic in that it preserves single-byte dynamic array delimiter characters and its internal representation of NULL.
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