|
I am assuming you meant "Did you specify export as an option for gDOM_XPathSeparator?"; and yes, I did: // This is the service program module definition D gDOM_XPathSeparator... D S 1A Export It is exporting successfully because it shows up in the compiled object when I DSPSRVPGM. Aaron Bartell -----Original Message----- From: Haas, Matt [mailto:Matt.Haas@xxxxxxxxxxxxxxxxxxx] Sent: Thursday, May 22, 2003 12:52 PM To: RPG programming on the AS400 / iSeries Subject: RE: IMPORT - Definition not found for symbol Did you specify export as an option for XPathSeparator? Matt -----Original Message----- From: Bartell, Aaron L. (TC) [mailto:ALBartell@xxxxxxxxxxxxxx] Sent: Thursday, May 22, 2003 1:39 PM To: 'RPG programming on the AS400 / iSeries' Subject: IMPORT - Definition not found for symbol I am trying to import a field from a Service Program that I created like so: D XPathSeparator... D S 1A Import('gDOM_XPathSeparator') The above wont compile (Definition not found for symbol 'gDOM_XPathSeparator'.), but the following will: D gDOM_XPathSeparator... D S 1A Import All other sub procedures that are in the same Service Program/Module as gDOM_XPathSeparator resolve just fine. I displayed the service program (DSPSRVPGM) and it showed up in the data exports. I can do it the latter way, but I would really like to rename the imported variable. Anybody have any suggestions? _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx 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.