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



Mike - I hope I'm right when I say, that SEP breakpoints can't be set for OPM programs - so my question is, does the RDi debugger only use SEP breakpoints now?

STRDBG does have the OPMSRC parameter that lets you say you want to debug if it was created with *LSTDBG or *SRCDBG. That option is not anywhere in the prerefences, but if RDi only uses SEP, then it probably can only be done using Jon's method of wrapping with an ILE program.

Regards
Vern

On 2/21/2019 7:58 PM, Mike Hockings wrote:
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 Doug

I looked in RDI settings (9.6 version) and do not see the option to debug
OPM source - debugging in RDi does use SEP (service entry point)
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 the
OS, 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 STRDBG
option 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.

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
way to get it done as an OPM. I think I will have him try Craig's
suggestion.
The one thing I'm still not clear on is why he could debug it in GS and
not RDi. Maybe he had a copy in his library list that he did not transfer
over to RDi?
Doug Belcher | IT Applications Specialist | White-Rodgers
Emerson Commercial & Residential Solutions | 8100 West Florissant Avenue
| St. Louis, Mo | 63136 | USA
T 314 553 5872 | M 314 776 4461
Doug.Belcher@xxxxxxxxxxx

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Ken
Killian
Sent: Thursday, February 21, 2019 9:06 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
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
should work.
RDI cannot debug RPG-II either, that is over 40 years. That was before
my time. :P
I do it all the time with CLP, I change the type to CLLE, recompile, and
then I can debug in RDI!
<Joy Joy>


-Ken Killian-


-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Belcher,
Doug [COMRES/WR/STL]
Sent: Thursday, February 21, 2019 9:55 AM
To: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] RDi Error Message

All,

Had a co-worker just start using RDi and debug and he came up with an
error message I don't understand:
"Server: CPF9584 OPM program P5547052 cannot be added to ILE debug
environment. Program P5547052 in library WRDTST cannot be added to the ILE
debug environment because it does not contain OPM source debug data."
Firstly it is not an ILE program, so why did it try and debug it under
ILE? Secondly, he told me it was compiled with Debug source data, so why
did RDi tell him it had none. Lastly, he was able to go to a GS session
and debug it with STRDBG.
I had him go through the steps that I take with debugging an OPM, i.e.
use the Debug Configuration, point it to my active jobs, apply and debug.
I checked and it is an OPM with all observable information. Not sure what
to check next.


--
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=jOURTkCZzT8tVB5xPEYIm3YJGoxoTaQsQPzPKJGaWbo&r=jFFsrfJukeI3_1504_25tcj_qfI1gv7BeeMsv5LMb1M&m=LAnlKSYpMgU4qHhjDgk2NgM4cl3eW6oncomfe88q_xc&s=5rJIuBh9-Qcf437_Uoz-_ouFyCHEdC6nGRTR2zVNYU4&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=jOURTkCZzT8tVB5xPEYIm3YJGoxoTaQsQPzPKJGaWbo&r=jFFsrfJukeI3_1504_25tcj_qfI1gv7BeeMsv5LMb1M&m=LAnlKSYpMgU4qHhjDgk2NgM4cl3eW6oncomfe88q_xc&s=e6FgQGNgR1tpi-mvJlPr4bjFzI0XdK0shtCyR5r61cc&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=jOURTkCZzT8tVB5xPEYIm3YJGoxoTaQsQPzPKJGaWbo&r=jFFsrfJukeI3_1504_25tcj_qfI1gv7BeeMsv5LMb1M&m=LAnlKSYpMgU4qHhjDgk2NgM4cl3eW6oncomfe88q_xc&s=ArK6M2Z_zOhJmlUmuzBDp8aK8qM6Tt-MbqOXB6Ktvzk&e=

--
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=


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

Follow-Ups:
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.