Replace Function

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
mtechnocrat
Participant
Posts: 38
Joined: Sat Feb 28, 2004 12:11 pm

Replace Function

Post by mtechnocrat »

Hi

From source data one column is coming with carraige returns , in target table i have to replace this carriage return with spaces .is there any function like REPLACE in oracle ? Can guide me in this issue

Thanks
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

This post has been answered in the server forum.
xcb
Premium Member
Premium Member
Posts: 66
Joined: Wed Mar 05, 2003 6:03 pm
Location: Brisbane, Australia
Contact:

Post by xcb »

Try using Convert or EReplace. These two functions are almost identical except Convert replaces on a character by character substitution where as EReplace replaces whole substrings. Look at your Datastage Basic pdf manual for the complete definition of these two functions.
Cameron Boog
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Please don't post the same question in both forums unless you are specifically looking for both a Server and a PX answer. This forum is meant for questions on the EE/PX product where the answer to your question would be:

a) Totally different and
b) Unusable in a Server job

Thanks.
-craig

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