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