|
This has been my standard M/O for many many years. Nothing better, independence for overrides and all. This has saved me all kinds of grief. - Alan ----- Original Message ----- From: "Buck" <buck.calabro@xxxxxxxxxxxx> To: <rpg400-l@xxxxxxxxxxxx> Sent: Tuesday, September 23, 2003 2:38 PM Subject: Re: Egads! An area in which the precompiler people surpassed thecompiler people! | > The word that jumps out at me is "precompiler". | > Would it be possible to have a precompiler on the RPG side of things? | | Henrik Krebs published a precompiler some years ago. The concept is that | you create a routing entry in a batch subsystem which registers its own | command processing program. Then you receive the request messages. If the | message is CRTBNDRPG, you parse the parms, open the source member and read | from it. You capture specially formatted comments which you then can use to | create a completely different job stream. One can readily have pre-compile | commands, compiler parameters and post-compile commands so you could | conceivably do: | | ovrdbf template templatelib/templ_file | crtbndrpg aaaaaa dbgview(*list) | grtobjaut aaaaa | crtdupobj | | by reading comments like this: | H*RQSB1: ovrdbf template templatelib/templ_file | H*PARM1: dbgview(*list) | H*RQSA1: grtobjaut aaaa | H*RQSA2: crtdupobj | | http://hkrebs.dk/sw.html I don't see it listed there, but I'm sure he'll | send you a copy if you contact him. | --buck | | | | _______________________________________________ | 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. |
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.