can anyone explain me what is the difference between the internal sort and external sort? under wat category the dfsort comes under?
From what I've seen, the common definition is that an external sort uses the sort product directly (e.g. PGM=SORT) whereas an internal sort calls the sort product from a program (e.g. COBOL calls DFSORT). But as you can see from the previous posts, that definition is not universally accepted.
DFSORT is a sort utility. It can be called directly or from a program.
This reference might be of help in regard to direct calls to DFSORT vs program calls to DFSORT:
http://publibz.boulder.ibm.com/cgi-bin/ ... 0528173317i head that in jcl while doing sorting if we didnt specify the workfile the jcl will automatically use the sysout statement as the workfile. how far it is?
No, that's not true. If you don't specify workfiles, DFSORT will use dynamically allocated work files. The SYSOUT DD contains DFSORT messages.
i need a clear view of internal and external sort with respect to their names?
DFSORT can be called directly using PGM=SORT or PGM=ICEMAN. DFSORT can be called from a program using LINK, ATTACH or XCTL with EP=SORT or EP=ICEMAN.