How to find the number of duplicates in a file using Sort?
Answer Posted / prachi
In order to copy eliminated duplicates into another file
using sort is as below:
//SORTXSUM DD DSN=----
:
:
:
:
//SYSIN DD *
SORT FIELDS = copy
SUM FIELDS =NONE,XSUM
/*
//
Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
Is there any command to check wether the ps file is in sorted order?
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 ?
Where can program checkpoints be stored for use in a restart?
can any one plzzzzzz tell the jcl code for creating ps using idcams
What is catelog procedure and how many catelog procedure to use in one job?
which parameter is used to check the syntax of a jcl without executing it?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
what is the use of IEBGENER utility?
Can I send output of job to my remote device careerride123?
In job processing, what happens in conversion stage?
what is DSN parameter and DISP parameter is used for?
how you will the direct the data to spool using sysout option?
how would you create a temporary dataset? And where will you use them?
Explain the function of job statement in jcl?
Explain how can a stopped job be started again?