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

We are aware of eliminating the duplicate records from
outyput fiel using sort utility. Can we get the duplicate
records in to another file in the Same sort utility?

Answer Posted / sathya

we can get the duplicate records alone in the dataset using
sort utility.

//SORTTA EXEC
PGM=SORT
//SYSIN DD *
SORT FIELDS=(29,9,CH,A)
SUM FIELDS=NONE,XSUM
/*

//SORTIN DD DSN=…,DISP=SHR
//SORTOUT DD DSN=…
//SORTXSUM DD DSN=…
//SYSOUT DD
SYSOUT=*
//
The XSUM control statement is used to create
The output file with the duplicate records alone.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is condition checking possible in jcl?

1195


Differentiate between the joblib and the steplib statements?

1409


Explain the function of the steplib dd statement?

1115


what is the resolution for sb37 error

9066


what happens in execution stage in job processing?

1128


how can the same proc be re-used and called by many jobs?

1487


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

1116


Explain dfsort utility?

1322


What are the 2 types of parameters in dd statement?

1139


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

1198


Is it possible to define dd statements as you want?

1097


What is one line to pass PARM from JCL to COBOL?

4949


Explain the function of the dd dcb keyword?

1233


Explain the function of //jcllib statement?

1193


What is use of restart and how to use it?

1292