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



>I have seen talk about putting compiler options in
>the source of the program, but so far have been
>unsuccessful in finding any documentation on it.

Go to the Infocentre, walk the tree on the left hand side: Programming, RPG,
ILE.  Then the right side will show you the RPG Reference link (in HTML):
http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/books/c0925083217.
htm#HDRCONSPE9


>How is this done? Does this mean I can set my options
>(DFTACTGRP(*NO) ACTGRP(*CALLER) BNDDIR(MYBNDDIR) )
>and not have to prompt every time I want
>to compile my program?

Depends on the release level of the compiler and the options you want to
use.  The one I want to see is DBGVIEW(*LIST) but it hasn't made it yet.
What I do (when I can't use Code400) is specify that as a comment in the
source and use copy/paste to put it on the PDM compile:
H DFTACTGRP(*NO) ACTGRP('QILE') BNDDIR('QC2LE')
 * DBGVIEW(*list) TGTRLS(V4R2M0)

Before I leave SEU, I go back to the top, copy the "DBGVIEW(*list)
TGTRLS(V4R2M0)" and exit SEU.  Then I take option 14 and paste it on the
command line at the bottom of the PDM list.  No prompting.  All of this is
made easier for me because I have assigned the standard Windows copy/paste
keys in my CAE session (CTRL+C = Copy, CTRL+V = Paste.)
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.