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
if the submitter of a job wants to inform another user about the job completion, how can it be done?
can any one plzzzzzz tell the jcl code for creating ps using idcams
what is DD statement is used in JCL?
What is one line to pass PARM from JCL to COBOL?
Differentiate between the joblib and the steplib statements?
What are the 4 fields in dd statement?
how to run batch program without jcl?
Explain the function of a dd statement?
Differentiate between addressing mode and run mode.
What does a disposition of (MOD,DELETE,DELETE) mean ?
How does jcl act on code(if you take a cobol program)?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What is the difference between run mode and addressing mode?
what is DSN parameter and DISP parameter is used for?
How can return codes be tested before execution of a job step?