An external sort is not COBOL; it is performed through JCL and PGM=SORT. It is understandable without any code reference.
An internal sort can use two different syntax?s:
1) USING, GIVING sorts are comparable to external sorts with no extra file processing;
2) INPUT PROCEDURE, OUTPUT PROCEDURE sorts allow for data manipulation before and/or after the sort
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
Simple sort(USING,GIVING) is comparable to external sort. Complex sort (INPUT/OUTPUT PROCEDURE) is comparable to external sort (by using INCLUDE,OMIT,INREC,OUTREC and others). External sort is faster and advantageous.I don't find internal sort advantageous in any way compared to external sort. Experts,help!