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



Rick

That did it. Thanks heaps. I need to look up debugging threads, since it is odd to me that a thread started by the job in which I run STRDBG is not handled by the debug environment, but all threads are caught with STRSRVJOB.

I vaguely remember the post, too.

Vern

At 04:04 PM 9/8/2003 -0500, you wrote:
Vern,

I recently wrote my first UDF, also in a service program.  To debug it I
started a service job on an interactive session, started debug on the
module then used the function in a STRSQL session.  It takes two
interactive sessions but it worked fine.  IIRC there was a post a few
weeks ago that pointed me in this direction.

Rick

-----Original Message-----
I'm at V5R1. I have a couple UDFs defined in a *SRVPGM - don't know if
that
matters. When I try to debug, it never stops at the breakpoint.

I've tried a 'sleep' (like DLYJOB) so that I can use WRKOBJLCK VERN
*USRPRF, but nothing has the lock that seems to be handling this. I've
looked for TIMW, but there are way too many jobs in that state. I've
tried
FENCED and NOT FENCED, but no difference - of course, was that supposed
to
matter on V5R1? And if no, why does it allow the use of the clause?

Why ask why? ;-)

Appreciate your thoughts and knowledge.

Vern



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.