|
Rory
IBM has published technique for handling all messages generated during a
certain process. The idea is to send a dummy message and get its message
key, then do whatever you do, then send another dummy and get ITS key.
Then do the RCVMSG RMV(*YES) or QMHRCVPM and use the keys between the
starting one and the ending one. They might not all be there, so be sure
to allow for that error.
This method gets everything in between the 2 dummy messages, from
whatever source.
One might want to keep certain messages, so appropriate conditional
statements can be included.
I don't have the link to the KB article right now, but I bet you could
search for QMHRCVPM in the software knowledge base and get close.
HTH
Vern
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.