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 » Validate option in CREATE statement

Post new topic  Reply to topic
 Validate option in CREATE statement « View previous topic :: View next topic » 
Author Message
deeps1281
PostPosted: Wed Mar 08, 2006 11:28 pm    Post subject: Validate option in CREATE statement Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Thu Mar 09, 2006 1:21 am    Post subject: Reply with quote

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
Quote:
'MsgSetFormat


Work on the lines of the above.

Regards.
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 » Validate option in CREATE statement
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.