|
I have felt your pain. What I do now is put a specially-recognized comment in the RPG source that a preprocessor app uses to do overrides, or create temporary workfiles (those that would normally only be in QTEMP), change library list, etc. etc. It's the only way to fly. Here's an example of what I use: ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 .. **#$%PRE: RMVLIBLE QTEMP **#$%PRE: ADDLIBLE QTEMP *FIRST **#$%PRE: CRTPF QTEMP/DL566W SRCFILE(DBCUSTOM/QDDSSRC) SRCMBR(*FILE) **#$%PRE: **#$%COM: OPTION(*SRCDBG) My preprocessor expects: '**#$%' is required in columns 7-11 'PRE:' is required in columns 12-15 for PRE-compiler commands 'COM:' is required in columns 12-15 for COMpiler options Instead of using PDM option 14, I use a user option that calls my preprocessor, passes Lib/File(SourceMbr) and source type. The latter is used to determine which compiler to call. hth, db > -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx / Lim Hock-Chai > Sent: Thursday, October 07, 2004 4:42 PM > > That is the problem. I've to override it and have to compile > on-line, which is fine if I'm changing/creating the program at > the moment. The real problem comes when I change some master > file and have to do some massive recompile. Those programs will > get error out and I've to research as what file I've override > them to (what a pain).
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.