|
I have several modules compiled into a service program. They each control inserts/updates/and deletes to specific tables. And all these modules export a data structure with exactly the same name. Because they all export a data structure with the same name I have compiled the service program with *DUPVAR. This service program is like a database service. And then I have an RPGLE program that binds to this service program and uses the exported sub procedures from those modules for database updates. This RPGLE program also IMPORTS the data structure being exported by the modules. All are compiled and bound correctly so it appears. When I tested this with a single module I was able to get to the imported data in that data structure. But I'm having a problem. Now that I have several modules compiled the imported data structure is always coming back to the RPGLE program empty. I would like to keep a single name for the exported data structure so that my upstream programs can always counton importing a single data structure. Does anyone know if what I'm attempting to do should work or not? Or is the fact that all the modules exporting the same data structure name is causing a problem? Thanks.
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.