Posted: Thu Dec 14, 2006 6:38 am Post subject: JCL to see discarded duplicate records during load
Hi All,
I am trying to execute a load onto a table using DSNUTILB, however,
I am getting unique index violation errors for the load for a few records.
I need to find the records for which the unique key violation is happening. When I look at the sysout for the job all I can see are the row ID's of the records for which the violations are occuring.
Can anyone please hint me/provide me a JOB where I can redirect the discarded records to a particular data set.
I tried using ICETOOL to sort the input file and look for the duplicates - but our shop doesn't seem to have it installed, also since the number of records is HUGE, it would really be difficult to look for them, all I need are the records which are duplicates.
I tried using SORT with SUM FIELD=NONE but that only gives me the sorted file without any duplicates.
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