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