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

write a program to eliminate duplicate records in a input file
and send them to output file.

Answer Posted / naidu sekhar yandrapu

We can use JCL SORT utility using SYSIN DD * SUM fields =
none, will eliminate duplicate and store in a different dataset.


e.g
//SORTXSUM DD DSN=... Output eliminated by the SUM stm

//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE , XSUM
/*

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6659


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2324


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

1225


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1598


State the various causes of s0c1, s0c5 and s0c7.

1136


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

2009


Name the sections present in data division.

1302


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3207


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

1374


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3314


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5425


How many bytes S(8) comp field occupy and its maximum value?

2186


) how do u code after getting data?

2203


What are the pertinent COBOL commands?

3230


How you can characterize tables in cobol?

1250