|
Your field name on the IMPORT parm cannot have lower case letters. Remember, everything in RPG, once compiled, is uppercase. Schadd Gray Damon Technologies, Inc. www.damontech.com ----- Original Message ----- From: "Bartell, Aaron L. (TC)" <ALBartell@xxxxxxxxxxxxxx> To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> Sent: Thursday, May 22, 2003 12:38 PM 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? > > > Aaron Bartell > _______________________________________________ > 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.