Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is use of dsn parameter in dd statement?

1147


Explain the purpose of dd dummy statement?

1200


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?

2738


Explain the hierarchy levels in jcl?

1664


Explain how can a jobs execution priority be modified?

1183


In sms datasets, what is the function of the dd avgrec keyword?

1084


What is the purpose of dd dummy statement?

1444


What does a disposition of (new,catlg,keep) for a dsn mean?

1133


Can I send output of job to my remote device careerride123?

1116


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 ?

1535


Must tape dataset definitions include vol=ser specifications?

1710


What do you understand by the terms: joblib and steplib?

1153


What is use of restart and how to use it?

1294


How to do automated restart when a job abend?

1365


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1443