how to delete the same records during sorting
Posted: Wed Jun 10, 2009 10:18 am
Hi,my friends
I use JCL read a dataset and sort by bn. get the records lis, each record have following fields:
bn
address
name
....
if bn is the same in following reading, we will skip the record. my means just keep unique bn record, don't repeat record that bn is the same. do you have some good idea? I'm very appreciate if yu have sample code for that.
thank you very much!
I use JCL read a dataset and sort by bn. get the records lis, each record have following fields:
bn
address
name
....
if bn is the same in following reading, we will skip the record. my means just keep unique bn record, don't repeat record that bn is the same. do you have some good idea? I'm very appreciate if yu have sample code for that.
thank you very much!