|
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 prefer? "Ulrich, Kent" <Kent.Ulrich@xxxxxxxxxxxxxxx> schrieb im Newsbeitrag news:3C334ACE3F6FEA4987F48F13ADD8D7AE0248DE1B@xxxxxxxxxxxxxxxxxxx You can send it to QSYSOPR. Alternately you could define a message queue for 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 for program exceptions etc. which is connected to a designated person. Kent _______________________________________________ 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.
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.