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
which parameter is use to declare the name of dataset in dd statement?
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.
Explain the purpose of dd dummy statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Is there any command to check wether the ps file is in sorted order?
what is use of dsn parameter in dd statement?
How does jcl specify the job to the operating system?
how do you code a null statement?
How does the jcl specify the job to os?
Explain about LMFREE�free data set from its association with data ID
Explain the function of job statement in jcl?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
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
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Are there any set of rules for the names of the steps used in a job? What are they?