|
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 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.