Page 1 of 1

Use tr command in Filter property in seq file stage.

Posted: Thu Apr 12, 2012 8:22 pm
by allavivek
Hi All,

Iam trying to use below command

tr -cd [:print:] in filter property of sequential file stage , to remove unprintabls in file.

It was throwing error "no record delimiter found ", but it was defined .

Other filter commands such as grep , head etc are working fine .

Is there any other i should use this command ?

Thanks
Vivek

Posted: Thu Apr 12, 2012 8:34 pm
by qt_ky
I guess when you removed unprintable characters, that included line terminator characters too, so your record delimiter was gone before the stage read the tr output.

Posted: Thu Apr 12, 2012 8:40 pm
by allavivek
yep that's the reason .

Thanks..

Posted: Fri Apr 13, 2012 12:57 am
by pandeesh
So how did you handle this?

Posted: Sun Apr 15, 2012 11:55 pm
by SURA
It is always a good practice to comeback to the forum and say how the issue is resolved. It will help all of us to check when the help needed.

DS User