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 is the difference between comp and comp-3 usage?

1195


How arrays can be defined in COBOL?

1206


What is perform what is varying?

1156


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7874


Which division and paragraphs are mandatory for a COBOL program?

1270


What are the various section in data division and briefly explain them.

1162


For rewrite, why is it mandatory that file needs to be opened?

1101


What are the different rules to perform a Search?

1089


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

1101


how do you reference the fixed unblock file formats from cobol programs

1225


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

1194


What is comp-1 and comp-2?

1225


) How do u handle errors in BMS macro

2035


IF I mention stop run in CICS what happens?

2366


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

1133