Removing tabs from a column

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
tmcnicol
Premium Member
Premium Member
Posts: 4
Joined: Tue Jan 23, 2007 1:01 pm
Location: HCL

Removing tabs from a column

Post by tmcnicol »

I have a table loaded via Excel where the last column of data contains what looks like a pipe but acts like a tab. How do I find out what the ASCII code is and then I should be able to use Convert to remove.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

A hex editor or perhaps 'od' - an Octal Dump of the file. There should be a 'show hex' switch if you're more comfortable with that. Tell us what you find.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

As well as od -xc as suggested by Craig, you can use editors such as UltraEdit that can open the file via FTP and show it to you in hex.
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