mainframesguru
New User
Joined: 24 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
Hi All,
My requirement is,
Input: I have ?N? number of records in a file. (N>6)
Desired output:
File1: first N/6 records
File2: next N/6 records
File3: next N/6 records
File4: next N/6 records
File5: next N/6 records
File6: left over records?
Above condition needs to be done using sort,
SORT with OUTFIL option will not serve my purpose, as it wud divide first 6 records into 6 different files.
Please provide me pointers for the above kind of situation. |
|