× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



not familiar with this.  But did you try to use upper case on the import name.

-----Original Message-----
From: Bartell, Aaron L. (TC) [mailto:ALBartell@xxxxxxxxxxxxxx]
Sent: Thursday, May 22, 2003 1:04 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: IMPORT - Definition not found for symbol


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.
_______________________________________________
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 thread ...


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

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.