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

what is the difference between Plan & package

3 Answers   IBM,


What are different data types in cobol?

0 Answers  


How do you define a variable of COMP-1? COMP-2?

3 Answers  


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.

1 Answers   DSRC,


Discuss about changing dataset name in proc.

0 Answers  






I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?

1 Answers   CTS, HCL,


Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.

3 Answers   iGate,


What is the meaning of 'TALLING' verb in cobol?

5 Answers  


What is tne need to use sub programs in Cobol?

3 Answers   HSBC,


How can you submit a job from COBOL programs?

2 Answers   ITC Infotech,


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

0 Answers  


1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?

11 Answers   Wipro,


Categories