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
Is there any command to check wether the ps file is in sorted order?
Where & How Do You Code Identifier In Jcl?
What is timing concept in mainframe?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Is their any limit for data sets?
What is job control language?
when can a job time-out occur? How to overcome that?
Explain the function of //jcllib statement?
what is use of disp parameter in dd statement?
How can a stopped job be started again?
How can an in-stream dataset be terminated?
What is the function of the dd avgrec keyword in sms datasets?
List the different components of jcl statement?
Is automatic restart possible in jcl?
how you can direct the data to spool using SYSOUT option?