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



Like many, you assume that spelling and grammer MUST follow certain
rules. Surprisingly to some, there are no such rules. They are only
reccomendations that serve to standardize the written word to aid in
its understanding. In other words, I can write things any darn way I
want and no one is going to arrest me.

Criticism is only valid when the usage intereferes with understanding
the intent of the writer. Otherwise you are merely nit-picking.

If you had trouble understanding that this was a question then let me
clear it up for you. It was.

Albert


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

On Mon, Jan 31, 2011 at 10:01 AM, Laine, Rogers <rlaine@xxxxxxxxxxxxxxx> wrote:
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 thread ...

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.