Posted: Thu Aug 25, 2011 7:12 pm Post subject: Reset segment of a Shared Row variable possible?
Partisan
Joined: 10 Jan 2008 Posts: 333
Hi,
I am trying to update or rather reset a segment of a shared row variable. Is it possible ?
WMB 6.0.2
Code:
DECLARE propertyName CHARACTER InputRoot.HTTPInputHeader.SOAPAction;
ROUTING : BEGIN ATOMIC -- beginning of atomic block. Processing is single threaded until the END ROUTING; is reached
IF CacheDestinationRow.Valid.{propertyName} IS NULL THEN
CALL readProperty( propertyFileName, propertyName) INTO CacheDestinationRow.{propertyName}.URL;
SET CacheDestinationRow.Valid.{propertyName} = TRUE;
END IF;
END ROUTING ; -- end of the ROUTING atomic block
In a separate compute node in the same flow just as a pattern to clear the cache I have put
Code:
DECLARE propertyName CHARACTER InputRoot.XMLSC.CacheDestinationRow.Environment;
SET CacheDestinationRow.Valid.{propertyName} = NULL;
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