Splitting a file into equal number of records

1 post / 0 new
Anonymous
Splitting a file into equal number of records

 

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
"; ; ; ;
Sponsored Listing