problem 1: Illustrate the meaning of the term sorting?
problem 2: Describe the concept of sort-key? Is it possible to sort a file on more than one key?
problem 3: Give your comments on the given:
SORT ON ASCENDING KEY STU-ID-NUM
Find out the major key, minor-key and the final sorted file.
problem 4: Given two sorted files FILE-A and FILE-B. prepare down a program in the COBOL to merge these files into FILE-C by using MERGE verb?
problem 5: Distinguish between sorting and merging of files.
problem 6: prepare down a COBOL program to merge FILE-A, FILE-B and FILE-C to produce merged file MERGE-FILE as illustrated in table below:
FILE-A FILE-B FILE-C MERGE-FILE
10 20 15 10
30 40 25 15
50 60 35 20