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 / ram

SORT FIELDS=(2,5,CH,D)
DUPKEYS MAX=(13,1,ZD)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which parameter is use to declare the name of dataset in dd statement?

1272


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2619


Explain the purpose of dd dummy statement?

1223


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1327


Is there any command to check wether the ps file is in sorted order?

2888


what is use of dsn parameter in dd statement?

1163


How does jcl specify the job to the operating system?

1248


how do you code a null statement?

1345


How does the jcl specify the job to os?

1159


Explain about LMFREE�free data set from its association with data ID

1633


Explain the function of job statement in jcl?

1213


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1261


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2564


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1118


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

1080