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



According to my websphere help (pay particularly close attention to the
first sentence):

Status codes outside the range of 00100 to 09999, for example codes from
0 to 99, are not monitored for. You cannot specify these values for an
on-error group. You also cannot specify any status codes that are not
valid for the particular version of the compiler being used.

-Kurt

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Wednesday, October 29, 2008 2:27 PM
To: RPG programming on the AS400 / iSeries
Subject: MONITOR not catching MCH3601

Hi all,

I have an intermittent problem that has popped up. I am calling an IBM
system API and about every 100,000 calls it throws a MCH3601 (Pointer
not
set for location referenced). Outside of trying to determine why the
error
is occurring my intent is to "catch" this error using a MONITOR block
but it
seems to be ignoring the MONITOR block and instead displaying a message
to
the QSYSOPR message queue.

For example:

MONITOR;
apiname(...);
ON-ERROR;
// Process MCH3601 if it occurs
ENDMON;

Any ideas why it is going to QSYSOPR vs. hitting the ON-ERROR program
boundry?

Thanks,
Aaron Bartell
http://mowyourlawn.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.