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??
//STEP1 EXEC PGM=SORT //SYSPRINT DD SYSOUT=* //SORTOUT DD DSN=TEST.SAMPLE.OUTPUT.VIN,DISP=SHR //SORTIN DD DSN=TEST.SAMPLE.INPUT.VIN,DISP=SHR //SYSIN DD * SORT FIELDS=( , ,CH,A) ENDREC=200 //