Hi!,
our application is running with MQ 5.3 Client on Windows and MQ 5.3 Server
on Z/OS (it was install a couple days ago).
We've this two errors:
        1. When we're putting in group we get 2026 MQRC_MD_ERROR.
        2. When we're getting in group we get 2256 MQRC_WRONG_GMO_VERSION.
We prefered work with this error after the first one get fix.

We know that segmentations isn't supported on MQ 5.3 for Z/OS. Also, we
found in
http://middleware.its.state.nc.us/middleware/Documentation/en_US/htm/csqzaw09/csqzaw091u.htm
 this:

MQMD fields
The following MQMD fields are largely concerned with message segmentation:
GroupId
MsgSeqNumber
Offset
MsgFlags
OriginalLength

If an application sets any of these MQMD fields to values other than their
defaults, and then does a put() or get() on a queue manager which does not
support these, the put() or get() will raise an MQException with
MQRC_MD_ERROR. A successful put() or get() with such a queue manager will
always leave the MQMD fields set to their default values. A grouped or
segmented message should not normally be sent to a Java application that
runs against a queue manager that does not support message grouping and
segmentation.
If a Java application attempts to get() a message from a queue manager
which does not support these fields, and the physical message to be
retrieved is part of a group of segmented message (that is, it has
non-default values for the MQMD fields), it is retrieved without error.
However, the MQMD fields in the MQMessage are not updated, the MQMessage
format property is set to MQFMT_MD_EXTENSION, and the true message data is
prefixed with an MQMDE structure that contains the values for the new
fields.

if the default value of MsgFlags is MQMF_NONE, I'm wondering if we assing
MQMF_MSG_IN_GROUP and/or  MQMF_LAST_MSG_IN_GROUP, those aren't the default
values, is that the error?, however, I didn't find some documentation about
programming grouping for Z/OS or neither grouping is supported or not(all
the symptoms looks like it is not supported).
We know MQ for Windows, AIX and Linux support segmentation and grouping, in
those OSs, we ran our program succesfully (using a MQ client  connected to
a MQ Server).

Thanks and regards,

Luis Garro Muñoz
Technical Support Services
GBM de Costa Rica
e-mail: [EMAIL PROTECTED]
Tel:       2843999 ext 6216

Attachment: JAVA Grouping.zip
Description: Zip archive

Reply via email to