DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
This topic has been marked "Resolved."
Author Message
rameshrr3



Group memberships:
Premium Members

Joined: 10 May 2004
Posts: 609
Location: BRENTWOOD, TN
Points: 6937

Post Posted: Wed Jun 13, 2018 1:41 pm Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
FYI

IDK why , but our AIX doesn't like quoted arguments to Grep and getting the sam eto work in External filter was quite a pain requiring blunt trial and error till we could force it to recognize :

I have a requirement to only pass values that match '9' but not any other number preceeding '9', fortunately we are not in the 90 range yet
Finally managed to get it work
To Escape Grep reserved characters in REGEXP via EXF stage , use \\
Eg :
in Aix
grep -v [0-9][9]
In Ex filter
grep -v \\[0-9\\]\\[9\\]

What a Pain Smile !
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours