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




On 13/02/2008, at 7:20 AM, Alan Shore wrote:

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

Obviously you don't. Compile the CLP source using OPTION(*SRCDBG) then use STRSRVJOB and STRDBG with OPMSRC(*YES) to debug OPM programs. This works for OPM RPG, OPM COBOL, and OPMCL and has done so since at least VRM440 (and I think since VRM420). Either that or change the source type to CLLE and compile and use STRDBG as you do for other ILE languages.


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?

You can continue to use STRISBD but you have to specify SRVJOB (*SELECT) which in turn requires the job to be active. It does not work with jobs on a job queue--rather dumb design.

I haven't used STRISDB for over 12 years but as I recall you could get it to debug another job by submitting the job held, service the job, release the job, STRISDB specify INVPGM(*NO), answer the "Start Serviced Job" message, and continue as usual. I found it a very clumsy way to debug a remote job and as soon as STRDBG had support for OPM source I stopped using ISDB.

Am I doing something wrong?

Yes, continuing to use STRISDB when you should probably be using STRDBG for everything (or a client debug tool).


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

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




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.