You can do it thru SORT,IDCAMs and ICETOOL
IDCAMS: //step1 exec pgm = IDCAMS //SYSPRINT DD SYSOUT = * //IN1 DD DSN = Dateset name //SYSIN DD * Print Infile(IN1), Count(001) /*
//SYSIN DD * SORT fields = COPY outfil files = 01, NULLOFL - RC4 /*
SORTIN = Dataset to be tested SORTOF1 = output file, temp file
Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!