Posted: Sun Sep 12, 2010 4:42 am Post subject: RM Description Not Found
Voyager
Joined: 20 Nov 2001 Posts: 98 Location: Hong Kong
bar including mset and flow, but find the following issue. pls advise
CREATE COMPUTE MODULE PUB_SUB_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
CAll CopyMessageHeaders();
SET OutputRoot.MQRFH2.mcd.Msd = 'MRM';
SET OutputRoot.MQRFH2.mcd.Type = 'msg_tagFss';
SET OutputRoot.MQRFH2.mcd.Set = 'O3JGN3G002001';
SET OutputRoot.MQRFH2.mcd.Fmt = 'CWF1';
SET OutputRoot.MQRFH2.PSC.Command = 'Publish';
SET OutputRoot.MQRFH2.psc.PubOpt = 'Local';
SET OutputRoot.MQRFH2.psc.Topic = 'FlightCargo';
SET OutputRoot = InputRoot;
-- RETURN TRUE;
IF (OutputRoot.msg_tagFss.Type = 'F') THEN <--- can not find RM
RETURN TRUE;
END IF;
END;
CREATE PROCEDURE CopyMessageHeaders() BEGIN
DECLARE I INTEGER 1;
DECLARE J INTEGER;
SET J = CARDINALITY(InputRoot.*[]);
WHILE I < J DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I = I + 1;
END WHILE;
END;
CREATE PROCEDURE CopyEntireMessage() BEGIN
SET OutputRoot = InputRoot;
END;
END MODULE;
Your ESQL is wrong on oh so many levels, I suggest you need to get training.
On the other hand RM description not found suggests that you don't have the message set deployed to the execution group that is supposed to do the parsing.
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