Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


i have two file one is ksds another one is esds i want store
matching records in flat file how to you matching.

Answers were Sorted based on User's Feedback



i have two file one is ksds another one is esds i want store matching records in flat file how to y..

Answer / satish.klnm

esds<rno, rname....>,

Procedure division.
open input fileksds, input fileesds, output file33.
para-1.
read fileesds at end perform end-para.
para-2.
start fileksds key = rno<esds> invalid key
perform para-1.
write rec33 from rec<esds>.
perform para-1.
end-para.
close fileksds, fileesds, file33.
stop run.

Is This Answer Correct ?    3 Yes 3 No

i have two file one is ksds another one is esds i want store matching records in flat file how to y..

Answer / lu

you can do like Satish or you move KSDS to flat file and
ESDS to another flat file and after this, u sort it...

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More COBOL Interview Questions

WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


What is the compute verb? How is it used?

0 Answers  


explain sorting techniques in cobol program?

0 Answers  


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

5 Answers   iGate,


COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.

7 Answers   HCL,


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

3 Answers  


Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


What are the pertinent COBOL commands?

0 Answers   Satyam,


what is the advantage of using redefines instead of delaring the variables ?

5 Answers   HCL,


Why did you choose to work with ibm mainframe cobol programming?

0 Answers  


Discuss about changing dataset name in proc.

0 Answers  


Categories