Splitting a file into equal number of records
Fri, 08/05/2011 - 16:09
I have a file which contains a very huge number of records.
The file is fed to a job and we are planning to split the file
into 5 different files so that we can have parallel jobs process
these split files.
I need to split the file into equal number of records using SORT (do not want
a COBOL solution). Lets say the file has 500 records then my output files
will have 100 records each.
The number of records in the input file may vary.
Looking forward to your responses.
- Karan"; ; ; ;