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
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

bal majduri ik kanuni apradh hai is de bavjud bache ,ghra,hotla,road, kam karn lai majbur han bacheya te mapeya nu parhai val prerit karn lai ik bashan teyar kro

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

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

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external