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


The objective is not to reply to the message, but to identify the message that the reply belongs to. The *INQ and *RPY messages have different message keys and I can't seem to locate the *INQ key embedded in the *RPG message.


At 9/11/05 10:19 AM, you wrote:
Use the msgkey (message key) to send a reply to the message. Doesn't matter
where it is on the system, once you have the key, you can reply to it

-Bob Cozzi
RPG xTools - Enjoy programming again.

-----Original Message-----
From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx] On
Behalf Of M. Lazarus
Sent: Saturday, September 10, 2005 8:54 PM
To: MI Programming on the AS400 / iSeries
Subject: [MI400] Reply msg linkage info

  Once I have retrieved a *RPY (any variety) message, is there a way to
directly link to its corresponding the *INQ message?  How does IBM do it
when viewing a *MSGQ's messages?

  If this info is available, I would appreciate some sample code.  If
possible, RPG using the appropriate MI built-ins, since this info does not
seem to be available via traditional means.  TIA.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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