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

Can you explain control variable in online screens?

977


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

970


The natural file converted to PDF file if Yes then explain ?

3141


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

1183


Explain why do we use file-aid for seqential files?

1067


What is the quality process in development?

1078


Define cobol coding sheet?

998


Explain the difference between external subroutine and subprogram?

1219


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?

1065


Explain difference between read(1) and read work file once?

951


Explain how many work file we can code in jcl?

974


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

1003


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

1121


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

974


What is the difference between read(1) and read work file once?

1029