×

Good News Everybody!

The new search engine is LIVE!

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




Your best option is STOP IT

If you have to share data like this use a mapped User Space of Data Area. Exports are one of the things I really wish we hadn't included in ILE. They seemed a good yes at the time but ...

Just my opinion ...


Jon P

On May 12, 2021, at 12:42 PM, Suren K <suren7437@xxxxxxxxx> wrote:

Hi Everyone,

Currently I am maintaining two stand alone applications. But at runtime
both application libraries will be added in a single session/environment.

So I am trying to use an EXPORT Variable of Application 1 in Application 2.
While compiling the compiler fails because it was not able to identify the
Imported variable symbol. In run time I know the Exported variable will be
available, so while compiling the CRTPGM and CRTSRVPGM i am
giving OPTION(*UNRSLVREF) to allow the unresolved references.

Do we have any similar options available for CRTBNDRPG or CRTSQLRPGI to
allow the unresolved references?

Regards,
Suren
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


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.