I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH).

I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH).

In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

can we use the two 01 level in file discription ?

6 Answers  


consider the following two statements MOVE 10 TO N PERFORM PARA-X N TIMES STOP RUN PARA-X MOVE 5 TO N how many times PARA-X willbe exicuted? a.10 b.5 c.infinate d.execution error

6 Answers   ABCL, TCS,


I had 100 records and i want to execute last three records by using cobol programming?what will be coding?

4 Answers   IBM,


If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


What is tne need to use sub programs in Cobol?

3 Answers   HSBC,






What is the difference between working storage copybook and linkage section copybook?

5 Answers   TCS,


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

3 Answers  


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,


in how many mode we can open a file ?

4 Answers  


What is the Importance of GLOBAL clause According to new standards of COBOL?

2 Answers   Infosys,


Explain the configuration section of a cobol program with examples of syntax.

0 Answers  


what if any ,is the syntex error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

5 Answers   TCS,


Categories