For reports generated by WebSphere MQ

 

If you segment your messages or allow the queue manager to do so, there is only one case in which we can expect to receive a single report for the entire message. This is when you have requested only COD reports, and you have specified MQGMO_COMPLETE_MSG on the getting application.

In other cases your application must be prepared to deal with several reports; usually one for each segment.

If you segment your messages, and we need only the first 100 bytes of the original message data to be returned, change the setting of the report options to ask for reports with no data for segments that have an offset of 100 or more. If you do not do this, and you leave the setting so that each segment requests 100 bytes of data, and you retrieve the report messages with a single MQGET specifying MQGMO_COMPLETE_MSG, the reports assemble into a large message containing 100 bytes of read data at each appropriate offset. If this happens, we need a large buffer or you need to specify MQGMO_ACCEPT_TRUNCATED_MSG.

 

Parent topic:

Reports and segmented messages


fg10660_