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

how to eliminate the duplicates in sorting

Answer Posted / muttaiah

use the Sort utility, In the instream data of the sort card
Specify.
//sysin dd *
sort fields=copy
sum fields=none,xsum
/*
for this you need to have a dd stmt as
//sortxsum dd dsn=datasetname, disp=(createnew, share)

Now, the output file will have the records without
duplicates & the duplicates will be captured in the above
dsn of the sortxsum dd.

Correct me if i'm wrong

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a jcl?

1141


A dd statement consists of 4 fields. Name them?

1432


What is the function of job statement in jcl?

1104


Why include statement is used in a jcl?

1191


What do you understand by the term job time – out and how can you overcome that?

1036


How can the submitting users racf authority be overridden in a job stream?

1274


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1150


How can the attributes of one sms dataset be copied to another dataset?

1428


What is the motivation behind coding class parameter in job statement?

1192


i want to store 20 digits . how will u do it in cobol ?

1429


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2461


Explain dfsort utility?

1350


What is the use of symbol // in jcl?

1492


Why block size is multiple of lrecl in jcl?

1428


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1232