Hi, I need to sort first 'N' records of each KEY in a set of records having many records with duplicate keys. Example is shown below::
From the above input, I need to sort out first 2 records of each Key (Key = First 3 bytes) and write in out file the combined output
Is there any utility that can be used for the above scenario ? Could any one help me with the solution for the above problem?
It is greatly appreciated, if you provide and solution which can be used in a JCL.