Special Character - ^Ö

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 »

Is that actually one character? You need to find the hex/decimal value of it in order to remove it. From UNIX you can try either an "od -h" to dump it in hex or use an actual hex editor to determine that. Lots of free ones out there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
arun_im4u
Premium Member
Premium Member
Posts: 104
Joined: Mon Nov 08, 2004 8:42 am

Post by arun_im4u »

Yes. It is actually one charater. Let me do some research on the od -h.

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

Post by chulett »

Once you do find the decimal value, you can use the CHAR() function to represent it and then include that in something like Convert() to remove it by converting it to '', an empty string.
-craig

"You can never have too many knives" -- Logan Nine Fingers
arun_im4u
Premium Member
Premium Member
Posts: 104
Joined: Mon Nov 08, 2004 8:42 am

Post by arun_im4u »

I did od -c on the file and found the corresponding ascii value (226). I used the convert function with char(226) but it still does not remove it.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is NLS enabled? This byte may be a leading byte in a multi-byte character.
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