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



On 6/26/2014 9:08 AM, Stuart Rowe wrote:
Could not decide whether RPG or WDSC list, so it ended up here.

Long ago I set up a /define that was visible to all RPG compiles. I cannot
remember now where I did that -- but it seems like it is no longer there
(or no longer working) and I need to go stick it back in there. Any
ideas?

If you really mean ALL RPG compiles, even those submitted by PDM or by
hand from the command line, then perhaps you want to register CRTRPGMOD
and CRTBNDRPG and CRTSQLRPGI at the QIBM_QCA_CHG_COMMAND exit point.
That way, any process which tries to compile an RPG program will get
diverted to your code which presumably will add the /define you need.

http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_71/apis/xcachg.htm?lang=en

All I find is this setting [Remote Systems/IBM i/Program Verifiers/ILE
RPG/Defines], but that setting doesn't do what I need (or it used to, but
has been broken since I set it up).

In RPD, Compile > Work With Compile Commands. Prompt and add the
/defines you want there. This of course will only work for your RDi
compile operations; you'd need to share this with colleagues. And it
won't at all affect CRTBNDRPG commands issued from a command line.
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.