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
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
how JCL works?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What is Cataloged Procedures?
what is “Cond= even” and “Cond=only”?
whats the diff bw the evaluate also and and?
How is a type of file defined in the jcl that executes the cobol program?
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
How can a fb file convert to vb file using sort program?
a dd statement has 2 types of parameters. Name them?
What are steplib and joblib?
Can I send output of job to my remote device careerride123?
How to alter the parameters for the existing gdg?
What dd statement is used to supply the name of a dataset?