Search String...

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
praburaj
Premium Member
Premium Member
Posts: 133
Joined: Thu Jun 30, 2005 1:26 am
Location: philippines

Search String...

Post by praburaj »

Hi Everyone,

I Can able to search one particular string in Unix using grep command like this.

grep -i "String" filename.

Is it possible to search a string in DataStage. If yes, how to do that?. Any help is really appreciated.
prabakaran.v
Ravi.K
Participant
Posts: 209
Joined: Sat Nov 20, 2010 11:33 pm
Location: Bangalore

Post by Ravi.K »

Index() function would help for you.
Cheers
Ravi K
singhald
Participant
Posts: 180
Joined: Tue Aug 23, 2005 2:50 am
Location: Bangalore
Contact:

Post by singhald »

assuming you want to read the output of the command , you can do this using external soruce stage, place the command in stage and define the table definition
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
Post Reply