Page 1 of 1

Write 1 record in sequential file

Posted: Wed Jun 22, 2016 3:48 am
by suja.somu
Is it possible to write 1 record in a sequential file ? I want to run the job in 4 node config

I am reading 10 records from Database and want only 1 record in a file. I used the Filter option ( head -1) in sequential file stage. The job aborted with error.

Export failed, write() failed. Broken Pipe.

What is the issue? Can someone help me to fix the issue or give an alternate solution to this problem?

Posted: Wed Jun 22, 2016 4:53 am
by ray.wurlod
Use a Head stage rather than a filter command. The Sequential File stage executes in sequential mode on a single node, so the number of nodes in your configuration file does not really matter.

Posted: Wed Jun 22, 2016 5:16 am
by qt_ky
Call the plumber.