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



There's an interesting paragraph in an article by Ed Fishel...

http://www.ibmsystemsmag.com/ibmi/november03/administrator/8118p4.aspx

Testing and Debugging
The process is masked when a reply handling exit program is called to
prevent events from being handled because some of those events could
cause problems for the message handler. A side effect of this masking is
that debug events cant be handled until the process is unmasked. This
means that the system debugging interfaces cant be used to debug a reply
handling exit program. I did two things to get around this limitation:

1. I wrote and tested just a few lines of code at a time. For
example, each time I used an API that I hadnt used before, I stopped and
tested its results.
2. I used the Dump Control Language Program (DMPCLPGM) command to
dump the variables of the program before and after the code being
tested. One good place to use DMPCLPGM is after moving some of the
information retrieved from an API to CL variables.

Hth,
-Eric DeLong

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Justin Taylor
Sent: Tuesday, February 02, 2010 1:38 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] SEP for Reply Handling Exit Program

I'm trying to debug a "Reply Handling Exit Program" (exit point
QIBM_QMH_REPLY_INQ) with an SEP. Debug seems to start (i.e. it switches
to the Debug perspective and the job loads in the Debug view), but then
the debug stops. The program executes without debugging.

Any ideas?


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.