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 is the use of symbol // in jcl?
How jcl is used for testing batch programs?
List the different components of jcl statement?
How can the disposition of sysout datasets be set for an entire jobstream?
what are the statements that are not valid to be included in an include statement?
When output dataset space is required, what quantity categories are used?
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
a dd statement has 2 types of parameters. Name them?
what is use of disp parameter in dd statement?
List the different jcl statements that are not permitted in the procedures?
How is a type of file defined in the jcl that executes the cobol program?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How do you create a temporary dataset?
What is the function of job statement in jcl?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?