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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1265


what are decleratives in cobol?

2311


What is perform what is varying?

1224


What kind of error is trapped by on size error option?

1292


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2632


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1483


When is inspect verb is used in cobol?

1313


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1234


What is comp-1 and comp-2?

1280


Why occurs cannot be used in 01 level in COBOL?

1206


I have a File that has duplicate records. I need only those records that occur more than thrice.?

10010


How to print 10 to 1 if the input have only 10 digit number?

1307


What is the difference between goback, stop run and exit program in cobol?

1647


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

921


How many sections are there in data division in COBOL?

1184