The same comments apply. I presume it is homework. Also, you mention COUNT in the title but no clue as to what you want counted in your post. _________________ Utility and Program control cards are NOT, repeat NOT, JCL.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Mon Jan 14, 2008 11:25 am Post subject:
Anand,
Here's a DFSORT/ICETOOL job that will do what you asked for. I assumed you wanted to check for duplicates on col1 and col2. If you only want to check on col1, then remove the ON(33,2,CH) operand from each SELECT statement.
_________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum