How to eliminate Special 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
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

How to eliminate Special characters

Post by satheesh_color »

Hi All,

I have a DB column name Product_long_name..it contains special characters or non printable characters.how can i eliminate the special characters other than ascii values 0--to--128...can you give me a resolution on this.


Thanks & Regards,
Satheesh.R
thurmy34
Premium Member
Premium Member
Posts: 198
Joined: Fri Mar 31, 2006 8:27 am
Location: Paris

Post by thurmy34 »

Hi
You can use the oconv function like this

Code: Select all

X = Oconv("John^CSmith^X1-234", "MCP")
Hope This Helps
Regards
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Technical Note

128 is not an ASCII character. ASCII is a seven-bit encoding, which allows only 0 through 127.
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