×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Could it be because your programmer wants to be absolutely sure to always clear the target file?
I think that, if the copy from file is empty, then the data will not be replaced in the target file.

Val

David FOXWELL <David.FOXWELL@xxxxxxxxx> 3/25/2010 10:39 AM >>>

Hi,

I've discovered that someone is regularly doing this :

CLRPFM FILE(myfile)
CPYF FROMFILE(myotherfile) TOFILE(myfile) +
MBROPT(*ADD)


as opposed to this :

CPYF FROMFILE(myotherfile) TOFILE(myfile) +
MBROPT(*REPLACE)


in a standard test procedure. Has the programmer found a subtile difference that I have missed or could results be different?

Thanks

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.