Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Sounds like you wanted an *ADDNEW vs. *UPDADD....so sure merger might
make sense. I'll readily agree that MERGE is much more powerful than
CPYF *UPDADD. <<SNIP>>
On Mon, Feb 3, 2014 at 5:14 PM, Scott Mildenberger wrote:
How about the capability to do an IGNORE? I have a web service
that I retrieve records from, some of the records are duplicates
due to how a GPS generates records. I use a MERGE statement to
INSERT if the record doesn't already exist and to IGNORE it if it
is already in the database. Obviously there are other ways to
handle this but the MERGE seemed cleaner to me.
Charles Wilt on Monday, February 03, 2014 2:14 PM wrote:
<<SNIP>>
I don't really see any benefits over CPYF MBROPT(*UPDADD)
FMT(*MAPDROP). Other than perhaps the ability to use commitment
control with merge.
Am I missing anything?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.