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 does a disposition of (MOD,DELETE,DELETE) mean ?
What is the function of the steplib dd statement?
Mention the types of job control statements?
Is it possible to left uncode disp? If yes, how?
what is the compile process of cobol program expalin with code
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Explain how can return codes be tested before execution of a job step?
When output dataset space is required, what quantity categories are used?
I need exexution process for JCL programs
How can a stopped job be started again?
Which statement is used to identify the private libraries in job?
What are the rules employed while naming the steps in a job?
Differentiate between the joblib and the steplib statements?
Explain how can the attributes of one sms dataset be copied to another dataset?
Does jcl support automatic restart?