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
PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

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

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

Introduction to MOVE Verb: The aim of this section is to introduce the learner how to move data from one place to the other place in the memory. This is completed with the help

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

ON SIZE ERROR OPTION: Whenever a size error occurs, the contents of the result field after the operation is unpredictable.  Though, the processing is not-terminated and the co

Concept of a two-dimensional table: Concept of a two-dimensional table can be easily extended to tables having three or more dimensions. The Handling of tables up to three dim