Merge verb with output procedure, COBOL Programming

MERGE VERB WITH OUTPUT PROCEDURE:

Like the sort verb, the merge verb can also have an output procedure. The syntax of the MERGE verb is as shown below:

1867_MERGE VERB WITH OUTPUT PROCEDURE.png

1549_MERGE VERB WITH OUTPUT PROCEDURE1.png

 

The rules for coding and specifying the output procedure are similar to those in the case of the SORT verb.

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







Related Discussions:- Merge verb with output procedure, Assignment Help, Ask Question on Merge verb with output procedure, Get Answer, Expert's Help, Merge verb with output procedure Discussions

Write discussion on Merge verb with output procedure
Your posts are moderated
Related Questions
RELATIONAL CONDITION:   We know that a relational condition specifies a comparison between two operands and has the form.     Operand-1    relational-operator   operand-2

PROGRAM FOR ADD VERB: We have to write a simple program to elaborate the ADD verb. You can also use edit characters in the program. Identification division. Program- id.

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

PROCEDURE DIVISION statements for the relative files: The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the re

PROGRAM FOR DIVIDE VERB:   We have to write an easy program to elaborate DIVIDE verb. You can also use edit characters in the program. Identification division. Program-

OCCURS CLAUSE - PROGRAM: We have to write a program to elaborate occurs clause. Get names and marks of the students and show them on the screen.   identification division.

SEQUENTIAL FILE CREATION AND REWRITING: We have to write a program to create a student file with just two fields: sno i.e. Student Number and same i.e. Student Name. Add a few

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of