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 to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,


i want all ERRORS codes in COBOL ,JCL,VSAM ,DB2,CICS

4 Answers   Infosys,


study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level

4 Answers   TCS,


what is S04E error in jcl?

11 Answers   IBM, L&T,


Why would you use find and get rather than to obtain?

0 Answers  






Sending data is aplhabetic size 7 (value 3000), I wantated this value to be stored in database, which is defined as s9(7)v9(2)comp-3.

2 Answers  


01 x pic s9(8) comp. How will the following value be internally allocated '18787'

4 Answers   Steria,


can we redefine 77 level item is it possible

4 Answers   HCL,


what is srange and nosrange pls reply to ths question ?

2 Answers   L&T,


How do you define a sort file in JCL that runs the COBOL program?

6 Answers   Syntel,


what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


Categories