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

how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it

2 Answers  


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


if someone is using my file,how can i find which user id is using?

4 Answers  


a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  


How do you do in-line PERFORM?

4 Answers   Accenture,


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


How you can characterize tables in cobol?

0 Answers  


Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.

5 Answers   EDS,


01 a pic s9(5) occupies how many bytes ?

9 Answers   Wipro,


How do you reference the following file formats from cobol programs?

0 Answers  


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

0 Answers  


have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..

5 Answers   TCS,


Categories