Posted: Sun Apr 04, 2004 11:05 pm Post subject: help needed urgently
Apprentice
Joined: 24 Mar 2004 Posts: 35 Location: singapore
Hi,
This is the XML file which is being generated from SAP into the Q when retrievng the data From SAP using SAP Adapter.Now iam trying to pass this data to the DB2 and inser it.In themessage flo0w which i have created for the insertion into DB2 in the I/P node i have given the Qwhich i got the data from SAP as Input Q.But iam unable to get the message flow processed after the Comput node.Iam getting Empty file into Input Q
Can anyone give me an solution.Iam sending the XML file. and also the Compute node esql code which i have written to insert the XML file into the DB2.
CREATE COMPUTE MODULE cardinalityfun_Compute
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
DECLARE I INTEGER 1;
Declare count integer ;
DECLARE J INTEGER CARDINALITY(InputRoot.*[]);
WHILE I < J DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I = I + 1;
END WHILE;
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