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




And you can debug an ILE program while in debug mode from STRISDB by
using DSPMODSRC and adding the ILE program or service program. However
you need to add a breakpoint because STRISDB will not step into the
ILE program.

On Thu, 26 Jun 2014 14:22:29 -0500, Vernon Hamberg
<vhamberg@xxxxxxxxxxxxxxx> wrote:

You CAN debug an OPM program that is called by an ILE program - just to
clarify before someone else does!!

:)

On 6/26/2014 2:17 PM, Vernon Hamberg wrote:
You CANNOT debug ILE programs using STRISDB - here is a message when I
confirmed this -

Message ID . . . . . . : IXA0101
Date sent . . . . . . : 06/26/14 Time sent . . . . . . :
14:13:40

Message . . . . : Program type not valid.

Cause . . . . . : Only OPM RPG, CLP and COBOL programs can be
debugged. For
ILE programs use STRDBG command.
Recovery . . . : Specify a (OPM) program with type RPG, CLP or CBL.
For ILE
programs use STRDBG command.

So if STRISDB is working, then your program is NOT ILE. Plain and simple.

This is why I've not used STRISDB for at least 15 years. Yes, there
were some nice thigns - the watch was better in STRISDB - but now the
watch in the graphical debugger takes over that capability.

Regards
Vern

On 6/26/2014 10:57 AM, Hoteltravelfundotcom wrote:
i can do strdbg. but i like the other way. For now, the issue is
resolved.
I am doing some work involving mimicing what the RPG code does in an SQL
now its working fine.


On Wed, Jun 25, 2014 at 12:36 PM, Monnier, Gary <Gary.Monnier@xxxxxxxxx>
wrote:

And CRTRPGPGM with OPTION(*LSTDBG) allows you to use STRDBG for OPM.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Michael Ryan
Sent: Wednesday, June 25, 2014 9:21 AM
To: Midrange Systems Technical Discussion
Subject: Re: use of STRISDB

If you use CRTRPGPGM, it's OPM. If you use CRTBNDRPG (or CRTRPGMOD),
then
it's ILE. Doesn't matter what the code looks like.


On Wed, Jun 25, 2014 at 12:13 PM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

wait, not sure. it compiles as ILE but looks like old school. I will
post some code later.


On Wed, Jun 25, 2014 at 12:12 PM, Hoteltravelfundotcom <
hoteltravelfun@xxxxxxxxx> wrote:

ILE


On Tue, Jun 24, 2014 at 8:45 PM, <paultherrien@xxxxxxxxxxxxxxxxxx>
wrote:
STRISDB is for OPM (old program model) programs (pre ILE).
For ILE programs use the STRDBG command.

Is this an OPM or an ILE program?

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
Of Hoteltravelfundotcom
Sent: Tuesday, June 24, 2014 6:38 PM
To: Midrange Systems Technical Discussion
Subject: use of STRISDB

I am running this command in the dev machine. however, when I run
the program it does not show me the statement to stop at so to check
values.
where do I indicate this?

STRISDB PGM(JTLIB/IOPNORDR) UPDPROD(*YES)

Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

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.