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



Modules are not *required* to be "nomain" modules to be bound to other
executables. "Nomain" just leaves out a bunch of the RPG run-time
initialization and startup stuff is all.

One reason I create ALL programs (regardless of number of modules) with
CRTxxxMOD and CRTPGM is to be able to set the ALWUPD() and ALWLIBUPD()
flags on the executable. CRTBNDxxx forces them to *YES which is (in my
environment) intolerable.






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

I just realized my subject line was a bit of a misnomer. I started out
with that line of questioning, but the post evolved as I was writing it.

- Dan

On Tue, Dec 15, 2015 at 10: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-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.