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 had Records in file Like this
Company Code
IBM 2
IBM 1
IBM 4
WIPRO 3
WIPRO 2
WIPRO 9
TCS 4
TCS 6
TCS 3

i want the record of every company with highest code How can
i do that?

Answer Posted / sk

Sort the file in decrement order , the key of sort is
Company name and company code, and also use SUM FIELDS =
NONE , then it will remove the duplicates also

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is condition checking possible in jcl? If yes, how?

1218


Explain about ISPF/TSO Commands

1865


What is the difference between run mode and addressing mode?

1159


what is the use of JCL?

1109


what are the types of abends that occur on job failure? And explain the possible causes of these

1556


How jcl is used for testing batch programs?

1218


Must tape dataset definitions include vol=ser specifications?

1649


what is the JCL statement consists of?

1122


Are there any set of rules for the names of the steps used in a job?

1050


How to override loadlib?

1953


What is Cataloged Procedures?

1104


How to submit jcl through a cobol program?

1098


How do you create a temporary dataset?

1114


What is the syntax of JCL statement?

1155


What is the significance of addrspc parameter in the exec statement?

1014