What are the differences between external and internal sort? What are their syntaxes?
Answer»
Internal sort is handled by the COBOL program by making use of input file, work file, and OUTPUT file. Here, recompiling of the COBOL program is needed when any kind of processing is done. Internal Sort uses TWO types of SYNTAXES:
USING, GIVING sorts use no extra file processing.
INPUT PROCEDURE, OUTPUT PROCEDURE sorts allow DATA manipulation before or after sort.
External sort is not based on COBOL and utilizes direct use of SORT utility and is performed by making use of JCL and PGM=SORT.