|
Ok, in *that* case, I would probably do something like: fCusMast111if e disk Prefix( a ) fCusMast222o e disk Prefix( b ) d dsRec111 e ds ExtName( CusMast111 ) Prefix( a ) d dsRec222 e ds ExtName( CusMast222 ) Prefix( b ) c read CusMast111 c Eval dsRec222 = dsRec111 c Write @CusMast2 Note that I haven't followed this thread extensively, so I don't know if this was already discussed; it looked from the subject like there was a problem with trying to read or chain and place the record into a DS. There may be other ways to skin this cat. hth, db > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx / Tony Carolla > Sent: Thursday, September 30, 2004 11:13 AM > > Sure, the prefixing is simpler, by far. But if by chance you need to > update the contents of a record from one file with the contents of the > record from the other file, a single EVAL will work, while with > prefixing, one eval per field is necessary.
As an Amazon Associate we earn from qualifying purchases.
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.