|
It was asked recently about being able to send key strokes to RDi to
activate the Aldon compile option from within LPEX. It can be done but
that's not very reliable.
So I took Scott Klement's tool (BUILD) and made some modifications to
create non-typical CRT objects like SQL Tables using an Aldon create
command, ACMSCREATE or ACMSPDMCR1.
Here is the article link for reference (you should just need basic
access to get the article and the original code)
http://systeminetwork.com/article/updates-general-purpose-build-tool
Then I added the features that I wanted and removed Scott's specific
features.
To use this command activate the Compile menu and choose to work with
compile commands. You add this command as one of your compile commands.
I use this as my base, BUILD OBJ(&L/&N) SRCFILE(&L/&F) DBGVIEW(*SOURCE)
REPLACE(*YES) USECMS(*YES) OPTION(*EVENTF).
Now I can use Ctrl+Shift+C in LPEX editor for SQL or pseudo source
object types and have them create using Aldon create command.
This new code added has been lightly tested with Aldon nor fully tested
with the objects assigned to delta releases or the same object in
multiple releases. And there are bits that are specific to our set up.
Using this newer version of the command also does not allow for the
errors list to appear, yet. The keyword OPTION(*EVENTF) is not passed
from the Aldon command to the system create commands. You might get the
events file to be used I believe if you modify the create commands in
used by Aldon and add the OPTION(*EVENTF) to all the CRTx commands.
CMD : http://code.midrange.com/50183eb8b2.html
RPG : http://code.midrange.com/a81db46575.html
HELP : http://code.midrange.com/dd14f5c8b5.html
Thanks to Scott Klement for providing the base BUILD command.
Thanks, Matt
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-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.