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...

COuld you please let me know along with a sample on how are
you going to remove duplicates from the file that is being
read.

Thanks
Sam

Answer Posted / nitin

steps are as below
1. file should be in sorted order
2. you can use either at break statement on the descriptor
and then do the validation or you can used desctiptor field
for comparison of secod record and first record, if the
descriptor values are same then escape top

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how many work file we can code in jcl?

1046


What is cobol coding sheet?

1296


Explain the data storage?

1060


Explain how are you going to remove duplicates from the file that is being read?

1073


How are you going to remove duplicates from the file that is being read?

1052


Can we see the copy book length using file-aid?

958


How converted the natural coding for adabas

3348


Explain how to move cursor to a particular field when position is not known?

1085


Explain how to find occurrence of mu and pe fields in a file?

986


Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

1185


How to receive data passed through jcl parm parameter in a natural program?

1046


Explain difference between read work file 1 and read work file once? Why we are using work file once?

1019


Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?

1145


Explain difference between escape(top or bottom) and escape immediate(top or bottom?

1268


Tell me what type of files we can process thru file-aid?

993