ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Error in MQPUT with MQMDE

Post new topic  Reply to topic
 Error in MQPUT with MQMDE « View previous topic :: View next topic » 
Author Message
AGS
PostPosted: Wed Feb 23, 2005 1:00 am    Post subject: Error in MQPUT with MQMDE Reply with quote

Newbie

Joined: 11 Jan 2005
Posts: 4

Hi, i`m trying do a MQPUT with MQMDE and it fails, the error is 2248.
I use this parameters:
MQMD fields:
Version:MDMQ_VERSION_1
CodedCharasetId : MQCCSI_Q_MGR
Format : MQFMT_MD_EXTENSION
Persistence : MQPER_PERSISTENT
ApplIdentiryData : aplicacion
MsgId and CorrelId:1
MQMDE fields:
Format : MQFMT_STRING
Group : 1
MsgSecNumber: 1
MsgFlags: MQMF_LAST_IN_GROUP (ultimo mensaje del grupo)

Anybody can help me.Thanks
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Wed Feb 23, 2005 5:33 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Quote:
Reason Code 2248 x'8C8'
MQRC_MDE_ERROR


* The Version field is less than MQMDE_VERSION_2.


You have

Quote:
MQMD fields:
Version:MDMQ_VERSION_1


Where are you setting the MQMDE version?
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Feb 23, 2005 10:17 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
MsgSecNumber: 1
MsgFlags: MQMF_LAST_IN_GROUP (ultimo mensaje del grupo)

Why do you need an MDE. You are writing a Group that consists of 1 message.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
AGS
PostPosted: Thu Feb 24, 2005 3:00 am    Post subject: Reply with quote

Newbie

Joined: 11 Jan 2005
Posts: 4

Hi,
i use an unique message like a test, really i don´t know how many message i put.

I put version-2 in MQMDE
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Feb 24, 2005 7:55 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
An MQPUT or MQPUT1 call was issued, but the message data contains an MQMDE structure that is not valid. Possible errors include the following:

The StrucId field is not MQMDE_STRUC_ID.
The Version field is not MQMDE_VERSION_2.
The StrucLength field is not MQMDE_LENGTH_2.
The CodedCharSetId field is zero, or a negative value that is not valid.
The BufferLength parameter of the call has a value that is too small to accommodate the structure (the structure extends beyond the end of the message).

Perhaps the default for one of the fields is not valid. Try setting some of the other fields in the structure as well.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
kirani
PostPosted: Sat Feb 26, 2005 4:09 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

What is your MQ version and on which platform?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
AGS
PostPosted: Thu Mar 03, 2005 5:18 am    Post subject: Reply with quote

Newbie

Joined: 11 Jan 2005
Posts: 4

Hi,
i saw the errors on the manual and and review the default values in all fields and StructId was STRING, version is 2, StructLength was MQMDE_LENGTH_2, CodedCharSetId was MQCCSI-Q-MGR and Buffer Length was 150. We test with all values.

We work with an iSeries and Mq v5.2.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Error in MQPUT with MQMDE
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.