Page 1 of 1

Multiple Header's in Flat File

Posted: Tue May 08, 2012 5:42 pm
by ramesh9394
HI
i am getting a flat file with too many headers

ex

empno empname
1 krish
2 chris
empno empname
3 raghu
eampno empname
4 sri

like this
can any one please tell me how to remove those headers in Ds job

Re: Multiple Header's in Flat File

Posted: Tue May 08, 2012 6:20 pm
by qt_ky
Parallel Job Developer's Guide wrote:When you are reading files, you can use a reject link as a destination for rows that do not match the expected column definitions.
Try going into the stage and changing the reject mode.

Posted: Tue May 08, 2012 9:10 pm
by pandeesh
or, you can use filter option to remove those lines from the file:

Code: Select all

sed '/^Empno/d' 
something like this..

Posted: Mon May 14, 2012 4:45 pm
by ramesh9394
Thank's every one
my problem is resolved .now they are sending file with no header's