Posted: Wed Dec 30, 2009 1:50 pm Post subject: store message in row variable
Apprentice
Joined: 03 Aug 2009 Posts: 47
how can i store the incoming message in the shared row variable
I tried the following but it doesn't work
Code:
DECLARE Message SHARED ROW;
CREATE COMPUTE MODULE Summaryservice_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
CALL CopyEntireMessage();
SET Message.data[] =
(
SELECT S FROM InputRoot.XMLNSC as S
);
RETURN TRUE;
END;
Quote:
i receive the error saying: Illegal data type for target. A non-list field reference is required.
i have followed the message route sample example which explains about assigning the data from the databasebut here i want to store the incoming message into the shared row variable
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