Information About NLS

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
sryarraguntla
Participant
Posts: 13
Joined: Fri Mar 14, 2008 4:30 pm

Information About NLS

Post by sryarraguntla »

Hi Everyone,

I have installed datastage vesrion 8.0.1 on windows test server 2003. I also enabled NLS while installing. Now my question is Do i need to install NLS? would there be any problem in future as i enabled NLS.Does installing NLS makes any difference?

How can i uninstall NLS?


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

Post by ray.wurlod »

There are two questions: installed and enabled. If you have installed NLS but do not wish to use it, set NLSMODE in uvconfig to 0 and regenerate. This will disable NLS. The only cost will then be the small amount of disk space taken up by the NLS maps.

You can not uninstall NLS. You can only uninstall the whole of DataStage, then re-install without NLS.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sryarraguntla
Participant
Posts: 13
Joined: Fri Mar 14, 2008 4:30 pm

Post by sryarraguntla »

Thanks Ray for your reply.

Setting NLS mode to 0 : I have searched the UVconfig file in c:\IBM\InformationServer\Server\DSEngine. I found

# NLSMODE - Set to 1 if NLS mode is ON for the
# system as a whole. 0 means that NLS mode is OFF.
NLSMODE 1


Do i need to change the above NLSMODE 1 to NLSMODE 0.And may i know how to regenerate .
could you please tell me how to do.


# NLSREADELSE - Set to 1 if READs that fail to map
# all characters in a record are to take the ELSE
# clause. 0 means that unmappable characters are
# returned as the Unicode "replacement" character,
# 0xFFFD.
NLSREADELSE 1

# NLSWRITEELSE - Set to 1 if WRITEs that fail to map
# all characters in a record are to abort (or take
# the ON ERROR clause if present). 0 means that
# unmappable characters are converted to the file
# map's "unknown" character (for example "?") before
# writing the record, and information may therefore
# be lost.
NLSWRITEELSE 1

# NLSDEFFILEMAP - Name of the map to be associated
# with hashed files that do not specify a map in
# their file header (that is, were created on a
# non-NLS system and have not had a SET.FILE.MAP
# done on them).
NLSDEFFILEMAP MS1252

# NLSDEFDIRMAP - Name of the map to be associated
# with type 1 and 19 files that do not specify a map
# in their directory (that is, were created on a
# non-NLS system and have not had a SET.FILE.MAP
# done on them).
NLSDEFDIRMAP MS1252-CS

# NLSNEWFILEMAP - Name of the map to be associated
# with hashed files created when NLS mode is ON. A
# value of NONE means that the data is to be held in
# the native DataStage/NLS character set, based on
# UNICODE.
NLSNEWFILEMAP NONE

# NLSNEWDIRMAP - Name of the map to be associated
# with type 1 and 19 files created when NLS mode is
# ON.
NLSNEWDIRMAP MS1252

# NLSDEFPTRMAP - Name of the map to be associated
# with printer output when a print device does not
# specify a map in &DEVICE&.
NLSDEFPTRMAP MS1252

# NLSDEFTERMMAP - Name of the map to be associated
# with terminal input/output when a terminal does
# not specify a map in its terminfo definition. Can
# be overridden by a SET.TERM.TYPE MAP command.
NLSDEFTERMMAP MS1252

# NLSDEFDEVMAP - Name of the map to be associated
# with input/output when a device other than a
# printer does not specify a map in &DEVICE&. Can be
# overridden by an ASSIGN MAP command.
NLSDEFDEVMAP MS1252

# NLSDEFGCIMAP - Name of the map to be used when
# passing string arguments to/from GCI routines, if
# a routine has not explicitly defined a map.
NLSDEFGCIMAP NONE

# NLSDEFSRVMAP - Name of the map to be used when
# passing string arguments to/from client routines,
# if the server has not been given an explicit map.
NLSDEFSRVMAP MS1252-CS

# NLSDEFSEQMAP - Name of the map to be associated
# with sequential file input/output to a file or
# device that has no explicit map associated with
# it. Can be overridden by a SET.SEQ.MAP command.
NLSDEFSEQMAP MS1252

# NLSOSMAP - Name of the map to use for file names
# or record IDs that are visible to the Operating
# System. This chiefly affects CREATE.FILE and
# records being written to type 1 or 19 files.
NLSOSMAP MS1252-CS

# NLSLCMODE - Set to 1 if NLS locale support is ON
# for the system as a whole. 0 means that NLS locale
# support is OFF. NLSMODE must also be set to 1
# before NLSLCMODE is actioned. If NLSLCMODE is set
# to 1, individual users can still turn locale
# support off by or all locale catgories to OFF.
NLSLCMODE 1

# NLSDEFUSERLC - Name of the initial locale to be
# set by default for a user who has not yet
# specified a locale.
NLSDEFUSERLC US-ENGLISH

# NLSDEFSRVLC - Name of the locale to be used when
# communicating with client routines, if the server
# has not been given an explicit locale name.
NLSDEFSRVLC US-ENGLISH
NLSDEFSOCKMAP NONE


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

Post by ray.wurlod »

None of the other NLS parameters has any effect if NLSMODE is 0.

Search for "uvregen" or "uv -admin -regen" either here or in your DataStage manuals.
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