× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Wow.  That's impressive.  You have a program that compiles programs
for you?  That has to be the best solution I have heard yet!  That
gives me quite a few ideas... hmmmmmm..............


On Thu, 7 Oct 2004 17:11:01 -0400, Dan Bale <dbale@xxxxxxxxxxxxx> wrote:
> 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.
> 
> 


-- 
"Enter any 11-digit prime number to continue..."

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.