Page 1 of 1

Search String...

Posted: Tue Jun 21, 2011 12:46 am
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.

Posted: Tue Jun 21, 2011 3:23 am
by Ravi.K
Index() function would help for you.

Posted: Tue Jun 21, 2011 3:37 am
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