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


  • Subject: Re: Modules on CRTPGM/CRTBNDRPG
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Sat, 01 May 99 17:41:13 +1000


Hello Colin,

Assuming this wasn't a rhetorical question ... here is my best guess -- given I 
understand 
most of IBM's design decisions.

CRTBNDRPG was originally designed to hide the complexity involved in creating 
ILE programs.  
Part of that is done by providing a single step compile where the *MODULE 
object is managed by 
the compiler and the programmer can continue to use one option from PDM.  That 
way they get 
the benefits of RPG IV without the baggage of ILE.

However, imagine the situation where a decision is made to put all the common 
routines (date, 
tax, string, maths, etc) in service programs.  Assume the service programs were 
created by the 
resident 'propeller-head' who understands the benefits of ILE.  We still want 
to keep things 
simple for the hack programmers.  They don't want to be bothered with all that 
module and 
binding stuff.  Hence the provision for specifying a binding directory (they 
can be issued an 
edict -- Thou shalt use BNDDIR(GoodStuff) when ye compile! -- or the 'prop' 
changes the 
command default) and magic happens.

If you want full control over the modules use CRTPGM.  That is what it was 
designed for.

Regards,
Simon Coulter.

«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
«» FlyByNight Software         AS/400 Technical Specialists       «»
«» Eclipse the competition - run your business on an IBM AS/400.  «»
«»                                                                «»
«» Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           «»
«» Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      «»
«»                                                                «»
«» Windoze should not be open at Warp speed.                      «»
«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»
//--- forwarded letter -------------------------------------------------------
> X-Mailer: Internet Mail Service (5.0.1459.44)
> Date: Thu, 15 Apr 99 14:56:02 +0100
> From: "Colin Williams" <Williamsc@technocrats.co.uk>
> To: "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com>
> Reply-To: MIDRANGE-L@midrange.com
> Subject: Modules on CRTPGM/CRTBNDRPG

> 
> The only way you can bind modules on the CRTBNDRPG command is by use of
> a binding directory, but does anyone know of a specific reason
> that OS/400 allows you to enter individual modules on the CRTPGM command
> but not on the CRTBNDRPG command? , it would be nice if you could
> specify your modules on CRTBNDRPG without the use of a binding
> directory.

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.