DFSORT is a powerful IBM utility. It is used to copy, sort, and merge datasets. The SORTIN and SORTINnn DD statements are used to specify input datasets. The SORTOUT and OUTFIL statements are used to determine output data.
DFSORT is purely mainframe related utility program which is used to process or manipulate sequential files with the help of JCL.