Junk characters

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
arnie_nits
Participant
Posts: 101
Joined: Mon Aug 13, 2007 2:32 am

Junk characters

Post by arnie_nits »

Hi,

A junk character '�' sometimes get attached in front of varchar fields.
Like 'Datastage' loaded as '�Datastage'

How can I remove it in the job.

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

Post by chulett »

First order of business is to identify it, you can't properly deal with something if you don't know what it is. Check via a hex editor or the UNIX 'od' command or via the appropriate sql command, depending on where this is happening.
-craig

"You can never have too many knives" -- Logan Nine Fingers
greggknight
Premium Member
Premium Member
Posts: 120
Joined: Thu Oct 28, 2004 4:24 pm

Post by greggknight »

That is the varchar size indicator which is placed in the front of a varchar field.
You will see those if you look at the file in an editor but not from within the view data in the seq stage.

I had the same thing when I am using the CDC and dropping the data down from DB2 with datamirror to a text file. Which I processed from DS.

Are they causing a specific issue?
"Don't let the bull between you and the fence"

Thanks
Gregg J Knight

"Never Never Never Quit"
Winston Churchill
Post Reply