i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
I think the answer written by Kavya is not fully correct.It will cause the sort to stop after first 200 records in the input file are sorted.But we want the input file to be sorted completely.and first 200 records to be placed in output file.