german special character does not appear correctly in DB2

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

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

Post by chulett »

What code page / characterset is your target database using?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ruf888
Participant
Posts: 20
Joined: Wed May 13, 2009 1:14 am
Location: Germany

Post by ruf888 »

The DB2 colleague told me that the target db uses the IBM500 codepage. but If I use this in the job property, the job won't read any lines from the text file, because it can not find the delimeter in the file. So I can not use this code page.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Not sure how that would cause that... what is your record delimiter? Something unusual?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ruf888
Participant
Posts: 20
Joined: Wed May 13, 2009 1:14 am
Location: Germany

Post by ruf888 »

No, the delimeter is comma. If I use the normal code page, like ISO-8859, utf-8, windows-1252, then the same job will run without error, but the character appears like I mentioned, not as I'd like to have.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So a field delimiter rather than a record delimiter issue. Odd.
-craig

"You can never have too many knives" -- Logan Nine Fingers
chanaka
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 15, 2009 4:06 am
Location: United States

Post by chanaka »

Hi ruf888,

What is the data type of the column in target? Ideally it should be Nvarchar or Nchar to support multi-byte characters.

Cheers!

Chanaka
Post Reply