Of course, you are use the SNDRPY command to reply to the message ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Send Reply (SNDRPY) command sends a reply message to the sender of an
inquiry message.  The message that is answered is the one having the
specified message reference key that was received at the specified message
queue.  If the specified message queue is not allocated to the job in
which this command is entered or to any other job, it is implicitly
allocated by this command for the duration of the command.

Note:  To see the parameter and value descriptions for this command, refer
       to the online help text.  For more information about printing the
       help text, refer to "Printing CL Command Descriptions" in Chapter
       1.


Example

  SNDRPY   MSGKEY(&KEY)  MSGQ(SMITH)  RPY(YES)

This command sends a reply of YES to the message whose reference key is
specified by &KEY, which was received at message queue SMITH.  Because the
reply contains only one word, the reply does not have to be enclosed in
apostrophes.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Inquiry message are fussy about this ...

Richard Jackson
mailto:richardjackson@richardjackson.net
www.richardjacksonltd.com
Voice: 1 (303) 808-8058
Fax:   1 (303) 663-4325

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of Bull, Jeff
Sent: Friday, August 18, 2000 4:55 AM
To: 'MIDRANGE-L@midrange.com'
Cc: 'midrangel@black-and-blue.com'
Subject: RE: MessageQ Break-Handling Programs


Hi Brendan,
        yes, sev filter is '00';
        yes, I have specified RMV(*YES) in the bh-pgm - but the message
remains in the queue waiting to be answered, and smiling at me.
        I'm pretty sure that the bh-pgm is not being invoked.

Jeff B

-----Original Message-----
From: Brendan Bispham [mailto:midrangel@black-and-blue.com]
Sent: Friday, August 18, 2000 11:03 AM
To: MIDRANGE-L@midrange.com
Subject: RE: MessageQ Break-Handling Programs



> If the backup message queue (as specified on the tape devd) would
> only invoke the break handling program when the message arrives,
> and it does
> arrive, and the message severity code level is '00', I would have this
> problem cracked.

I think I can assume you mean the msgq severity 'filter' is 00

> I am beginning to
> wonder if a message queue attached to a varied-on device is able
> to invoke a
> break-handling program, though I don't see why not.
>

It can do, theres no difference.

You obviously know what you are doing, so I would suggest that the program
is being invoked but its not doing what you want... are you sure it's not
just ignoring the message. Are you doing something like rcvmsg rmv(*yes)?


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

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

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.