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 » Issue in overriding MQMD MSgId with string values

Post new topic  Reply to topic
 Issue in overriding MQMD MSgId with string values « View previous topic :: View next topic » 
Author Message
Yam
PostPosted: Wed Mar 09, 2016 11:13 pm    Post subject: Issue in overriding MQMD MSgId with string values Reply with quote

Newbie

Joined: 09 Mar 2016
Posts: 1

I am facing while trying to override MQMD correlation id with string value
My flow is lik MQInput->Compute->MQOutput

When message reached MQOuput node I am facing the below exception:
Text:CHARACTER:Exception whilst writing field named
Insert
Type:INTEGER:5
Text:CHARACTER:MQMD
Insert
Type:INTEGER:5
Text:CHARACTER:MsgId
Insert
Type:INTEGER:5
Text:CHARACTER:abc
RecoverableException
File:CHARACTER:F:\build\S1000_slot1\S1000_P\src\CommonServices\ImbValue.cpp
Line:INTEGER:978
Function:CHARACTER:ImbValue::typeError
Text:CHARACTER:Wrong type exception
Text:CHARACTER:BLOB
SUGGESTIONS PLZ
Back to top
View user's profile Send private message
Esa
PostPosted: Thu Mar 10, 2016 12:39 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Correlation id is a binary field, you should not try to overwrite with a string value.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 10, 2016 5:11 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

Esa wrote:
Correlation id is a binary field, you should not try to overwrite with a string value.

Refer to the MQ Application Development doc for MQMD fields MsgId, CorrelId, GroupId. These are BYTE fields - and not character fields.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » Issue in overriding MQMD MSgId with string values
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.