Page 1 of 1

Get duplicate out from a Dataset.

Posted: Tue Jul 29, 2014 11:54 am
by Chetan Kakkar
Hi,

I have a Dataset with millions of records and I need to copy it to a VSAM file. For this new VSAM file the decide key is the 1 to 9 characters. There are multiple records in the input file with the same 1-9 characters.

I need to create a list of records which have the same 1 to 9 characters, how can I do that? A SORT suggestion will be fine for me.

Re: Get duplicate out from a Dataset.

Posted: Tue Jul 29, 2014 1:36 pm
by Anuj Dhawan
Hi Chetan,

Do you need the duplicate keys also in a separate file?

Re: Get duplicate out from a Dataset.

Posted: Wed Jul 30, 2014 3:47 pm
by zprogrammer
Hi Chetan,

You could try ICETOOL SELECT operator