How to add New NLS Map in the Datastage Server?

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
dwuser
Premium Member
Premium Member
Posts: 13
Joined: Thu Apr 12, 2007 11:27 am
Location: Sunnyvale

How to add New NLS Map in the Datastage Server?

Post by dwuser »

Hi,

Our Target database is in UTF-16 format.

When writing to a database, we like to convert data to UTF-16 format. But in the Available/ show all Maps list there was no UTF-16 format.

Is there a way to add UTF-16 code sheet to the server and make available in the list?

Any inputs or document on this would be greatly appreciated.

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

Post by ray.wurlod »

There is a manual called DataStage NLS in the standard manual set. This takes you through the process of creating a map. Make sure that every mapping you create is round-trip-capable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In the NLS.ADMIN menu choose Mappings then Tables then Create. This creates an entry in NLS.MAP.TABLES table. Enter the name of the table (for example UTF-16). It then prompts You may copy an exsting record to form the basis of the new one whereupon you can enter the name of a compatible map (or none - enter Q to quit). You are then in the line editor ED and ready to enter pairs of code points - one from UTF-16 and one from Unicode, as hexadecimal digits.

Plan ahead.
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