|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Validate option in CREATE statement |
« View previous topic :: View next topic » |
Author |
Message
|
deeps1281 |
Posted: Wed Mar 08, 2006 11:28 pm Post subject: Validate option in CREATE statement |
|
|
Apprentice
Joined: 31 Aug 2005 Posts: 29
|
Hi
I need to validate the message i am sending in my compute node against a defined message set.
When i try and use the validate options it gives me a syntax error when ever i try and add the 7th argument for the validation clause.
CREATE LASTCHILD OF ref_InputDOMAIN 'MRM' PARSE (blb_InputBLOB, int_Encoding, int_CCSId,MessageSetID, MsgSetType, 'MsgSetFormat,BITOR( ValidateValue, ValidateContent, ValidateException, ValidateComplete, ValidateFullConstraints ));
).
PLease let me know what the problem is and how to use the validation clause.
Thanks |
|
Back to top |
|
 |
elvis_gn |
Posted: Thu Mar 09, 2006 1:21 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi deeps1281,
Please look at the ESQL pdf, search for PARSE, there is some sample code which will help.
Code: |
-- Set the options to be used by ASBITSTREAM and CREATE ... PARSE
-- to be FolderBitStream and enable validation
DECLARE parseOptions INTEGER BITOR(FolderBitStream, ValidateContent, ValidateValue, ValidateLocalError);
CREATE LASTCHILD OF OutputRoot.MRM.elem1 PARSE ( subBitStream OPTIONS parseOptions SET ’DocSample’ TYPE ’message/elem1/elem12’ FORMAT ’XML1’); |
Once I pasted your code in the editor, there was a atring error at
Work on the lines of the above.
Regards. |
|
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
|
|
|
|