NLS query

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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Katz,

the display data mode has always been a bit troublesome and particularly so when working with multibyte data. You should write your data to a sequential file and view the data in the file. I have a suspicion that you settings are being interpreted correctly, but are being shown incorrectly in the designer.
srinagesh
Participant
Posts: 125
Joined: Mon Jul 25, 2005 7:03 am

Post by srinagesh »

To set an NLS_LANG environment variable for the job,
go to Job Properties, Parameters, click in Add Environment Variable, click on New, enter the variable name as NLS_LANG and enter a prompt.

Then you need to click on it (or possibly double click) to get it to appear in the paramter list (shows as $NLS_LANG) and then set the value to American_America.UTF8, or what ever be the NLS you want to set it to, which will be the default value at runtime.

You can make this as a Project Parameter and use it across all the mappings.


Hope this helps
katz
Charter Member
Charter Member
Posts: 52
Joined: Thu Jan 20, 2005 8:13 am

Post by katz »

Hi srinagesh,

Thanks for your suggestion. Does the NLS_LANG environment variable setting for the job simply override the default value as read from the DSENV file?

katz
Post Reply