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
Matching Logic in Jcl not in cobol.Could any one please answer this question
What is Cataloged Procedures?
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' ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Which statement is used to identify the private libraries in job?
can any one plzzzzzz tell the jcl code for creating ps using idcams
What are s0c1, s0c4, s0c5, s0c7 and socb?
how you can direct the data to spool using SYSOUT option?
what happens in execution stage in job processing?
What is notcat 2 - gs?
How would you understand error(execution phase)?
Differentiate between the joblib and the steplib statements?
Explain how can an in-stream dataset be terminated?
Explain the hierarchy levels in jcl?
How can the submitting users racf authority be overridden in a job stream?