|
--
Sent from my Galaxy tablet phone with with K-9 Mail. Please excuse my brevity.
Like many, one thing you're missing is the fact that a question, at least in English, should end with the ? symbol. (Sorry; it's one of my peeves and the rule seems to be heavily abused here. Don't get me started on its/it's).
Otherwise, I suggest a good look at the MSGTYPE parameter.
--
Sent from my Galaxy tablet phone with with K-9 Mail. Please excuse my brevity.
I have the below CL program that will not return the message text from
&MSGTXT in the RCVMSG command.
What am I missing here.
PGM PARM(&MSGKEY &TOMSGQ &TOLIB)
DCL &MSGKEY *CHAR 4
DCL &TOMSGQ *CHAR 10
DCL &TOLIB *CHAR 10
DCL &MSGTXT *CHAR 132
RCVMSG MSGQ(&TOLIB/&TOMSGQ) MSGTYPE(*ANY) +
KEYVAR(&MSGKEY) MSG(&MSGTXT)
/* MONMSG CPF0000 EXEC(RETURN) */
SNDMSG MSG(&MSGTXT) TOUSR(MISRML1)
Rogers
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.