Hi,
I have a query on SORT in JCL. This goes as below:
I have on I/P file whach have some records and can have unique entries as well as duplicates. I want to sort the file to get two O/P files - one will have the unique entries and the other will have the duplicate entries. How do I do that using SORT utility in JCL? Can it be done in one step of SORT? Please help....
I give an example for that:
I/P File:
----------
a
a
b
c
d
d
e
f
f
O/P File (unique entries):
-----------------------------
b
c
e
O/P File (duplicate entries):
---------------------------------
a
a
d
d
f
f
How do I do that??????
Thanks in advance,
Devarati