LC_CTYPE

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
Soumyabrata
Participant
Posts: 8
Joined: Wed Nov 22, 2006 1:02 am
Location: India

LC_CTYPE

Post by Soumyabrata »

Hi,
Can anybody help me what value to set for LC_CTYPE parameter in dsenv file?I am loading data for Czech language with NLS_LANG as "AMERICAN_AMERICA.WE8ISO8859P1".I am able to load data manually with SQL Loader,but unsuccessful while loading data with OCI stage in Datastage
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

You will be able to find this info in the Install and upgrade guide. The following is directly out of the guide

If you have installed NLS, you need to edit the $DSHOME/dsenv file to
specify the locale that the server uses (this is separate from the default
locales for projects or jobs, which can be different if required). This
enables server jobs to compile correctly. Locate the following section
in dsenv:
#LANG="<langdef>";export LANG
#LC_ALL="<langdef>";export LC_ALL
#LC_CTYPE="<langdef>";export LC_CTYPE
#LC_COLLATE="<langdef>";export LC_COLLATE
#LC_MONETARY="<langdef>";export LC_MONETARY
#LC_NUMERIC="<langdef>";export LC_NUMERIC
#LC_TIME="<langdef>";export LC_TIME
#LC_MESSAGES="<langdef>"; export LC_MESSAGES
Take the following steps:
1 Replace all occurrences of <langdef> with the locale used by the
server (the locale must be one of those listed when you use the
locale -a command).

2 Remove the #s at the start of the lines.
3 Stop and restart the DataStage server:
To stop the server:
$DSHOME/bin/uv -admin -stop
To start the server:
$DSHOME/bin/uv -admin -start
Ensure that you allow sufficient time between executing stop and
start commands (minimum of 30 seconds recommended).
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well... that would be how to set it, not what to set it to. I'd suggest a chat with your friendly neighborhood DBA man, see if they can shed any light on what it needs to be set to.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try ISO8859-1. If you set this for LC_ALL you don't need to worry about the specific locale categories below it.
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