Specify *PGMQ for the reply message queue.  Then use the QMHRCVM API using the
message key returned from QMHSNDM to get the reply message.
In looking at the documentation for QMHSNDM, you should be able to specify
*SYSOPR for the message queue.

-----Original Message-----
From: Titus Kruse [mailto:t_kruse@xxxxxxxxx]
Sent: Wednesday, January 19, 2005 9:11 AM
To: C400-L@xxxxxxxxxxxx
Subject: [C400-L] Re: Sending inquiry message in batch job

Ok, let me ask a last question: When I send an inquiry  message to QSYSOPR,
a reply message queue must also be specified. Which message queue would you

"Ulrich, Kent" <Kent.Ulrich@xxxxxxxxxxxxxxx> schrieb
im Newsbeitrag
You can send it to QSYSOPR.  Alternately you could define a message queue
certain messages and use it.  I have a data area that I use which contains a
set of message queue names for specific uses.  For example, a message queue
program exceptions etc. which is connected to a designated person.


This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].