NLS not working in hash file

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
BradDriver
Participant
Posts: 5
Joined: Wed May 19, 2004 3:40 am

NLS not working in hash file

Post by BradDriver »

We are running a job that moves data from one SQL Server database to another SQL Server database, performs a sum and then writes out a hash file. The Polish characters are written correctly on the 2 databases but not in the hash file. We are using NChar on all input and output tabs, locale is PL for Poland, default map for stages is UTF8. Any ideas?
Luk
Participant
Posts: 133
Joined: Thu Dec 02, 2004 8:35 am
Location: Poland
Contact:

Post by Luk »

what are you using to access to source and target?
na ODBC stage?

if yes, and your server is Microsoft SQL Server try to add proper code page option to your DNS source
i.e AppCodePage=1250
LUK
BradDriver
Participant
Posts: 5
Joined: Wed May 19, 2004 3:40 am

Post by BradDriver »

It is using a DRS stage
Luk
Participant
Posts: 133
Joined: Thu Dec 02, 2004 8:35 am
Location: Poland
Contact:

Post by Luk »

DRS stage also using ODBC data source to get access to database!
LUK
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The NLS map for DataStage Hashed Files must always be NONE.

This is because DataStage Hashed Files operate entirely within the DataStage environment; any characters needed are mapped on the boundaries between the external world and DataStage; remapping can only cause errors.

Of course, if you're accessing UniVerse or UniData hashed files, that is a different story; these are external to DataStage and therefore mapping would be required.
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