Junk character inserted with Extended ascii in Netezza

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
dsrajus
Participant
Posts: 2
Joined: Sat Feb 23, 2013 2:07 pm

Junk character inserted with Extended ascii in Netezza

Post by dsrajus »

Hi experts,

While loading special characters in netezza database, box character is inserted after one of special character Atilde (~ on top of A).

but when checking updating the netezza database directly, it is working fine. No such box character.

Problem is in Datastage 8.1, Is there any environmental setup to done to avoid this junk character?

Is there any other way of avoiding the junk character?

Thanks in advance
regards,

dsrajus
dsrajus
Participant
Posts: 2
Joined: Sat Feb 23, 2013 2:07 pm

Re: Junk character inserted with Extended ascii in Netezza

Post by dsrajus »

When using Basic transformer, I got this warning

Invalid character(s) ([xC6]) found converting string (code point(s): [xC6][xE8]) from codepage UTF-8 to Unicode, substituting.

trying to do Ereplace but it is also not working Ereplace(col.name, char(198),char(20))
regards,

dsrajus
VineelPrem
Participant
Posts: 19
Joined: Tue Jun 26, 2012 11:14 am
Location: Houston

Re: Junk character inserted with Extended ascii in Netezza

Post by VineelPrem »

hi raju ,
APT_STRING_PADCHAR. I usually set its value to 0*20 (space).and trim space if necessary ,thus keeping my string clean
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

FYI - 0x20 is a space.
-craig

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