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?
Write 1 record in sequential file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.