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

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


On 6/26/2014 10:57 AM, Hoteltravelfundotcom wrote:
i can do strdbg. but i like the other way. For now, the issue is
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>

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),
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:


On Tue, Jun 24, 2014 at 8:45 PM, <paultherrien@xxxxxxxxxxxxxxxxxx>
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?


-----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
where do I indicate this?


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

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page