MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2014

Re: use of STRISDB



fixed

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)
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
http://archive.midrange.com/midrange-l
.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please
take a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.









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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact