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


Please Help Members By Posting Answers For Below Questions

Name what parameter directs the output of the job log dataset?

780


Is automatic restart possible in jcl? If yes, how?

837


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2126


Brief description of inline procedure of jcl.

906


What is the difference between the positional and keyword parameters? Give examples.

947


Which dd parameters are required?

889


if the submitter of a job wants to inform another user about the job completion, how can it be done?

985


can any one plzzzzzz tell the jcl code for creating ps using idcams

11052


what are the types of abends that occur on job failure? And explain the possible causes of these

1328


What is use of restart and how to use it?

1018


What does a disposition of (MOD,DELETE,DELETE) mean ?

861


What are steplib and joblib? What for they are used?

890


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1894


Which statement is used to identify the private libraries in job?

904


What are the 4 fields in dd statement?

924