|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Set doubt |
« View previous topic :: View next topic » |
Author |
Message
|
geethgubi |
Posted: Thu Aug 13, 2009 5:16 am Post subject: Message Set doubt |
|
|
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 |
|
 |
stallin |
Posted: Thu Aug 13, 2009 7:05 am Post subject: |
|
|
Novice
Joined: 11 Jan 2009 Posts: 21
|
|
Back to top |
|
 |
kimbert |
Posted: Thu Aug 13, 2009 11:32 am Post subject: |
|
|
 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 |
|
 |
geethgubi |
Posted: Thu Aug 13, 2009 11:47 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|