Posted: Thu Jun 25, 2009 12:32 am Post subject: PARSE with VALIDATION not creating exception
Partisan
Joined: 09 Aug 2001 Posts: 332
Windows platform, MB V6.1.0.3
I've seen some messages searching the forum...but can't find a solution for my problem.
When I put a VALIDATE node in a flow it fails with a parse error, but when I use ESQL with similar settings it does not fail.
VALIDATE node settings:
Validate : Content and Value
Failure Action : Exception
Compute node ESQL:
Code:
DECLARE options INTEGER BITOR(ValidateContentAndValue, ValidateException);
CREATE LASTCHILD OF OutputRoot DOMAIN 'MRM' PARSE(InputRoot.BLOB.BLOB
ENCODING InputRoot.Properties.Encoding
CCSID InputRoot.Properties.CodedCharSetId
SET 'GTH9JVC002001'
TYPE 'FlightData'
FORMAT 'XML1'
OPTIONS options);
Is the above ESQL similar to Validate node settings? _________________ If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.
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