Giving file-name - simple merge verb, COBOL Programming

GIVING    file-name-5.

The input files to be merged through the MERGE statements which are specified in the USING phrase. These files should be sequential files and should be sorted on the merge keys. The SORT statement rules in respect of the ASCENDING/DECENDING KEY phrase are also applicable in this situation.

Let us suppose that there are three zones and as such three sales files are to be merged. The Three files are named as ZONE-FILE-1, ZONE-FILE-2 and ZONE-FILE-3.

2299_GIVING file-name.png

365_GIVING file-name1.png

It has been supposed that all the three input files and the last merged file termed as MERGED-FILE are the tape files. 

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







Related Discussions:- Giving file-name - simple merge verb, Assignment Help, Ask Question on Giving file-name - simple merge verb, Get Answer, Expert's Help, Giving file-name - simple merge verb Discussions

Write discussion on Giving file-name - simple merge verb
Your posts are moderated
Related Questions
Comparing features of oracle rdbms with Mysql

Illustration of simple sort verb: Illustration: Suppose that we have a card file with the following records description in the data division. The names of the work fil

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST