Program for output file that can be our vsam file, COBOL Programming

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 file contain 150 records.

There are five base branches

chennai,

hyderabad,

bangalore,

mumbai,

delhi.

each base branch containing 30 records each.

We  have to make an output file which can be our VSAM file where it will contain 3 output files which should merge

chennai and hyderabad (output file 1)

bangalore and mumbai (output file 2)

delhi into one.(output file 3)

Posted Date: 3/25/2013 5:16:35 AM | Location : United States







Related Discussions:- Program for output file that can be our vsam file, Assignment Help, Ask Question on Program for output file that can be our vsam file, Get Answer, Expert's Help, Program for output file that can be our vsam file Discussions

Write discussion on Program for output file that can be our vsam file
Your posts are moderated
Related Questions
COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

Illustration of indexed tables: Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are de

INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub

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

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

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

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

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:   The r