× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Here's a subtlety with cpyf :

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

If the fromfile is keyed, then the data may be organized differently in the tofile. Eg if the key is on clientnumber and I add client 1 to the end of myotherfile, then client 1 will be the first record of myfile.

If I add FROMRCD(1), client 1 will be the last record of myfile.




-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de David FOXWELL
Envoyé : vendredi 26 mars 2010 09:11
À : Midrange Systems Technical Discussion
Objet : RE: CPYF

-----Message d'origine-----
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de
Dennis Lovelady

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?

Subtitle? Are you asking the difference between *REPLACE
and *ADD, or
something different?

Sorry, subtile is french for subtle. I thought subtitle was
something completely different.
--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list To post a message email:
MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting,
please take a moment to review the archives at
http://archive.midrange.com/midrange-l.


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-2024 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.