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



You can debug OPM programs in the ILE debug environment if you specify
certain options on creation.

If you look at the second level text for CPF9584 it gives you the details:

Message ID . . . . . . . . . : CPF9584

Message file . . . . . . . . : QCPFMSG

Library . . . . . . . . . : QSYS



Message . . . . : OPM program &1 cannot be added to ILE debug
environment.
Cause . . . . . : Program &1 in library &2 cannot be added to the ILE
debug
environment because it does not contain OPM source debug data. If you
want
to debug an OPM program in the ILE debug environment, it must contain
OPM
source debug data.

Recovery . . . : If your OPM compiler supports generating source debug

data, compile the program by specifying the appropriate compile option.

Then, add the program to debug again. The OPM source debug data is
specified
at compile time using the OPTION parameter in either of two ways:

1) For CRTRPGPGM, CRTCBLPGM, and CRTCLPGM: specify OPTION(*SRCDBG).

2) For CRTRPGPGM, CRTCBLPGM, CRTRPTPGM, CRTSQLRPG, CRTSQLCBL, and

CRTCICSCBL: specify OPTION(*LSTDBG).


So, If you want to debug your OPM program in an ILE debug environment -
recreate the programs as specified above...


On Thu, 21 Feb 2019 at 14:55, Belcher, Doug [COMRES/WR/STL] <
Doug.Belcher@xxxxxxxxxxx> wrote:

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.


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<mailto:Doug.Belcher@xxxxxxxxxxx>

--
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://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.