in reply to Splitting a Blocked file in Round Robin into smaller files
You use very confusing terminology, mixing "record", "line" and "block". Assuming that you consider "unit of work" boundary to be between a "block" 5 and a "block" 1, then why not simply use seek to seek to a position roughly ($file_size / $number_of_files) * $this_file and read forward until you've encountered one "block" 5? After that, the current set of "unit of work" starts.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Splitting a Blocked file in Round Robin into smaller files
by tradersjoe0 (Novice) on Dec 14, 2015 at 16:08 UTC | |
by Corion (Patriarch) on Dec 14, 2015 at 17:31 UTC |