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

How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 Answers  


Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


What is SDSF?

3 Answers  


In the JCL, how do you define the files referred to in a subroutine ?

2 Answers  


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  






01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?

2 Answers   IBM,


what is the difference b/w level no.01 & level no.77?

3 Answers   HCL,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).

8 Answers  


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


What are VS COBOL 11 special features?

1 Answers  


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


Please let me know at which Scenarios we will go for STATIC call or DYNAMIC

3 Answers   IBM,


Categories