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

If we want to see the eliminated duplicate record thru
SORT, how its output file will be managed

Answer Posted / atreyee

//STEP1 EXEC PGM=SYNCSORT
//SORTLIB DD DSN=SYS1.SORTLIB,DISP=SHR
//SORTIN DD DSN=SORT.IN,DISP=SHR
//SORTOUT DD DSN=SORT.OUT,
// DISP=(NEW,CATLG,DELETE),
// UNIT=DISK,SPACE=(CYL,(1,10),RLSE),
//
// DCB=(*.SORTIN)
//SORTXSUM DD DSN=SORT.OUT.DUPLICATE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=DISK,
// SPACE=(CYL,(1,10),RLSE),
// DCB=(*.SORTIN)
//SYSIN DD *
//SYSOUT DD SYSOUT=*
SORT FIELDS=(1,5,CH,A)
SUM FIELDS=NONE,XSUM
//SYSPRINT DD SYSOUT=*

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Matching Logic in Jcl not in cobol.Could any one please answer this question

4111


What is Cataloged Procedures?

1106


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1979


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1393


Which statement is used to identify the private libraries in job?

1127


can any one plzzzzzz tell the jcl code for creating ps using idcams

11538


What are s0c1, s0c4, s0c5, s0c7 and socb?

1126


how you can direct the data to spool using SYSOUT option?

1413


what happens in execution stage in job processing?

1089


What is notcat 2 - gs?

1414


How would you understand error(execution phase)?

1171


Differentiate between the joblib and the steplib statements?

1338


Explain how can an in-stream dataset be terminated?

1252


Explain the hierarchy levels in jcl?

1632


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

1216