COBOL sort

Language references and examples of COBOL sort syntax and command.

>COBOL Sort Examples
The COBOL SORT verb is illustrated in COBOL program examples.

>COBOL Sort Examples
The COBOL SORT statement is described in COBOL program examples.

>COBOL Sort Course Notes
The COBOL SORT verb takes one or more files of input records and sorts them in ascending or descending order by one or more programmer specified keys.

>COBOL Sort Course Notes
The COBOL SORT statement is used in the PROCEDURE DIVISION to place records from an input file in a temporary work file where their order will be rearranged.

>COBOL Sort Statement
The COBOL SORT statement creates a sort file either by executing an input procedure, or by transferring records from another file.

>COBOL Sort Statement
The COBOL SORT statement sorts the table referenced by table-name and presents the sorted table in table-name either in the order determined by the ASCENDING or DESCENDING phrases, if specified, or in the order determined by the KEY phrase associated with table_name.

>Sort Statement in COBOL - IBM AIX
The SORT statement in COBOL accepts records from one or more files, sorts them according to the specified keys, and makes the sorted records available either through an output procedure or in an output file. The COBOL SORT statement can appear anywhere in the procedure division except in the declarative portion.

>Sort Statement in COBOL - Micro Focus Visual COBOL
The SORT statement in COBOL creates a sort file by executing input procedures or by transferring records from another file, sorts the records in the sort file on a set of specified keys, and in the final phase of the sort operation, makes available each record from the sort file, in sorted order to some output procedures or to an output file. The COBOL SORT statement can also be used to sort the elements of a table.

 

This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

View e-Privacy Directive Documents

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.

Login

Who's Online

Member Login