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 EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is timing concept in mainframe?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain the purpose of the dd keylen parameter?
What is condition checking in jcl? Is this possible?
Is condition checking possible in jcl?
What are some jcl statements that are not allowed in procedures?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
Explain the function of //jcllib statement?
which parameter is use to declare the name of dataset in dd statement?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What is the significance of addrspc parameter in the exec statement?
How gdg are concatenated?
is there any way to execute more than one proc in the same exec statement at the same time..?
which utility is used to run a cobol-db2 program?