Insert these character ₤,€,ß,â,ä,ü,û,Ű in

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
sun786
Participant
Posts: 34
Joined: Mon Feb 07, 2005 5:48 am

Post by sun786 »

what is the NLS charecter set on the project?
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

sun786 wrote:what is the NLS charecter set on the project?
we don't have NLS characet in my PROJECT.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

What is your source? Is it a flat file or a database table? If a table then, what is the NLS character set in your source database? WHat happens when you write to a text file, do any of the characters show up?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

DSguru2B wrote:What is your source? Is it a flat file or a database table? If a table then, what is the NLS character set in your source database? WHat happens when you write to a text file, do any of the characters show up?
Please find the following details:

Source :SQL server
NLS caracter set on sql server :ascii
Target :oracle
NLS caracter set on oracle UTF-8


Thanks &Regards
Srihari
Hemant_Kulkarni
Premium Member
Premium Member
Posts: 50
Joined: Tue Jan 02, 2007 1:40 am

Post by Hemant_Kulkarni »

Create a Job parameter NLS_LANG and set the value as AMERICAN_AMERICA.UTF8
snt_ds
Premium Member
Premium Member
Posts: 280
Joined: Wed Oct 18, 2006 11:53 am
Location: Pune, India

Post by snt_ds »

Hemant_Kulkarni wrote:Create a Job parameter NLS_LANG and set the value as AMERICAN_AMERICA.UTF8
I created job parameter and assigned AMERICAN_AMERICA.UTF8 value. Even though I get the following error.

"Transformer_2: Pin 2 not initialized"


Could you please provide any resolutions


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

Post by chulett »

The key is in your NLS_LANG (and probably LC_CTYPE) environment variable setting. In order for the conversion to happen properly, Oracle needs to know the source character set is different from its native character set. Otherwise, everything is moved over unconverted and thus can become invalid in the process. To do this you need to override their values in your job by setting up User Defined Environment Variables in the Administrator and then including and overriding their value in the processing job.

It has been discussed and explained here a number of times, so not about to type it all up again. Searching the site for NLS_LANG and LC_CTYPE should turn up various conversations here, like this one as just one example.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply