|
Stuart,
Thanks for clarifying the limitation stated in the documentation. The exit
program will be called, but the command cannot be changed. If his CMD
Analyzer is being called and tries to change the command, that part won't
work. However, you're right it should still call it to do other
pre-processor work such as file overrides, etc. Buck's suggestion to check
what command is actually being executed would be wise. Also, it could be
related to your note that the QSYS/CRTBNDRPG is an alias for
QDEVTOOLS/CRTBNDRPG. Perhaps de-registering and re-registering the exit
points would do the trick?
I would also highly suspect the PTF you point out could have an impact.
It's not on any Cum so it very well could be missing. The description on
the PTF would make me want to always register the exit program on the
QDEVTOOLS command. I don't see how (with the PTF applied), someone could
work around the exit program.
Michael Quigley
Computer Services
The Way International
www.TheWay.org
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx> wrote on 01/25/2016 01:00:26 PM:
----- Message from Stuart Rowe <rowestu@xxxxxxxxx> on Mon, 25 Janprogram.
2016 08:58:58 -0600 -----
To:
"Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Subject:
Re: [WDSCI-L] RDi Compile and CMD Analyzer
Gad, MichaelQ, et al,
A program running in system state has naught to do with CALLING the exit
program, only what you can do to the command string DURING the exit
of
The exit program is called, but the command *cannot be changed* if any
the following occur:the
- The command was qualified with a specific library name.
- The command has a parameter defined as RTNVAL(*YES), which allows
command processing program (CPP) to return a value to the callingprogram.
- The command has a parameter defined as either DSPINPUT(*NO) orprompt
DSPINPUT(*PROMPT), which does not allow the value to be shown in the
display or joblog.ran
- The command was used in a program running in system state.
Gad:
What you are doing should work just fine. Do not give up.
I just registered a little "tattle-tale" program to that exit point and
some compiles through RDi -- it triggered the exit program EVERY TIME.data
There was no difference in the parameters passed to the called program
whether I compiled in batch or inline (in RDi, the opposite of BATCH is
INLINE, not INTERACTIVE), the exit program was triggered with the same
every time. I registered QSYS/CRTRPGMOD, QSYS/CRTBNDRPG, etc. I alsois
tried it with QDEVTOOLS/CRTRPGMOD and it worked just fine every time. I
cannot imagine what your problem is.
Have you set a service break in the pre-processor program to be SURE it
not being called (and not just doing nothing)? You should, first thing,command name
and let us know if it IS being called. Don't just judge by end results.
Other stuff to check:
1. If your exit program is checking the command name and/or library
before doing its job, make sure it is checking for the correct
and/or library. When I get the exit point triggered (either by RDior
PDM), the "command being executed" (in the command informationstructure
passed as paramter 1) is QDEVTOOLS/CRTRPGMOD while the proxy chain*JOBD
indicates it really started with QSYS/CRTRPGMOD.
2. There are settings on each Connection in RDi that specify which
is used for batch compiles -- make sure that if the jobd specifies auser
profile that it has authority to call the pre-processor program ormake
sure your pre-processor has PUBLIC *USE authority on it.while
3. Check the joblog of your compile job for errors in calling or
running your pre-compiler.Command
1. if in batch, it will be named after your job description,
2. if inline it will be in the remote command server job that is
processing your requests (QZRCSRVS with your user ID on it)
Recently (the past year or so) I have had several issues with the
Analyzer not working correctly when using the QIBM_QCA_CHG_COMMAND exitthe
point wikth proxy commands (several bugs were introduced in V5R4 with
proxy command implementation). When a proxy command is used (CRTBNDRPG,the
CRTCPPMOD, etc are PROXY commands in QSYS), I find it wise to register
root command (QDEVTOOLS/CRTBNDRPG) instead of the more obviousexecuting
QSYS/CRTBNDRPG (I believe Bruce Vining pointed this out to you last
August). Not saying this is your issue, just pointing out that if you
register QSYS/CRTRPGMOD, someone can dodge your exit program by
QDEVTOOLS/CRTRPGMOD.STOP
One of the issues I had fixed lately was the exit program would just
BEING CALLED until you de-registered and re-registered the exit program.a
We never figured out exactly why it sould stop being called, even after
couple hours on the phone with China (the command analyzer is maintainedby
Chinese contractors now). At any rate, here is a PTF that may (or maynot)
help:is
V6R1 = SI58104
V7R1 = SI58105
V7R2 = SI58106
Good luck.
Stu
On Mon, Jan 25, 2016 at 4:04 AM, Gad Miron <gadmiron@xxxxxxxxx> wrote:
Hello Mike
I've cheked,
The Library list is correct and the (prompted) invoked compile request
OPTION(*EVENTF)correct
CRTBNDRPG PGM(GAD/BB) SRCFILE(GAD/QRPGLESRC) SRCMBR(BB)
command soDBGVIEW(*SOURCE) REPLACE(*YES)
*But*
the CMD Analyzer PGM is not invoked
Gad
On Sun, Jan 24, 2016 at 8:07 PM, Mike Hockings <hockings@xxxxxxxxxx>
wrote:
RDI does not do anything special, it just invokes the compile
toI
would expect that any exit programs should run. Make sure that thelibrary
list is as expected and you could try prompting the compile command
well.make
sure that any specific settings are defined the way you expect as
Technical
Mike Hockings, M.Eng., P.Eng.
IBM Rational Developer for System z and Power Systems Software
StudioSupport--
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
This is the Rational Developer for IBM i / Websphere Development
aClient 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.
----- Message from Buck Calabro <kc2hiz@xxxxxxxxx> on Mon, 25 Jan
2016 11:44:38 -0500 -----
To:
wdsci-l@xxxxxxxxxxxx
Subject:
Re: [WDSCI-L] RDi Compile and CMD Analyzer
On 1/24/2016 10:16 AM, Gad Miron wrote:
I'm afraid I wouldn't know where to begin creating a CMD in RDi as I'm
--newbei novice indeed
when it comes to RDi.
Can you send me a lead please
Compile > Work With Compile Commands...
In light of Stu's experience, perhaps you should check to see that your
RDi is in fact using the command you think it should. Is it possible
that it's been set up to use a custom command?
--
--buck
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.