|
Doug, You're right this is not an internally/externally described file issue. Prefixed databases are not uncommon. What you're advocating has merit. Whether "prefix dropping" would be a $10 or $20 enhancement only the Toronto folks can say. Rather that converting your data files (dropping prefixes) and adding PREFIX() to your programs, you could instead create new LFs using the RENAME keyword. Access path sharing would make the overhead minimal. Keith ----- Original Message ----- From: "Douglas Handy" <dhandy1@bellsouth.net> To: <rpg400-l@midrange.com> Sent: Wednesday, August 21, 2002 7:13 PM Subject: Re: Same prefixes (was Re: It's That Time Again! etc.) > Jim, > > >With external definitions, you can use PREFIX(whatever_) on your externally > >described files and add the prefixes at run time, rather than design time. > > I interpreted the contention to be external definitions which changed whether or > not this was a good idea, not the prefix keyword. External definitions pre-date > prefix by what, 14 years? > > And while PREFIX could be used as you describe above, until qualified DS names > I'm not sure I see the value in doing so. I suppose it may simply the use of a > field reference file, but I use a FRF file anyway and just need to add the > REFFLD() keyword to the DDS. > > I currently use prefixes for things like before and after images of a trigger > buffer or where I otherwise want multiple copies of a file's DS. > > Doug > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. > >
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.