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 use of dsn parameter in dd statement?
Explain the purpose of dd dummy statement?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Explain the hierarchy levels in jcl?
Explain how can a jobs execution priority be modified?
In sms datasets, what is the function of the dd avgrec keyword?
What is the purpose of dd dummy statement?
What does a disposition of (new,catlg,keep) for a dsn mean?
Can I send output of job to my remote device careerride123?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Must tape dataset definitions include vol=ser specifications?
What do you understand by the terms: joblib and steplib?
What is use of restart and how to use it?
How to do automated restart when a job abend?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain