How to get the last but one duplicate record of the file
using Sort?
Answer Posted / vikas pujar
Sort Dataset SORTXSUM will hold the duplicate records if in
Sysin dd *, we give option XSUM, after SUM FIELDS=NONE. So
last but one record in dataset should be the answer.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the function of job statement in jcl?
what is the use of JCL?
What is the function of //jcllib statement?
What is the difference between run mode and addressing mode?
what is the compile process of cobol program expalin with code
What is the function of dd disp parameter?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
what sort card you will use to copy the data from one dataset to another dataset?
define cond parameter in jcl?
How can return codes be tested before execution of a job step?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
Explain how can return codes be tested before execution of a job step?
List the different jcl statements that are not permitted in the procedures?
Is their any set of rules for dd? Explain.
Explain about LMQUERY�give a dialog information about a data set