Hi
i have 3 seq file stage and all of them are in the append mode writing to the SAME file.
So , when i see the director for logs
For Seq 1 : it has x records exported
For Seq_2 : it has y records exported
For Seq 3 : It has z records exported
But the count of records in the seq file is less than x+y+z.
What could be the issue ? Can i not keep them in Append mode ?
Any ways to prevent this loss of records ?
sequential file issue while appending to the same file
Moderators: chulett, rschirm, roy
Re: sequential file issue while appending to the same file
Your problem, in caps, above.mouni wrote:i have 3 seq file stage and all of them are in the append mode writing to the SAME file.
Sequential files, anywhere on any platform or tool, are by their very nature sequential media and that name was not chosen lightly. While they can support multiple reader processes they can only support one writer process. Period.
Write to three different files. Combine them appropriately in another step, which could be as simple as cat'ing them together after job.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Re: sequential file issue while appending to the same file
Thanks , i had used the same cating in the after job ExecSH option but wanted to know if there are any other options with the combinability modes available or any other properties with the stage itself.
concurrent writing in append mode to a dataset works.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>