|
Well, some thoughts...
SEP can only be set on ILE programs because the OPM program header is not
large enough to contain the data as I understand it.
For this specific issue what is the IBM i version, greater than 7.1 maybe?
I will be opening an APAR to do with debug of OPM programs where it has
been compiled with *SOURCE but the source has been moved or renamed. If
that happens the debugger gets an error when trying to open the source that
causes the debug session to end. I think that *LISTING would be fine - or
if the debugger can find the source where it was compiled ;) Could this be
a factor in this case?
Mike
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/02/21 11:49
Subject: Re: [WDSCI-L] RDi Error Message
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
In our RDi classes we include OPM programs in the debug session.
RDi can debug OPM just fine _but_ because it uses the SEP approach the OPM
cannot be the first program in the sequence.
Just simply create an ILE program that does nothing more that call the OPM
and then set that one to debug and step into the OPM. Easy.
I know a couple of people who wrote a simple ILE program that took the OPM
program name as a parm so that you only need a single shell program - not
one for each OPM source you need to debug.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Feb 21, 2019, at 11:49 AM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>wrote:
Hi DougOPM source - debugging in RDi does use SEP (service entry point)
I looked in RDI settings (9.6 version) and do not see the option to debug
breakpoints, I don't remember if those can be used only with ILE programs.
The STRDBG command does have an option for OPM source (OPMSRC) - in theOS, this lets your program be called by an ILE program and still be
debugged, or the program itself can be called for debugging.
The OPMSRC option does not seem to be available in RDi - the STRDBGoption for updating production data is there - so for now, unless someone
knows differently, you will need to do the debugging in an emulator
session.
This sounds like an opportunity to submit and RFE.way to get it done as an OPM. I think I will have him try Craig's
HTH
Vern
On 2/21/2019 9:37 AM, Belcher, Doug [COMRES/WR/STL] wrote:
Ken,
Understood, however it is not mine to convert and I was hoping to find a
suggestion.
not RDi. Maybe he had a copy in his library list that he did not transferThe one thing I'm still not clear on is why he could debug it in GS and
over to RDi?
| St. Louis, Mo | 63136 | USADoug Belcher | IT Applications Specialist | White-Rodgers
Emerson Commercial & Residential Solutions | 8100 West Florissant Avenue
KillianT 314 553 5872 | M 314 776 4461
Doug.Belcher@xxxxxxxxxxx
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Ken
for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>Sent: Thursday, February 21, 2019 9:06 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
should work.Subject: [EXTERNAL] Re: [WDSCI-L] RDi Error Message
Doug,
I believe that RDI cannot debug 27+ year old OPM/RPG-III/RPG-400.
Just convert it to RPGLE, recompile and then try debug again. That
my time. :PRDI cannot debug RPG-II either, that is over 40 years. That was before
then I can debug in RDI!I do it all the time with CLP, I change the type to CLLE, recompile, and
Doug [COMRES/WR/STL]<Joy Joy>
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Belcher,
for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>Sent: Thursday, February 21, 2019 9:55 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
error message I don't understand:Subject: [WDSCI-L] RDi Error Message
All,
Had a co-worker just start using RDi and debug and he came up with an
environment. Program P5547052 in library WRDTST cannot be added to the ILE"Server: CPF9584 OPM program P5547052 cannot be added to ILE debug
debug environment because it does not contain OPM source debug data."
ILE? Secondly, he told me it was compiled with Debug source data, so whyFirstly it is not an ILE program, so why did it try and debug it under
did RDi tell him it had none. Lastly, he was able to go to a GS session
and debug it with STRDBG.
use the Debug Configuration, point it to my active jobs, apply and debug.I had him go through the steps that I take with debugging an OPM, i.e.
I checked and it is an OPM with all observable information. Not sure what
to check next.
Client for System i & iSeries (WDSCI-L) mailing list To post a message
--
This is the Rational Developer for IBM i / Websphere Development Studio
email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jOURTkCZzT8tVB5xPEYIm3YJGoxoTaQsQPzPKJGaWbo&r=jFFsrfJukeI3_1504_25tcj_qfI1gv7BeeMsv5LMb1M&m=LAnlKSYpMgU4qHhjDgk2NgM4cl3eW6oncomfe88q_xc&s=5rJIuBh9-Qcf437_Uoz-_ouFyCHEdC6nGRTR2zVNYU4&e=visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jOURTkCZzT8tVB5xPEYIm3YJGoxoTaQsQPzPKJGaWbo&r=jFFsrfJukeI3_1504_25tcj_qfI1gv7BeeMsv5LMb1M&m=LAnlKSYpMgU4qHhjDgk2NgM4cl3eW6oncomfe88q_xc&s=e6FgQGNgR1tpi-mvJlPr4bjFzI0XdK0shtCyR5r61cc&e=or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
.
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jOURTkCZzT8tVB5xPEYIm3YJGoxoTaQsQPzPKJGaWbo&r=jFFsrfJukeI3_1504_25tcj_qfI1gv7BeeMsv5LMb1M&m=LAnlKSYpMgU4qHhjDgk2NgM4cl3eW6oncomfe88q_xc&s=ArK6M2Z_zOhJmlUmuzBDp8aK8qM6Tt-MbqOXB6Ktvzk&e=Help support midrange.com by shopping at amazon.com with our affiliate
link:
--Client for System i & iSeries (WDSCI-L) mailing list
This is the Rational Developer for IBM i / Websphere Development Studio
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxxhttps://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=jcgahQGf4j_jMSIA_NpZW1KtYSB9ZALtyATe6OIgIDc&e=
To subscribe, unsubscribe, or change list options,
visit:
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxxhttps://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=oeh8sxuMnl2Yan1wYTZ62aWDSSdVSmlgCiS6EikYKKw&e=
Before posting, please take a moment to review the archives
at
.
Help support midrange.com by shopping at amazon.com with our affiliatehttps://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=JEEjHNG7O9Z0_nlhIx26mCiSuYbcSvBvH9C8AVOYTCQ&e=
link:
--
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@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=jcgahQGf4j_jMSIA_NpZW1KtYSB9ZALtyATe6OIgIDc&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=oeh8sxuMnl2Yan1wYTZ62aWDSSdVSmlgCiS6EikYKKw&e=
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=JEEjHNG7O9Z0_nlhIx26mCiSuYbcSvBvH9C8AVOYTCQ&e=
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.