how to eliminate the duplicates in sorting
Answer Posted / seema dawlekar
WE CAN ELIMINATE DUPLICATES IN SORTING BY SORT UTILITY
SYNTAX IS
SORT FIELDS=(STARTING POSITING,LENGTH,TYPE,A),EQUALS
SUM FIELDS=NONE
THIS WILL SORT THE FIELDS IN ASCENDING ORDER AND ELIMINATES
ALL THE DUPLICATES, AS WE ARE GIVING 'EQUALS' IT WILL TAKE
THE FIRST RECORD AND ELIMINATES REST OF THE DUPLICATE
RECORDS IN A FILE.
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
how to run batch program without jcl?
a dd statement has 2 types of parameters. Name them?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What is the purpose of dd * statement in jcl?
define cond parameter in jcl?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
I need exexution process for JCL programs
how JCL works?
how do you code a null statement?
Is automatic restart possible in jcl?
What is the function of a dd statement?
How is a type of file defined in the jcl that executes the cobol program?
How can a fb file convert to vb file using sort program?
what is use of dcb parameter in dd statement?