How to find the number of duplicates in a file using Sort?

Answer Posted / sudha

//
//
//
//sysin dd *
sort fields=(1,4,ch,a)
sum fields=none/all
/*
for avoiding duplicates

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1886


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

770


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

981


What is NOTCAT ?

1028


Is automatic restart possible in jcl?

935


How to alter the parameters for the existing gdg?

906


What is the function of the dd avgrec keyword in sms datasets?

1045


what is the purpose of coding notify parameter in job statement?

877


What is the purpose of dd * statement in jcl?

989


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?

973


How would you understand error(execution phase)?

834


What is notcat 2 - gs?

1158


write a jcl to execute a job by 7:00 am on jan 20,1986?

867


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

841


what is DD statement is used in JCL?

880