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 want to remove a duplicates form a given input field using cobol program. please Any one help me out to solve this ... Thanks in Advance.

Answer Posted / ak

1.copy the file into array
2.read the file entil eof
3.if file-key equals to ws-arry-key(Count)
move ws-arry-key(count) to ws-dup-rec(for duplicate values)
else continue
write ws-arry-key

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules to perform a Search?

1055


How do you get the data to code the BMS macro?

1928


Which Search verb is equivalent to PERFORM…VARYING?

1008


What rules are to be followed while using the corresponding options?

1019


What is the difference between binary search and sequential search?

1052


What is the usage of comp fields in cobol?

1139


how do you reference the ksds vsam file formats from cobol programs

1131


How do you reference the fixed block file formats from cobol programs

1167


Can a Search can be done on a table with or without Index?

1247


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1069


What is an in line perform? When would you use it? Anything else you wish to say about it.

1031


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1069


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

1224


Explain how you can characterize tables in cobol?

1016


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

9764