View previous topic :: View next topic
|
Author |
Message |
Sachinincsc
New User
Joined: 01 Oct 2008 Posts: 11 Location: Philadelphia, USA
|
|
|
|
Can you please suggest me the LOAD CARD if I need to remove the DUPLICATES and Also the RESUME YES option.
I know RESUME YES will automatically remove the duplicates but in my case there is no primary key on the TABLE.
So the LOAD is not removing the DUPLICATES.
Is There Any way to Check while loading that for certain particular columns if the values are same We can discard the records ?? |
|
Back to top |
|
|
anandinmainframe
Active User
Joined: 31 May 2007 Posts: 171 Location: India
|
|
|
|
Hi Sachin,
As you dont have primary key on the TABLE, why dont you sort it on the whole length. |
|
Back to top |
|
|
Sachinincsc
New User
Joined: 01 Oct 2008 Posts: 11 Location: Philadelphia, USA
|
|
|
|
I Wish I could..
but requirement is little precise as i mentioned. I CANT add a SORT step in the Load JCL. |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
AFAIK, the only way is creating a unique index on those columns. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
but requirement is little precise as i mentioned. I CANT add a SORT step in the Load JCL. |
has anybody thought , instead of removing the duplicates, about removing people who set such &derogatory_adjective requirements ..
Quote: |
...the only way is creating a unique index on those columns. ... |
but maybe there is also a requirement not to create indexes
Homework ???? |
|
Back to top |
|
|
|