|
>>>>Anyway - Fine, the key is optional. NOW i understand - i thought that the msgq would have to pass thru the msgid ( and maybe the other bits along with it). to get the actual latest msg from all the rest. But now i look, the break handler is just passed enough to be able to receive the rest via the RCVMSG cmd, and with a wait(*max) operates sort of like a dataq (-1). If this is right - no probs.<<<< The break handling pgm will be called for every message so the program doesnt need to loop on itself. So it is more like a trigger pgm than waiting on a dtaq and therefore doesn't need to wait either. There is however nothing stopping the pgm navigating around the message queue. You should check OS/400 CL Programming Guide chapter 8.4. It has a good explanation and coded examples. If you don't have a manual use www.news400.com /index400 Rod Orr
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.