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 » WebSphere Message Broker (ACE) Support » Reseting ReplyToQ Field in MQMD Header

Post new topic  Reply to topic
 Reseting ReplyToQ Field in MQMD Header « View previous topic :: View next topic » 
Author Message
MQMD
PostPosted: Thu May 03, 2007 9:26 am    Post subject: Reseting ReplyToQ Field in MQMD Header Reply with quote

Apprentice

Joined: 03 May 2007
Posts: 45

I am trying to reset ReplytoQ field in MQMD header as below
SET OutputRoot.MQMD.ReplyToQ = THE ( ITEM SELECT T.ServiceResQ FROM Database.{Source1}.{Schema1}.{Table1} AS T WHERE T.Service = 'SERVICENAME');

This is deleting the ReplyToQ field from MQMD header.As shown in Trace snippet
(0x03000000):MsgId = X'414d51204449414d4f4e445f4d475220c85238462001e302'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 0
(0x03000000):ReplyToQMgr = 'APPLICATION_MGR '
(0x03000000):UserIdentifier = '202546 '
(0x03000000):AccountingToken = X'16010515000000703c229ac8d01ec317cd09e4d272000000000000000000000b'

Also It is corrupting the MQMD header as shown in exception 'Failed to put message'.

Please suggest the corrective action.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu May 03, 2007 9:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What happens if your SELECT returns NULL?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MQMD
PostPosted: Thu May 03, 2007 9:32 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2007
Posts: 45

Thanks jeff. Would check the cardinality.Is there any other thing possible.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu May 03, 2007 9:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Many other things are possible. What's likely, I can't say.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MQMD
PostPosted: Thu May 03, 2007 9:46 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2007
Posts: 45

Thanks Jeff . that was the problem .It's resolved.
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 » WebSphere Message Broker (ACE) Support » Reseting ReplyToQ Field in MQMD Header
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.