|
So, nobody mentioned it explicitly, probably because it's too obvious
to everyone who knows what they are doing, but after further
experimentation it seems that the key to this is to specify
TOPGMQ(*SAME) when issuing the SNDPGMMSG that repeats the originally
caught *ESCAPE message.
From: Brian Johnson <brian.johnson.mn@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 06/15/2017 07:11 PM
Subject: Re: What's the proper way to "reraise" in a CLP?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Register a User-Written Condition Handler (CEEHDLR)
A condition handler gets to decide if it wants to handle the exception.
This is the basic capability the OP needs.
I wrote one years ago that took in (via the TOKEN provided to CEEHDLR) a
list of message IDs that should be handled. This gave non-CL callers of
QCMDEXC (for example) a MONMSG-like capability.
As an Amazon Associate we earn from qualifying purchases.
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.