|
On 6/26/2014 9:08 AM, Stuart Rowe wrote:
Could not decide whether RPG or WDSC list, so it ended up here.cannot
Long ago I set up a /define that was visible to all RPG compiles. I
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
--
This is the RPG programming on the IBM i (AS/400 and 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-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.