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



OPM programs need to be created with OPTION(*SRCDBG) in order to work with STRDBG using the OPM option there - I prefer this to using 2 kinds of debuggers. Only thing I wish the STRDBG one had was the ISDB-style WATCH.

Might need that option set for STRISDB, too. It's been so long since I used that one.

HTH
Vern
-------------- Original message --------------
From: "SJL" <sjl_abc@xxxxxxxxxxx>

Eric-

It can be tedious, but STRISDB will work if you specify

STRISDB PGM(LIB/PGM) UPDPROD(*YES) INVPGM(*NO) SRVJOB(*SELECT)

The SRVJOB parameter is only shown if you press F10 when prompting the command.

This will bring up a list of jobs running on the system, and you have to find
the job you
want to service and select it by putting a 1 in the selection field. It then
performs a
STRSRVJOB on the selected job, then starts the debugger.

The tedious part is finding the job you want to service...

Alan- hope this helps,
sjl

----- Original Message -----
From: "DeLong, Eric"
To: "RPG programming on the AS400 / iSeries"
Sent: Tuesday, February 12, 2008 2:27 PM
Subject: RE: Debugging a CLP program within STRSRVJOB


I don't think ISDB is the right tool... STRDBG has an option for source debug
of OPM
programs. Give that a try.

Eric

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Haas, Matt (CL Tech
Sv)
Sent: Tuesday, February 12, 2008 2:22 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Debugging a CLP program within STRSRVJOB


I don't think I've specifically tried it with CL's but it does work with OPM
RPG
programs.

Matt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of
Alan Shore
Sent: Tuesday, February 12, 2008 3:20 PM
To: RPG programming on the AS400 / iSeries
Subject: Debugging a CLP program within STRSRVJOB

Afternoon all
I have used STRSRVJOB along with STRDBG to debug another users interactive
session when the suspect program is an RPG ILE program.
This time (first time for me) the suspect program is a CLP, and obviously
(?) I need to use STRISDB in the following manner

STRISDB PGM(libraryname/programname) UPDPROD(*YES) INVPGM(*NO)

AFTER I enter the STRSRVJOB
However this does NOT give me an "IN" to the suspect program in question.
Can this be done?
Am I doing something wrong?

I've checked the archives and GOOGLED on STRSRVJOB, but the only things I
find is linked to STRDBG

As always, any help MUCH appreciated

Thanks in advance


Alan Shore

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"If you're going through Hell, keep going" - Winston Churchill
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.