Discussion:
Build command for Aldon objects in LPEX was(Re: Short cut keys for a menu option...)
(too old to reply)
Tyler, Matt
2014-09-10 19:38:22 UTC
Permalink
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
Robert Rogerson
2014-09-10 20:13:02 UTC
Permalink
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
Post by Tyler, Matt
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
Tyler, Matt
2014-09-10 20:48:08 UTC
Permalink
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org] 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
Post by Tyler, Matt
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.
Post by Tyler, Matt
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
Post by Tyler, Matt
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
Charles Wilt
2014-09-11 12:45:44 UTC
Permalink
Hi Matt,

Thanks for this. I'll be taking a look at it myself.

However, you might want to put the code in the wiki (
http://wiki.midrange.com/index.php/Main_Page) since code.midrange.com is
designed to host bit's of code related to issues you're having instead of
having it mangled by the list software. code.midrange.com is not designed
as a permanent code repository.

I'd check with David first, since the code is for a specific CMS. If he'd
prefer it be hosted someplace else, I'm sure we could find an alternate
host.

Charles
Post by Tyler, Matt
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 subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
--
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
Tyler, Matt
2014-09-11 14:18:24 UTC
Permalink
I was planning on that but I wanted to get it out for more testing
before I do that.


Thanks, Matt


-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org] On Behalf Of Charles
Wilt
Sent: Thursday, September 11, 2014 6:46 AM
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...)

Hi Matt,

Thanks for this. I'll be taking a look at it myself.

However, you might want to put the code in the wiki (
http://wiki.midrange.com/index.php/Main_Page) since code.midrange.com is
designed to host bit's of code related to issues you're having instead
of having it mangled by the list software. code.midrange.com is not
designed as a permanent code repository.

I'd check with David first, since the code is for a specific CMS. If
he'd prefer it be hosted someplace else, I'm sure we could find an
alternate host.

Charles
Post by Tyler, Matt
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.
Post by Tyler, Matt
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
Post by Tyler, Matt
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
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
--
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-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/***@public.gmane.org
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.
Loading...