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
What is the function of dd name parameter with a 2 part structure; audit.report?
which utility is used to sort a file in jcl?
Where can program checkpoints be stored for use in a restart?
What is condition checking in jcl? Is this possible?
How can values be passed from the job stream to an executable program?
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 The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
which utility is used to run a cobol-db2 program?
Explain the function of the dd dcb keyword?
what is the use of IEBGENER utility?
What is the syntax of JCL statement?
What is the function of the dd avgrec keyword in sms datasets?
How to submit a jcl from cics?
define cond parameter in jcl?
What is the purpose of the dd keylen parameter?