And then I want to take first(or any one, but only one) record of each group.The input file has thousands of records and i want to copy these 3 reocrds to the output file(one single output file created using MOD in the SORTOUT).Output file will look like