6. Sorting (SORT)
Most of the time, when you want to build a report, you first have to sort the basic file, for example on the individual's personnel number, whereas the report is requested by service code.
The programmer must then insert standard sorts between each program, or resort to COBOL sorting, which allows generalized sorting programs to be included in a COBOL program.
In fact, it's more accurate to say that we allow the introduction of sequences of COBOL programs, at the beginning or end of sorting, with the aim of modifying or eliminating records before or after sorting.
The program with sorting is built differently from the usual programs (in which you generally read, calculate and write), because here you don't read or write, simply sort (SORT) and, if necessary, add a processing procedure at the start of the sort (INPUT...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Software technologies and System architectures
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Sorting (SORT)
Bibliography
Standards
- Programming language COBOL - ANSI X 3.23 - 1985
- Langages de programmation - COBOL - ISO 1989 : - 1985
- Langages de programmation - COBOL - NF EN 21989 - 1-94
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference