|
We have a change management system to cover this sort of stuff. Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com "Dan Bale" <dbale@xxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 10/07/2004 04:11 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> cc Fax to Subject RE: Suggestion: File to use when compile 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). -- 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-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.