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 » MQRFH2, mcd properties not working-Urgent

Post new topic  Reply to topic
 MQRFH2, mcd properties not working-Urgent « View previous topic :: View next topic » 
Author Message
wmqiadmin
PostPosted: Thu Apr 05, 2007 5:43 am    Post subject: MQRFH2, mcd properties not working-Urgent Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Hi All,

I am trying to set mcd properties in esql and its not getting set.

my code:
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version = MQRFH_VERSION_2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = 546;
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = 437;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;

SET OutputRoot.MQRFH2.mcd.Msd = 'mrm';
SET OutputRoot.MQRFH2.mcd.Set = 'MessageSet';
SET OutputRoot.MQRFH2.mcd.Fmt = 'CWF1';
SET OutputRoot.MQRFH2.mcd.Type = 'Message';

Broker initilize the values but when message passes the compute node it doens't store the values, it gets wiped off. Can any buddy please help me, how to store the values in the mcd folder and pass them through the message flow to the output node.

Thanks
wmqiadmin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 05, 2007 5:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Set them in Properties instead of the MQRFH2 directly.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wmqiadmin
PostPosted: Thu Apr 05, 2007 6:23 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

jefflowrey wrote:
Set them in Properties instead of the MQRFH2 directly.


Thanks Jeff its working now, but one little problem:

Broker is overwriting the message domain to xmlns, because the output message is xmlns and i want to keep it as MRM.

Because my next flow uses the MRM message domain, so how can i keep it to MRM?

thanks
wmqiadmin


Last edited by wmqiadmin on Thu Apr 05, 2007 6:34 am; edited 1 time in total
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 05, 2007 6:33 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Maybe you should set it "MRM" instead of "mrm".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wmqiadmin
PostPosted: Thu Apr 05, 2007 6:37 am    Post subject: Reply with quote

Disciple

Joined: 19 Jun 2005
Posts: 163
Location: epping UK

Reposting it, guess you missed these changes

Thanks Jeff its working now, but one little problem:

Broker is overwriting the message domain to xmlns, because the output message is xmlns and i want to keep it as MRM.

Because my next flow uses the MRM message domain, so how can i keep it to MRM?

thanks
wmqiadmin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 05, 2007 6:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I suspect you're putting in a complicated solution for something that's a lot simpler than you think it is.

Are you trying to use one flow to force another flow to parse a message in a certain way? I'm not sure that's a great idea.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Apr 05, 2007 1:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

wmqiadmin wrote:
Reposting it, guess you missed these changes

Thanks Jeff its working now, but one little problem:

Broker is overwriting the message domain to xmlns, because the output message is xmlns and i want to keep it as MRM.

Because my next flow uses the MRM message domain, so how can i keep it to MRM?

thanks
wmqiadmin

Use an RCD node before posting the message and make it MRM. Specify the MRM attributes in the OutputRoot.Properties... et voila it should work...

Alternatively put an RCD at the beginning of your next flow and have it redefine the stream as MRM....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » MQRFH2, mcd properties not working-Urgent
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.