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
what operation is performed by job statement?
what is SOC4 error?
What is NOTCAT ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is the function of the steplib dd statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What are steplib and joblib? What for they are used?
Is automatic restart possible in jcl? If yes, how?
Why block size is multiple of lrecl in jcl?
which utility is used to sort a file in jcl?
List in order the hierarchical levels of jcl?
How jcl work to handle various input output file operations?
What is the purpose of dd dummy statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
in ways data can be passed to a COBOL program from JCL?