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 does a disposition of (MOD,DELETE,DELETE) mean ?

1140


What is the function of the steplib dd statement?

1218


Mention the types of job control statements?

1185


Is it possible to left uncode disp? If yes, how?

1201


what is the compile process of cobol program expalin with code

2606


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

1084


Explain how can return codes be tested before execution of a job step?

1336


When output dataset space is required, what quantity categories are used?

1374


I need exexution process for JCL programs

2288


How can a stopped job be started again?

1205


Which statement is used to identify the private libraries in job?

1204


What are the rules employed while naming the steps in a job?

1154


Differentiate between the joblib and the steplib statements?

1447


Explain how can the attributes of one sms dataset be copied to another dataset?

1224


Does jcl support automatic restart?

1246