Re: Reply msg linkage info

"M. Lazarus" <[email protected]>
Newsgroups gmane.comp.lang.as400.mi
Message-ID <[email protected]>
Simon,

>You can link from the *INQ to the *RPY in CL using RCVMSG commands 
>therefore it can also be done using the APIs from RPG or other HLL.
>
>I suggest you change your process to look for the *RPY when you find an 
>*INQ message instead of attempting the reverse.

  Hmm.  Unfortunately, this is very clumsy, since a *RPY can be received 
much later in time.  So if I have an automated "message gatherer" utility 
and encounter a *RPY, it's effectively an orphan until I go back to 
retrieve ALL the *INQ msgs trying to match it up!

  But thanks for the research into the object structure.  It will help 
avoid going down some wrong paths.

  -mark 

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.