Use Reference messages as stated in IBM MQ Series Application Programming Guide on page 144.
It works as MQ FTP. They have sample programs in different languages there as well.
I too wanted the same info..
I went through the whole pdf file.. in search of MQ FTP.. and in page 144.. but found nothing to help me in this area.. r u sure about the file name?
if yes, please help me, I couldn't find it..
if no, please help me there too.. I wanted the same info and I am in the look out for the past few weeks..
search for "Reference Messages" or "Handling Large Messages" in MQSeries Application Programming guide.
There are three ways of transferring large messages:
1. Increasing Maximum size of the queue or queue manager
2. Message Segmentation (Arbitrary Segmentation, Application Segmentation)
3. Reference Messages
Regards
mbhide
For transferring files the best way is Reference Messages.
hi
i'am using the mqax200.dll with vb.
how can i write Message Descriptor in vb code
in what properties or methods i shuld use to use
that Message Descriptor
thanks
Here's a sample code:
-------------------------------------------
Const CCHBUFFER = 272
Private Function Get_All()
Dim md As MQMD 'message desciptor
Dim gmo As MQGMO 'get message options
Dim buflen As Long 'length of get buffer
Dim Buffer As String * CCHBUFFER 'got message
Dim messlen As Long 'length of returned message
Dim CompCode As Long 'completion code
'setup Get Message Options to the required values
MQGMO_DEFAULTS gmo
gmptions = MQGMO_WAIT + MQGMO_ACCEPT_TRUNCATED_MSG
gmo.WaitInterval = 10000 'ten secs
'messlen = 272
'setup message descriptor to the required values
MQMD_DEFAULTS md
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.