|
Isn't that what the PREFIX keyword is used for? Eric DeLong ______________________________ Reply Separator _________________________________ Subject: Re: Externally Described files & RPG IV Author: <MIDRANGE-L@midrange.com > at INTERNET Date: 7/31/98 12:16 PM At 08:28 AM 7/31/98 -0400, you wrote: THis would be even more useful if you had the option of specifying unique storage per record format. Although each file currently defined to an RPG program has a unique buffer, program storage is allocated by field name so you can't process two records with the same field names at the same time (without some footwork anyway). A nice feature in using C with externally defined files is the ability to address fields with the same field name individually by using the record name as a prefix. > >I agree. What about a PFILE keyword. > >FDATAFILE IF E .... >FDATAFILE2 IF E .... PFILE(LIB/DATAFILE) RENAME(REC:REC2) > >Very simple to implement. No CL program required just to compile the >program. No wasted time or effort. > >How about it IBM ? > >John Hall >Home Sales Co. >+--- >| This is the Midrange System Mailing List! >| To submit a new message, send your mail to MIDRANGE-L@midrange.com. >| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. >| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.