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



Caveat!!
This is only guaranteed to work on ACMS 07.5G LM(i) release and probably
works on older versions but I cannot test any other version.


Thanks, Matt


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert
Rogerson
Sent: Wednesday, September 10, 2014 2:13 PM
To: Rational Developer for IBM i / Websphere Development Studio Client
forSystem i & iSeries
Subject: Re: [WDSCI-L] Build command for Aldon objects in LPEX was(Re:
Short cut keys for a menu option...)

Thanks Matt. I will take a look at what you have.

I have been using AutoHotKey for a couple weeks now and it works great
for me. The only issue I've found is that the object you wish to create
has to be selected in the RSE view. But this is rarely an issue for me
as I always open an object for editing through an LMi view. If I only
want to browse a source I usually open this with Ctl-Alt-A and this
doesn't change the selected item in the RSE view.

Rob
On 9/10/2014 3:38 PM, Tyler, Matt wrote:
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 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.