MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » May 1999

Re: MONMSG question



fixed

At 08:50 05/18/1999 , Gerald Magnuson wrote:
>I have this monmsg command at the top of my CL program:
>MONMSG  MSGID(CPA0000 CPF0000 CPF9999)
>
>I thought that this ment to trap messages CPA0000-CPA9999, and
>CPF0000-CPF9999.

Actually, this will monitor for any escape message beginning with CPA or
CPF. CPA9999 doesn't do anything, since you've already monitored for all
CPA messages.

>
>The program performs several SAVLIB's to save files.   One save file was not
>empty.
>message CPA4067 was issued (save file already contains data(C G)). The
>default reply is C.
>However, the CL program just hung, waiting for a response.
>
>Does the "Generic monitor" (use zeros to trap inclusive numbers) only work
>with CPF messages?

CPA4067 would be an inquiry message.  You can use the system reply list or
a message queue monitor program to respond to inquiry messages, but MONMSG
will not help you.


Pete Hall
pbhall@execpc.com
http://www.execpc.com/~pbhall
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact