Skip to Content
Custom Search

Splitting a file into equal number of records

No replies
Anonymous

 

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

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 35 guests online.
Dr. Radut | forum