Illustration of simple sort verb, COBOL Programming

Illustration of simple sort verb:

Illustration: Suppose that we have a card file with the following records description in the data division.

956_Illustration of simple sort verb.png

The names of the work file and output file are SORT-FILE and OUTPUT-FILE correspondingly. The DATA DIVISION entries for these two files are as shown below.

1715_Illustration of simple sort verb1.png

The statement below will sort the input file and will create the sorted output file.

Posted Date: 10/18/2012 1:11:17 AM | Location : United States







Related Discussions:- Illustration of simple sort verb, Assignment Help, Ask Question on Illustration of simple sort verb, Get Answer, Expert's Help, Illustration of simple sort verb Discussions

Write discussion on Illustration of simple sort verb
Your posts are moderated
Related Questions
PROGRAM FOR CONDITION NAMES: We have to write a simple program to demonstrate Condition names usage.  identification division.   program- id.   environment division.

Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

MERGE VERB WITH OUTPUT PROCEDURE: Like the sort verb, the merge verb can also have an output procedure. The syntax of the MERGE verb is as shown below:   The r

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different

DATA RECORD CLAUSE: The DATA RECORD clause, documents the record names defined for the file. For illustration, DATA RECORDS ARE REC-1, REC-2, REC-3 that means there are 3diffe

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show the

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

bal majduri ik kanuni apradh hai is de bavjud bache ,ghra,hotla,road, kam karn lai majbur han bacheya te mapeya nu parhai val prerit karn lai ik bashan teyar kro

THE SIMPLE SORT VERB: The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illus

ON SIZE ERROR OPTION:   If after an arithmetic expression, the result exceeds the highest value which can be accommodated in the result; this error is termed as size error. T