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...

I have 3 duplicate records in a file .
I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

Answer Posted / vignesh1988i

so , first sort the PS using JCL SORT utility and update the
PS file.
find the duplicates using XSUM . and write the duplicates
alone in a seperate PS.
take the seperate PS and give the control condition inside
SYSIN DD * as , sort fields with skiprec(3), since u need
only the 3rd one to copy

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by the term job time – out and how can you overcome that?

1025


How to override loadlib?

2035


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

1185


When space is allocated for an output dataset, what units can be used?

1262


How do you create a temporary dataset?

1179


Can an individual step be restricted from using all the jobs allowed cpu time?

1550


Describe the various parameters utilized in the creation of a gdg?

1152


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2454


A dd statement consists of 4 fields. Name them?

1418


What is the significance of addrspc parameter in exec statement?

1204


what happens in execution stage in job processing?

1140


Differentiate between addressing mode and run mode.

1074


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

1213


what happens in conversion stage in job processing?

1220


Does jcl support automatic restart?

1226