|
Ah, yes, the maintenance, I forgot to mention that. I agree with you that IBM hasn't made it easy to maintain a binding directory(b-d). SO, I wrote my own "Update Binding Directory" program. Makes it easy to make changes, and since I'm working on the program anyway (otherwise there wouldn't be any need to mess with the b-d) it only takes a few seconds more to make the b-d changes. As far as the compile options go, When I set this up, those compile options were just a gleam in some programmer's eye, and I haven't taken the time to change my process. With each new version I always check out the new functions and op-codes, but I have been somewhat lax in checking out the H spec options. I'll have to do that. Thanks for the heads-up Duane > -----Original Message----- > From: Scott Mildenberger [SMTP:Smildenber@Washcorp.com] > Sent: Friday, September 20, 2002 10:57 AM > To: 'rpg400-l@midrange.com' > Subject: RE: ILE philosophy > > > I believe one binding directory for every program is overkill and way too > much maintenance. A service program in a binding directory that isn't > used > by the program in no way affects the final program object, not in size or > execution. By referencing your compile options in the H spec there is no > need to do the CRTPGM step anyway, all compiles can use the CRTBNDRPG > single-step compile. > > Scott Mildenberger > > > -----Original Message----- > > From: Johnson, Duane [mailto:djohnson@POWERMATE.com] > > Sent: Friday, September 20, 2002 9:51 AM > > To: 'rpg400-l@midrange.com' > > Subject: RE: ILE philosophy > > > > > > I am a definite advocate of the "one module - one service > > program" school > > of thought. As a matter of fact, I take it one step farther. > > I have one > > binding directory for each program. The binding directory > > has the same name > > as the program. Since I use PDM for the compiles, I have created a > > user-defined option that does the Create Program function and > > expects to > > find the binding directory. It helps to make life simple. > > Also, listing > > only those service programs that I'm going to be using in my > > program, saves > > on allocated space when the service program is opened. > > Oh, one other thing. EVERY module that I write is wrapped > > in a service > > program. So, when one is changed, NO recompiles are > > necessary for any > > program. > > > > Duane > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > 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 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.