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
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Where & How Do You Code Identifier In Jcl?
What are the 4 fields in dd statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
define cond parameter in jcl?
Explain in DD statement what is the use of DCB parameter?
Define concatenating?
How would you understand error(execution phase)?
Explain about ISPF/TSO Commands
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
which utility is used to run a cobol-db2 program?
What is the motivation behind coding class parameter in job statement?
how to run batch program without jcl?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?