×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.






What about something simple like address book functionality?  Vendors,
Customers, and Employees all have the same core requirements of a name
and address.  In an OO language you would write the address book
object once, then drop it in as a base struct in the vendor, customer
and employee data struct.   You cant do that in RPG ( or ILE ).

Why can't you? I can code the following in RPG, isn't that what you're talking about?


     D Address_T       ds                  qualified
     D   Street                      30A
     D   City                        13A
     D   State                        2A
     D   ZipCode                     10A

     D Vendor          ds
     D   Account#                     4S 0
     D   Terms                        3A
     D   Contact                     30A
     D   RemitAddr                         likeds(Address_t)
     D   SalesAddr                         likeds(Address_t)
     D   SupportAddr                       likeds(address_t)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.