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 » reset content descriptor

Post new topic  Reply to topic
 reset content descriptor « View previous topic :: View next topic » 
Author Message
mahek
PostPosted: Fri Nov 17, 2006 11:28 am    Post subject: reset content descriptor Reply with quote

Voyager

Joined: 10 Sep 2004
Posts: 87

Hi all,
i just want to know can we write esql code to modify the message type and format. i am using the following code to achive it

SET OutputRoot.Properties.MessageDomain = 'MRM';
SET OutputRoot.Properties.MessageSet = 'BCOE_COOL_COBOL_MsgSet (LRA9LAS002001)';
SET OutputRoot.Properties.MessageType='msg_CODEMBCCUSTOMER';
SET OutputRoot.Properties.MessageFormat = 'CWF51';

i doing the same using the rcd node and it works i want to know can we achive this by writing the esql.

Thanks in advance
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 17, 2006 11:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What happens when you run the code?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mahek
PostPosted: Fri Nov 17, 2006 11:39 am    Post subject: Reply with quote

Voyager

Joined: 10 Sep 2004
Posts: 87

hi jeff, i am getting the following error

Message Set Name : 'BCOE_COOL_COBOL_MsgSet'
Message Set Level : '1'
Message Format : 'CWF51'
Message Type Path : 'msg_GENERIC_CODEM_MESSAGE'
Review further error messages for an indication to the cause of the errors.
2006-11-17 10:27:09.515909 3516 ParserException BIP5171E: Custom Wire Format parsing error
An error occurred while parsing a Custom Wire Format message.
Current message : 'msg_GENERIC_CODEM_MESSAGE'
Current element : 'msg_GENERIC_CODEM_MESSAGE'
Path from message root : ''
Offset from start of message : 293



The message type is not being changed it is still comming as msg_GENERIC_CODEM_MESSAGE where i wanted msg_CODEMBCCUSTOMER
Back to top
View user's profile Send private message
jbanoop
PostPosted: Fri Nov 17, 2006 9:39 pm    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

give only the message set number LRA9LAS002001 and try.
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » reset content descriptor
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.