I need to compare two VSAM files, both having 'number' as
key. If there is a matching record, write the data into
another VSAM file. How will it be possible.



I need to compare two VSAM files, both having 'number' as key. If there is a matching re..

Answer / mainframe_learner

Declare one VSAM as sequential read and another as random
access. And then try to read the files.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More COBOL Interview Questions

How to display the index.(displacement from an array)

4 Answers   IBM,


How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.

7 Answers   Financial Services,


How do u write test cases?

0 Answers   IBM,


What is SSRANGE, NOSSRANGE ?

5 Answers  


Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible

7 Answers   TCS,






What is the difference between Call and a Link?

0 Answers  


what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


RENAME clause takes new SPACE in memory.TRUE or FALSE? a)TRUE 2)FALSE

12 Answers   TCS,


What is the difference between index and subscript?

5 Answers   Visa,


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...

2 Answers   ITC Indian Tobacco Company, PNP, TCS,


Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?

1 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


Categories