×

Good News Everybody!

The new search engine is LIVE!

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




Related to your subject line, the following set of articles might be of
interest:

Module, Module, Who's Got My Module?
<http://www.mcpressonline.com/programming/apis/the-api-corner-module-module-whos-got-my-module.html>
Finding Modules in a *SRVPGM
<http://www.mcpressonline.com/programming/apis/the-api-corner-finding-modules-in-a-*srvpgm.html>
Finding All *SRVPGMs on the System
<http://www.mcpressonline.com/programming/apis/the-api-corner-finding-all-*srvpgms-on-the-system.html>
Take Advantage of Open List APIs
<http://www.mcpressonline.com/programming/apis/the-api-corner-take-advantage-of-open-list-apis.html>
Finding Modules in a *PGM
<http://www.mcpressonline.com/apis/the-api-corner-finding-modules-in-a-*pgm.html>
Parallelism with Open List APIs
<http://www.mcpressonline.com/apis/the-api-corner-parallelism-with-open-list-apis.html>

Bruce Vining







On Tue, Dec 15, 2015 at 9:42 AM, Dan <dan27649@xxxxxxxxx> wrote:

I'm either having a brain fart or have not dealt with this before.

I just started working on an RPGLE source, EXAMPLE1. Currently, there
exists both a *MODULE object and a *PGM object by this name, and the *PGM
object references the *MODULE object. The program has only one module.

Are there any reasons I can't think of at the moment why a program with
only one module by the same name needs to be compiled via CRTRPGMOD and
CRTPGM, instead of just CRTBNDRPG?

I wondered whether the *MODULE object could be used in some other program,
but it does not have "NOMAIN" in the H spec, so I think that eliminates
that possibility, correct?

- Dan
--
This is the RPG programming on the IBM i (AS/400 and 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 ...

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.