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
Is condition checking possible in jcl? If yes, how?
Explain about ISPF/TSO Commands
What is the difference between run mode and addressing mode?
what is the use of JCL?
what are the types of abends that occur on job failure? And explain the possible causes of these
How jcl is used for testing batch programs?
Must tape dataset definitions include vol=ser specifications?
what is the JCL statement consists of?
Are there any set of rules for the names of the steps used in a job?
How to override loadlib?
What is Cataloged Procedures?
How to submit jcl through a cobol program?
How do you create a temporary dataset?
What is the syntax of JCL statement?
What is the significance of addrspc parameter in the exec statement?