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 » Message Set doubt

Post new topic  Reply to topic
 Message Set doubt « View previous topic :: View next topic » 
Author Message
geethgubi
PostPosted: Thu Aug 13, 2009 5:16 am    Post subject: Message Set doubt Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 44

I am very new to Message set. I was going thro' One of the codes to better understand it. I came across the below lines. The input to the message flow is BLOB and hence they are casting that BLOB to MRM inside the code. My questions are
1. The parameters passed to the BITOR doesnot contain any value in the code. SO what does it represent?
2. what does the PARSE function do here.

DECLARE parseOptions INTEGER BITOR(ValidateValue, ValidateContent,ValidateException, ValidateComplete, ValidateFullConstraints);
CREATE LASTCHILD OF Environment.Variables DOMAIN 'MRM' PARSE(InputRoot.BLOB.BLOB OPTIONS parseOptions SET 'MS_Chargeback_Consumer' TYPE 'CDNTFE' FORMAT 'TDS1');
Back to top
View user's profile Send private message
stallin
PostPosted: Thu Aug 13, 2009 7:05 am    Post subject: Reply with quote

Novice

Joined: 11 Jan 2009
Posts: 21

1. The parameters passed to BITOR are choices we select for parsing from the master list.

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.etools.mft.fp8.doc/ak04950_.htm

BITOR will return an integer taking all these options as input.

2. Input message is BLOB, you are creating a MRM message with the specified Message Set and Type and storing it in the Environment.Variables tree.

Thanks,
Stallin Vinoth
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Aug 13, 2009 11:32 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
1. The parameters passed to the BITOR doesnot contain any value in the code. SO what does it represent?

So you were expecting to see
Code:
DECLARE ValidateValue INT 0x04000000;
DECLARE ValidateContent INT 0x04000000;
...

ESQL defines some global, predefined constants ( most languages do ). These constants are examples of that.
Quote:
2. what does the PARSE function do here
It parses a BLOB and produces a message tree. See the online documentation for the details.
Back to top
View user's profile Send private message
geethgubi
PostPosted: Thu Aug 13, 2009 11:47 am    Post subject: Reply with quote

Apprentice

Joined: 18 Dec 2008
Posts: 44

Hi Stallin and Kimberly, Thanks for your replies. I understood the concept very well. Thanks.

Regards,
Geetha.
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 » Message Set doubt
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.