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
Major difference between file and array how does record read from array and file why we are not preparing array for real time

Illustration of perform statement: PERFORM    CALCUALTE-TAX. In this illustration, the CALCULATE-TAX is either a section name or paragraph name. Assume that it is a section

PERFORM WITH VARYING OPTION: The format is as shown below:

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

PERFORM STATEMENT:   The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

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

IF STATEMENT: The easiest form of the IF statement is  IF condition-1 statement-1 where the condition-1 may be any one from the shown below. When the condition-1

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro