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

Is condition checking possible in jcl? If yes, how?

1280


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1246


Name the statement which can be used to send data to another mvs jes3 node?

1171


Explain dfsort utility?

1334


how JCL works?

1253


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1385


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

1017


For what purpose steplib and joblib are used ?

1131


Mention the types of job control statements?

1167


What is the function of //jcllib statement?

1309


what is use of dcb parameter in dd statement?

1292


What is the use of symbol // in jcl?

1471


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1204


What are the difference between jcl and jes?

1601


which parameter is used to check the syntax of a jcl without executing it?

1352