|
The request is mainly to make code a bit more readable and save some typing. If all fields in my ORDERHDR file have an OH prefix, referencing the qualified data structure of ORDERHDR in RPG looks kind of weird. Below looks weird: OH.OHORD# OH.OHORDDT Below looks better (for me): OH.ORD# OH.ORDDT -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Christen, Duane J. Sent: Thursday, January 18, 2007 10:32 AM To: 'RPG programming on the AS400 / iSeries' Subject: RE: Remove prefix You could do "prefix(XX : 2)" on all the files and any matching field names will "overlay" each other, assuming they have the same definitions. Duane Christen
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.