NLS setting for Oracle with AL32UTF8

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
victorbos
Participant
Posts: 24
Joined: Tue Jul 15, 2003 2:05 am
Contact:

NLS setting for Oracle with AL32UTF8

Post by victorbos »

Hi all,

Does somebody know what NLS setting to use in datastage server to access data in an Oracle database in AL32UTF8?

thanks in advance,

Victor
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Search is your friend! This post seems to have the information that you need. There were others, btw.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You really meant DUTCH_THE_NETHERLANDS.AL32UTF8 (no space) yes? Do you have NLS installed?
-craig

"You can never have too many knives" -- Logan Nine Fingers
victorbos
Participant
Posts: 24
Joined: Tue Jul 15, 2003 2:05 am
Contact:

Post by victorbos »

Yes, I meant
DUTCH_THE NETHERLANDS.AL32UTF8
(what space?)
And yes: NLS is installed.

Victor
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Between "THE" and "NETHERLANDS". :?

I really think you need to have an underscore there. Other than that, I'll have to defer to one of the NLS experts on the forum here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
victorbos
Participant
Posts: 24
Joined: Tue Jul 15, 2003 2:05 am
Contact:

Post by victorbos »

Ah, that space...didn't notice that :shock:
I actually copypasted the setting from

Code: Select all

SELECT USERENV ('LANGUAGE') FROM DUAL;
...which does return the string with that space....

Victor
Vijay Kumar
Participant
Posts: 59
Joined: Sat May 29, 2004 12:31 am
Location: Pune

Post by Vijay Kumar »

Hi Victor,
set the NLS Mapping as UTF8 and also let me know how you are getting connected to Oracle. Are you using ODBC stage?
If Yes then set the EnableNcharSupport=1.
If you are using any other connection method then check the support for the NLS for those stages.

Also check whether the input file is really in UTF8 format or any other special characters which are not part of UTF8, those may not be get processed.

Hope this information may resolve your issue

Thanks & Regards
Vijay Kumar
victorbos
Participant
Posts: 24
Joined: Tue Jul 15, 2003 2:05 am
Contact:

Post by victorbos »

Hi all,

Forgot to say that I did solve this with one extra line in dsenv:

Code: Select all

NLS_LANG=.AL32UTF8; export NLS_LANG
Victor
Post Reply