|
My 2 cents: We have been using this kind of stuff (compiling instructions in the source read by a utility program) for close to 10 years. It is used on a daily basis by over 60 programmers (some hold, some new, some contractor, some student ...). The advantages far outweigh the problem. Now nobody forget to specify CPI(15) on a printer file or an override before a compile anymore. As for overiding some parameter when compiling, our utility allows it. Instead of pressing enter, we press F4 and answer YES to a show command prompt and we can then change it for this time only without having to change the source. In fact, we dont use option 14 of PDM anymore (we now use the home made CP instead) Denis Robitaille Directeur services technique TI 819 363 6130 SUPPORT Jour (EST) Daytime : 819-363-6134 En-dehors des heures (EST) After hour : 819-363-6158 Network Status : 819-363-6157 >>> Lim.Hock-Chai@xxxxxxxx 2004-10-13 16:09:30 >>> I think it is a good idea. But for some reasons, I just don't think it is safe. I would be concerned if somebody add /PRECMD: CLRPFM SOMEFILE. There is a big different between running and compiling program. When I run a program, I normally have a general idea of what it will/should do. When I compile a program , I normally just compile it without thinking much about it. Another problem about the /PRECMD is that there is not a way to override the parm of the compile command. If you want to compile the RPGLE program with the option of ALWNULL(*YES). There is no way to change it using /PRECMD, unless ibm add some special keyword to it. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Scott Klement Sent: Wednesday, October 13, 2004 2:42 PM I don't understand. Couldn't the 3rd party software have CL programs that do exactly what the precompiler commands could do? Or RPG programs that do the same thing? How would the precompiler commands add any risk that you're not already facing by running 3rd party apps in the first place? -- This is the RPG programming on the AS400 / 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. *** eSafe scanned this email for malicious content *** *** IMPORTANT: Do not open attachments from unrecognized senders ***
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.