|
fbocch2595 wrote:
So, there's no way to have another user read or be sent the messages from another users msgq?
fbocch:One simple way is to have a special message queue that receives all such messages. Start a never-ending program that receives messages from that queue and sends them on to whomever is set to be the actual recipient.
Now, the rerouting can be done in various ways, e.g., the program could simply retrieve a data area and send to the message queue named there. Or, instead of 'sending a message', send a network message with SNDNETMSG.
An advantage of SNDNETMSG is that it can send to a distribution list rather than directly to a named message queue. A distribution list can have entries added to it or removed from it as needed. Multiple recipients can be specified.
The recipients can be on the same system or they can be on remote AS/400s as long as the SNA/DS routing is set up.
Distribution lists have started to be forgotten, but they can be extremely handy under the right circumstances.
Tom Liotta
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.