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



Bob Cozzi wrote:
> 
> Right, you need the sender data structure too.
> If you coded this, instead of hand coding it, you'll have it.
> 
> /copy qsysinc/qrpglesrc,qmhrcvpm
> 
>      D szRtnData       DS
>      D  msgInfo                            LikeDS(QMHM0300)
>      D  senderData                         LikeDS(QMHRS)
>      D  szExtraData                 500A
> 

I don't think that will work.  QMHM0300 doesn't include the sections
that precede the sender data, so the senderData subfield would be in the
wrong position in the szRtnData structure.  I think the only way to do
this reliably is to use the way that Scott suggested, to define the
sender data as a separate based structure, and set the basing pointer
using the "Length" fields in the msgInfo part of the structure.


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.