Multi byte characters getting rejected

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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Multi byte characters getting rejected

Post by chulett »

muralidwhds wrote:Target field length is 50 Chars
Your database is using byte semantics and thus your target field length is 50 bytes long, not 50 characters. It won't fit, period. See if you can talk your DBA / Architect into switching semantics.
-craig

"You can never have too many knives" -- Logan Nine Fingers
muralidwhds
Participant
Posts: 39
Joined: Sat Jul 05, 2008 3:25 am
Location: chennai

Re: Multi byte characters getting rejected

Post by muralidwhds »

We tried loading the same value in same field through Toad and worked fine.
MALLI MURALI
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So confirm for us the target field - does it show as VARCHAR2 50 BYTE or VARCHAR2 50 CHAR?
-craig

"You can never have too many knives" -- Logan Nine Fingers
muralidwhds
Participant
Posts: 39
Joined: Sat Jul 05, 2008 3:25 am
Location: chennai

Post by muralidwhds »

In Database it's define as "ACCOUNT_NAME" VARCHAR2(50 CHAR),

In Datastage it's define VARCHAR2 (50)
MALLI MURALI
arunkumarmm
Participant
Posts: 246
Joined: Mon Jun 30, 2008 3:22 am
Location: New York
Contact:

Post by arunkumarmm »

Set you job level NLS to MS1252. It should work.
Arun
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try using VarChar(150) in DataStage.
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