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
Illustration of nested if statement: Consider the nested sentence which is as shown below: The IF-ELSE pairs in this sentence can be detected by applying the rule whic

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

DISPLAY STATEMENT:   The function of the DISPLAY statement is just opposite to that of the ACCEPT statement. It is used to display the low-volume results on the operator's co

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

Second form of Divide verb: The second form of this verb is as shown below: In this situation the identifier-1 or numeric- literal-1 will be divided by identifier-2 or

NEGATED SIMPLE CONDITION: Any of the easy condition explained can be preceded by the logical operator NOT. The consequence of placing the operator NOT before an easy condition

PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can