|
|
| Author |
Message |
uma rao Currently Banned New User
Joined: 20 Oct 2007 Posts: 9 Location: delhi
|
|
|
|
please clarify it
We have an Input File having Branch Numbers & Account Numbers. We want to sort it on both the variables in ascending order and remove the duplicates also. How to achieve this through JCL? |
|
| Back to top |
|
 |
References
|
Posted: Tue Oct 30, 2007 12:55 pm Post subject: Re: Sort both the variables in ascending order and remove Dups |
 |
|
|
 |
ashwinreddy
Active User
Joined: 16 Sep 2004 Posts: 106 Location: Hyderabad
|
|
|
|
Hi,
SORT FIELDS=(2,10,CH,A,10,20,CH,A)
SUM FIELDS=NONE
This would sort as well as Eliminates the duplicates.
Cheers
Ashwin |
|
| Back to top |
|
 |
|
|