I'm using forearch that pointed to a file.
After looping exactly 10 records, the script threw success message for the thread, hence breaking the loop.
I've tried to set success numbers to -1 and 10000+ and have no solution.
What's missing?
If i write data into a single file using multiple threads then is there any chance of data loss ? Is this method okay to write file or some other method should be used to avoid data loss(if it happens) ?
Thanks
There should be no data loss, but it is still better to use the resource for this purpose