Your solution works up to the last part.  I think you may want to call
QUSPTRUS at the end to retrieve a pointer to the user space and pass that
resolved pointer to the MQ API.

If you were more comfortable with pointers, you could retrieve the pointer
at the beginning of your program and write your entire file using that
pointer (i.e. memcpy of your file data) instead of using QUSRTVUS api.  

Elvis

-----Original Message-----
 Subject: RE: Record size limitation in RPG - MQ Series

Once my entire file is in the user space, I then will user the Retrieve User
Space API to retrieve it and then call the MQ API (QMQM) to do the MQPUT.
Does this sound right?
cjg




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