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



Right you are, Vern! Thanks!

It's a shame that's not controllable. The real version of the program has a
procedure for the send and a different procedure for the receive. Since I'm
not aware of a good way to receive messages off of a *PGMQ in another
procedure -- especially for a procedure that's no longer active -- I was
forced to make a new "sendReceveInquiry" procedure. But that's done the
trick.

Thanks again!

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"A hospital is no place to be sick."
-- movie mogul Sam Goldwyn


You specifed *EXT on QMHRCVPM for the message queue - the documentation
seems to say that the reply is on the reply message queue, as well as
the copy of the inquiry message. The reply message queue, it says, is
"always the sending call stack entry's call message queue".

HTH
Vern

On 7/13/2010 2:47 PM, Dennis Lovelady wrote:
Hi, Folks:



I'm trying to send a message to a program's *EXT queue for user
response,
and then process the response. But QMHRCVPM is not picking up the
response.
(I get CPF2410 (Msg key not found in message queue.)). I'm pretty
sure I've
done everything by the book - using the msg key generated by QMHSNDPM
as
parm to QMHRCVPM, et cetera - but the issue eludes me. I have posted
minimal code to recreate at http://code.midrange.com/71e3be69e2.html
and I'd
appreciate assistance!



Note: "By the book" in this case means: according to the "Inquiry
Messages"
discussion in the QMHSNDPM reference at

http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?infor/apis/
QMHSN
DPM.htm. I compared against V5R3 (current version here) and don't
detect
any differences.



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.