|
Hi,
I'm having problems with messages.
I want to check for an escape message and then send that message to the caller.
If I code RCVMSG MSGTYPE(*EXCP), I'm getting a CPF9999. I have to do a second RCVMSG to get the message I'm looking for. However, with MSGTYPE(*ANY) my message this order seems to be inversed. *ANY isn't satisfactory as I'm picking up other messages not related to the error I'm trying to control.
Can anyone explain this and how I should be doing it ?
TIA
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.