|
On 5-Feb-08, at 12:11 PM, rpg400-l-request@xxxxxxxxxxxx wrote:
I need both files open together because I have to back out some changes done
to the production file.
First point - Jerry was right - input needs to exist and have the same file defn as the file you are using ExtFile to override to. Note that ExtFile _is_ and override - so no need for another at run time.
In order to get independent access to both set of fields - which I assume you want:
1) Use Prefix on either or both of the files to rename all the fields
2) Use a resulting DS on one or both of the read operations.
In fact you can use option 1 with a QUALIFIED DS and a prefix of (say) 'INP.' which will automatically load all fields form the record into the DS INP - which should be an externally qualified DS.
Jon Paris
www.Partner400.com
www.SystemiDeveloper.com
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.