× 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.



That is also my understanding of how most multi modules program work.  I
don't even know how one can call a non PEP module's main procedure.  I
suppose you could use CALLB to do that.  However, that is not a very
clean way of doing thing.



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of James Rich
Sent: Friday, November 04, 2005 4:33 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: ILE and Access Paths


This is totally different than how I've always worked.  I always have
one module that does *not* specify NOMAIN and all the rest of the
modules used in a given program do specify NOMAIN.  By specifying NOMAIN
for a module the RPG cycle code is not generated AFAIK.  At the very
least specifying NOMAIN means that a PEP cannot be created for that
module.  I cannot for the life of me imagine a situation where a program
would be created from multiple modules that do *not* specify NOMAIN,
thereby allowing multiple PEP candidates (and multiple RPG cycles).
AFAIK the RPG *does* "operate at the program level".  Can you give an
example of a program that uses multiple non-NOMAIN modules?

James Rich


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.