hi Dennis,

When a user replies to an *INQ message, the reply is a whole new message of type *RPY.

The flaw in your code is that you are receiving the same message you sent. You aren't looking for a new message of type *RPY...

If it helps, I wrote a tip about this back in 2004
http://systeminetwork.com/node/60943



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.



Thanks.



Dennis E. Lovelady
AIM/Skype: delovelady MSN: fastcounter@xxxxxxxxxxxx
<http://www.linkedin.com/in/dennislovelady>
www.linkedin.com/in/dennislovelady --
"No one is useless in this world who lightens the burdens of another."
- Charles Dickens





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.