× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Patrik - Gavin hasn't explained, but "Bubbles" up usually means to me that a message goes up the call stack as it is not handled or is resent, perhaps, by his program. I sometimes use the term "percolates".

Cheers
Vern

On 3/6/2021 5:47 PM, Patrik Schindler wrote:
Hello Gavin,

Am 02.03.2021 um 19:50 schrieb Gavin Inman <midrangelist@xxxxxxxxxxxxxx>:

This is a very old program, ported from my SYSTEM/38 Days. This "Bubbles" Up messages and may be the solution to your dilemma.
Thanks a lot! Honestly, I do not understand what "bubbles up" means in this context.

I solved my dilemma by eventually doing what I wanted to avoid: The menu entry calls the CL program PGM1. This just calls the RPG program PGM2 (doing the real work, returning to PGM1 after finishing) and afterwards runs SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA('Whatever') TOPGMQ(*PRV). I really wanted to omit this double-call because it feels like a dirty hack.

What's possible in CL seems not to work within RPG. But maybe I just don't understand the messages concept correctly to realize *why* it doesn't work.

(Apparently sometimes, dirty hacks can't be avoided. See my struggle with ftp NAMEFMT in this group in last August.)

Thanks to everyone trying to help!

:wq! PoC



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.