Answer Posted / uma
Hi friends,
I need some clarification regarding sorting.
//S010 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=MSI1390.TEST.INFILE,DISP=SHR
//SORTOUT DD DSN=MSI1390.TEST.OUTFILE1,DISP=SHR
//SORTXSUM DD DSN=MSI1390.TEST.OUTFILE2,DISP=SHR
//SYSIN DD *
SORT FIELDS=(2,10,CH,A)
SUM FIELDS=NONE,XSUM
/*
by using the above code, am facing the error message :
"ICE172A E XSUM IS NOT SUPPORTED - USE ICETOOL SELECT IF
APPROPRIATE"
Now i want the unique records in SORTOUT and the eliminated
duplicates in SORTXSUM...How can i do this?
also...we dont know the difference b/w DFSORT and
SYNCSORT...how and when to use SYNCSORT
Please suggest
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
How to do automated restart when a job abend?
Explain how can the submitting users racf authority be overridden in a job stream?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is the function of //jcllib statement?
What is Cataloged Procedures?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What is condition checking in jcl? Is this possible?
What statement can be used to send data to another mvs jes3 node?
What do you know about jcl?
Is automatic restart possible in jcl?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
how you can access an uncataloged dataset in a JCL?
what is the use of JCL?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what is DD statement is used in JCL?