|
Well, some thoughts...maybe?
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
I will be opening an APAR to do with debug of OPM programs where it hasthat
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
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 thisbe
a factor in this case?OPM
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
cannot be the first program in the sequence.OPM
Just simply create an ILE program that does nothing more that call the
and then set that one to debug and step into the OPM. Easy.OPM
I know a couple of people who wrote a simple ILE program that took the
program name as a parm so that you only need a single shell program - notdebug
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
OPM source - debugging in RDi does use SEP (service entry point)programs.
breakpoints, I don't remember if those can be used only with ILE
aThe 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.
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
way to get it done as an OPM. I think I will have him try Craig'stransfer
suggestion.
not RDi. Maybe he had a copy in his library list that he did notThe one thing I'm still not clear on is why he could debug it in GS and
over to RDi?Avenue
Doug Belcher | IT Applications Specialist | White-Rodgers
Emerson Commercial & Residential Solutions | 8100 West Florissant
| St. Louis, Mo | 63136 | USAand
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
I do it all the time with CLP, I change the type to CLLE, recompile,
then I can debug in RDI!Belcher,
<Joy Joy>
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Doug [COMRES/WR/STL]ILE
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"Server: CPF9584 OPM program P5547052 cannot be added to ILE debug
debug environment because it does not contain OPM source debug data."what
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
to check next.list
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
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:
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=
--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@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
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=
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=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=JEEjHNG7O9Z0_nlhIx26mCiSuYbcSvBvH9C8AVOYTCQ&e=
Help support midrange.com by shopping at amazon.com with our affiliate
link:
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=
--
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__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=oeh8sxuMnl2Yan1wYTZ62aWDSSdVSmlgCiS6EikYKKw&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=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=9px_7RGesuFfLzv0cU3AwnKLQqAic3t2KudfPuu6oF0&s=JEEjHNG7O9Z0_nlhIx26mCiSuYbcSvBvH9C8AVOYTCQ&e=
Help support midrange.com by shopping at amazon.com with our affiliate
link:
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.