|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  Problem regarding the transformation | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | satyasheel | 
		  
		    
			  
				 Posted: Thu Apr 01, 2004 8:44 pm    Post subject: Problem regarding the transformation | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 03 Jul 2002 Posts: 4 Location: Pune, India 
  | 
		  
		    
			  
				Problem:
 
 
I am trying to convert a simple MRM [TDS] messages to XML in WBIMB V5.
 
I have developed the message set Customer and it is working fine.
 
 
In the Compute Node, I have written the code:
 
 
CREATE COMPUTE MODULE CustomerMessageFlow_Compute
 
	CREATE FUNCTION Main() RETURNS BOOLEAN
 
	BEGIN
 
	CALL CopyMessageHeaders(); 
 
		
 
	SET OutputRoot.Properties.MessageDomain = 'XML'; 
 
 
                 SET OutputRoot.XML.Product.Title = InputRoot.m_Customer.e_Name.e_Title ;
 
 
	RETURN TRUE; 
 
	END; 
 
	
 
	CREATE PROCEDURE CopyMessageHeaders()
 
	BEGIN
 
		DECLARE I INTEGER 1; 
 
		DECLARE J INTEGER CARDINALITY(InputRoot.*[]); 
 
		
 
		WHILE(I<J) DO
 
		SET OutputRoot.*[I] = InputRoot.*[I];
 
		SET I = I + 1;
 
	END WHILE; 
 
	END;
 
END MODULE;
 
 
where m_Customer is the name of the message type.
 
 
When I put the test message, I am getting the empty output tag. Trace Log shows that:
 
Timestamps are formatted in local time, 330 minutes past GMT.
 
 
2004-04-01 17:50:36.269001     3312   UserTrace   BIP2632I: Message received and propagated to 'out' terminal of MQ input node 'CustomerMessageFlow.MQInput'. 
 
2004-04-01 17:50:36.269001     3312   UserTrace   BIP6060I: Parser type 'Properties' created on behalf of node '{3}' to handle portion of incoming message of length 0 bytes beginning at offset '0'. 
 
2004-04-01 17:50:36.269001     3312   UserTrace   BIP6061I: Parser type 'MQMD' created on behalf of node '{4}' to handle portion of incoming message of length '364' bytes beginning at offset '0'. Parser type selected based on value 'MQHMD' from previous parser. 
 
2004-04-01 17:50:36.269001     3312   UserTrace   BIP6061I: Parser type 'MRM' created on behalf of node '{4}' to handle portion of incoming message of length '98' bytes beginning at offset '364'. Parser type selected based on value 'MRM' from previous parser. 
 
2004-04-01 17:50:36.269001     3312   UserTrace   BIP4124I: Message propagated to 'out' terminal of compute node 'CustomerMessageFlow.Compute'. 
 
2004-04-01 17:50:36.269001     3312   UserTrace   BIP2638I: The MQ output node 'CustomerMessageFlow.MQOutput2' attempted to write a message to queue 'Output' connected to queue manager 'MQSIV'. The MQCC was '0' and the MQRC was '0'. 
 
2004-04-01 17:50:36.298999     3312   UserTrace   BIP2622I: Message successfully output by output node 'CustomerMessageFlow.MQOutput2' to queue 'Output' on queue manager 'MQSIV'. 
 
2004-04-01 17:51:24.177999     3312   UserTrace   BIP2632I: Message received and propagated to 'out' terminal of MQ input node 'CustomerMessageFlow.MQInput'. 
 
2004-04-01 17:51:24.177999     3312   UserTrace   BIP6060I: Parser type 'Properties' created on behalf of node '{3}' to handle portion of incoming message of length 0 bytes beginning at offset '0'. 
 
2004-04-01 17:51:24.177999     3312   UserTrace   BIP6061I: Parser type 'MQMD' created on behalf of node '{4}' to handle portion of incoming message of length '364' bytes beginning at offset '0'. Parser type selected based on value 'MQHMD' from previous parser. 
 
2004-04-01 17:51:24.177999     3312   UserTrace   BIP6061I: Parser type 'MRM' created on behalf of node '{4}' to handle portion of incoming message of length '98' bytes beginning at offset '364'. Parser type selected based on value 'MRM' from previous parser. 
 
2004-04-01 17:51:24.197999     3312   UserTrace   BIP2537I: Node '{3}': Executing statement '{2}' at (BEGIN ... END;, {1}). 
 
2004-04-01 17:51:24.208000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'CALL CopyMessageHeaders();' at (.CustomerMessageFlow_Compute.Main, 3.2). 
 
2004-04-01 17:51:24.208000     3312   UserTrace   BIP2537I: Node '{3}': Executing statement '{2}' at (BEGIN ... END;, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'DECLARE I INTEGER 1;' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 3.3). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'DECLARE J INTEGER CARDINALITY(InputRoot.*:*[ ]);' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 4.3). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (CARDINALITY(InputRoot.*:*[ ]), {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2540I: Node '{4}': Finished evaluating expression '{3}' at (3, CARDINALITY(InputRoot.*:*[ ])). The result was '{2}'. 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2537I: Node '{3}': Executing statement '{2}' at (WHILE I < J DO ... END WHILE;, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I < J, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (J, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (1 < 3, TRUE). This resolved to 'I < J'. The result was '{3}'. 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.*:*[I] = InputRoot.*:*[I];' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 7.3). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (InputRoot.*:*[I], {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2568I: Node '{2}': Performing tree copy of 'InputRoot.*:*[I]' to 'OutputRoot.*:*[I]'. 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET I = I + 1;' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 8.3). 
 
2004-04-01 17:51:24.218000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I + 1, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (1 + 1, 2). This resolved to 'I + 1'. The result was '{3}'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I < J, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (J, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (2 < 3, TRUE). This resolved to 'I < J'. The result was '{3}'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.*:*[I] = InputRoot.*:*[I];' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 7.3). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (InputRoot.*:*[I], {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2568I: Node '{2}': Performing tree copy of 'InputRoot.*:*[I]' to 'OutputRoot.*:*[I]'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET I = I + 1;' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 8.3). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I + 1, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (2 + 1, 3). This resolved to 'I + 1'. The result was '{3}'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I < J, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (J, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (3 < 3, FALSE). This resolved to 'I < J'. The result was '{3}'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.Properties.MessageDomain = 'XML';' at (.CustomerMessageFlow_Compute.Main, 5.3). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2566I: Node '{2}': Assigning value ''XML'' to field / variable 'OutputRoot.Properties.MessageDomain'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.Properties.MessageFormat = 'XML';' at (.CustomerMessageFlow_Compute.Main, 6.3). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2566I: Node '{2}': Assigning value ''XML'' to field / variable 'OutputRoot.Properties.MessageFormat'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.XML.Detail.Title = InputRoot.MRM.m_Customer.e_Name.e_Title;' at (.CustomerMessageFlow_Compute.Main, 8.3). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (InputRoot.MRM.m_Customer.e_Name.e_Title, {1}). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2543E: Node '{2}': ({0}, {1}) : Failed to navigate to path element because it does not exist. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2567I: Node '{1}': Assigning NULL to 'OutputRoot.XML.Detail.Title', thus deleting it. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'RETURN TRUE;' at (.CustomerMessageFlow_Compute.Main, 11.3). 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP4124I: Message propagated to 'out' terminal of compute node 'CustomerMessageFlow.Compute'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2638I: The MQ output node 'CustomerMessageFlow.MQOutput2' attempted to write a message to queue 'Output' connected to queue manager 'MQSIV'. The MQCC was '0' and the MQRC was '0'. 
 
2004-04-01 17:51:24.228000     3312   UserTrace   BIP2622I: Message successfully output by output node 'CustomerMessageFlow.MQOutput2' to queue 'Output' on queue manager 'MQSIV'. 
 
2004-04-02 09:10:21.572000     4132   UserTrace   BIP2254I: Message flow node 'MQInput' (uuid='CustomerMessageFlow#FCMComposite_1_1') type 'ComIbmMQInputNode' in message flow 'CustomerMessageFlow' successfully created. 
 
                                       The message broker received a configuration message containing an instruction to create a message flow node in the message flow and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.611999     4132   UserTrace   BIP2254I: Message flow node 'MQOutput' (uuid='CustomerMessageFlow#FCMComposite_1_2') type 'ComIbmMQOutputNode' in message flow 'CustomerMessageFlow' successfully created. 
 
                                       The message broker received a configuration message containing an instruction to create a message flow node in the message flow and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.611999     4132   UserTrace   BIP2254I: Message flow node 'MQOutput1' (uuid='CustomerMessageFlow#FCMComposite_1_3') type 'ComIbmMQOutputNode' in message flow 'CustomerMessageFlow' successfully created. 
 
                                       The message broker received a configuration message containing an instruction to create a message flow node in the message flow and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.611999     4132   UserTrace   BIP2254I: Message flow node 'MQOutput2' (uuid='CustomerMessageFlow#FCMComposite_1_4') type 'ComIbmMQOutputNode' in message flow 'CustomerMessageFlow' successfully created. 
 
                                       The message broker received a configuration message containing an instruction to create a message flow node in the message flow and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.631999     4132   UserTrace   BIP2254I: Message flow node 'Compute' (uuid='CustomerMessageFlow#FCMComposite_1_5') type 'ComIbmComputeNode' in message flow 'CustomerMessageFlow' successfully created. 
 
                                       The message broker received a configuration message containing an instruction to create a message flow node in the message flow and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.631999     4132   UserTrace   BIP2255I: Message flow connection successfully created between node 'MQInput' (uuid='CustomerMessageFlow#FCMComposite_1_1') terminal 'failure' and node 'MQOutput' (uuid='CustomerMessageFlow#FCMComposite_1_2') terminal 'in'. 
 
                                       The message broker received a configuration message containing an instruction to create a connection between two nodes, and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.631999     4132   UserTrace   BIP2255I: Message flow connection successfully created between node 'MQInput' (uuid='CustomerMessageFlow#FCMComposite_1_1') terminal 'out' and node 'Compute' (uuid='CustomerMessageFlow#FCMComposite_1_5') terminal 'in'. 
 
                                       The message broker received a configuration message containing an instruction to create a connection between two nodes, and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.631999     4132   UserTrace   BIP2255I: Message flow connection successfully created between node 'MQInput' (uuid='CustomerMessageFlow#FCMComposite_1_1') terminal 'catch' and node 'MQOutput' (uuid='CustomerMessageFlow#FCMComposite_1_2') terminal 'in'. 
 
                                       The message broker received a configuration message containing an instruction to create a connection between two nodes, and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.631999     4132   UserTrace   BIP2255I: Message flow connection successfully created between node 'Compute' (uuid='CustomerMessageFlow#FCMComposite_1_5') terminal 'failure' and node 'MQOutput1' (uuid='CustomerMessageFlow#FCMComposite_1_3') terminal 'in'. 
 
                                       The message broker received a configuration message containing an instruction to create a connection between two nodes, and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:10:21.631999     4132   UserTrace   BIP2255I: Message flow connection successfully created between node 'Compute' (uuid='CustomerMessageFlow#FCMComposite_1_5') terminal 'out' and node 'MQOutput2' (uuid='CustomerMessageFlow#FCMComposite_1_4') terminal 'in'. 
 
                                       The message broker received a configuration message containing an instruction to create a connection between two nodes, and successfully performed this action. 
 
                                       No user action required. 
 
2004-04-02 09:12:19.912000     3312   UserTrace   BIP2632I: Message received and propagated to 'out' terminal of MQ input node 'CustomerMessageFlow.MQInput'. 
 
2004-04-02 09:12:19.922000     3312   UserTrace   BIP6060I: Parser type 'Properties' created on behalf of node '{3}' to handle portion of incoming message of length 0 bytes beginning at offset '0'. 
 
2004-04-02 09:12:19.931999     3312   UserTrace   BIP6061I: Parser type 'MQMD' created on behalf of node '{4}' to handle portion of incoming message of length '364' bytes beginning at offset '0'. Parser type selected based on value 'MQHMD' from previous parser. 
 
2004-04-02 09:12:20.142000     3312   UserTrace   BIP6061I: Parser type 'MRM' created on behalf of node '{4}' to handle portion of incoming message of length '98' bytes beginning at offset '364'. Parser type selected based on value 'MRM' from previous parser. 
 
2004-04-02 09:12:20.172000     3312   UserTrace   BIP2537I: Node '{3}': Executing statement '{2}' at (BEGIN ... END;, {1}). 
 
2004-04-02 09:12:20.191999     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'CALL CopyMessageHeaders();' at (.CustomerMessageFlow_Compute.Main, 3.2). 
 
2004-04-02 09:12:20.191999     3312   UserTrace   BIP2537I: Node '{3}': Executing statement '{2}' at (BEGIN ... END;, {1}). 
 
2004-04-02 09:12:20.211999     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'DECLARE I INTEGER 1;' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 3.3). 
 
2004-04-02 09:12:20.222000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'DECLARE J INTEGER CARDINALITY(InputRoot.*:*[ ]);' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 4.3). 
 
2004-04-02 09:12:20.222000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (CARDINALITY(InputRoot.*:*[ ]), {1}). 
 
2004-04-02 09:12:20.222000     3312   UserTrace   BIP2540I: Node '{4}': Finished evaluating expression '{3}' at (3, CARDINALITY(InputRoot.*:*[ ])). The result was '{2}'. 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2537I: Node '{3}': Executing statement '{2}' at (WHILE I < J DO ... END WHILE;, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I < J, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (J, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (1 < 3, TRUE). This resolved to 'I < J'. The result was '{3}'. 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.*:*[I] = InputRoot.*:*[I];' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 7.3). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (InputRoot.*:*[I], {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.232000     3312   UserTrace   BIP2568I: Node '{2}': Performing tree copy of 'InputRoot.*:*[I]' to 'OutputRoot.*:*[I]'. 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET I = I + 1;' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 8.3). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I + 1, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (1 + 1, 2). This resolved to 'I + 1'. The result was '{3}'. 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I < J, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (J, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (2 < 3, TRUE). This resolved to 'I < J'. The result was '{3}'. 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.*:*[I] = InputRoot.*:*[I];' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 7.3). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (InputRoot.*:*[I], {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.261999     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2568I: Node '{2}': Performing tree copy of 'InputRoot.*:*[I]' to 'OutputRoot.*:*[I]'. 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET I = I + 1;' at (.CustomerMessageFlow_Compute.CopyMessageHeaders, 8.3). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I + 1, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (2 + 1, 3). This resolved to 'I + 1'. The result was '{3}'. 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I < J, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (I, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (J, {1}). 
 
2004-04-02 09:12:20.302000     3312   UserTrace   BIP2539I: Node '{5}': Finished evaluating expression '{4}' at (3 < 3, FALSE). This resolved to 'I < J'. The result was '{3}'. 
 
2004-04-02 09:12:20.312000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.XML.Detail.Title = InputBody.e_Title;' at (.CustomerMessageFlow_Compute.Main, 7.3). 
 
2004-04-02 09:12:20.312000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at ({0}, {1}). 
 
2004-04-02 09:12:20.312000     3312   UserTrace   BIP2538I: Node '{3}': Evaluating expression '{2}' at (InputBody.e_Title, {1}). 
 
2004-04-02 09:12:20.613000     3312   UserTrace   BIP2543E: Node '{2}': ({0}, {1}) : Failed to navigate to path element because it does not exist. 
 
2004-04-02 09:12:20.613000     3312   UserTrace   BIP2567I: Node '{1}': Assigning NULL to 'OutputRoot.XML.Detail.Title', thus deleting it. 
 
2004-04-02 09:12:20.613000     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'SET OutputRoot.Properties.MessageDomain = 'XML';' at (.CustomerMessageFlow_Compute.Main, 11.3). 
 
2004-04-02 09:12:20.613000     3312   UserTrace   BIP2566I: Node '{2}': Assigning value ''XML'' to field / variable 'OutputRoot.Properties.MessageDomain'. 
 
2004-04-02 09:12:20.622999     3312   UserTrace   BIP2537I: Node 'CustomerMessageFlow.Compute': Executing statement 'RETURN TRUE;' at (.CustomerMessageFlow_Compute.Main, 14.3). 
 
2004-04-02 09:12:20.642999     3312   UserTrace   BIP4124I: Message propagated to 'out' terminal of compute node 'CustomerMessageFlow.Compute'. 
 
2004-04-02 09:12:20.642999     3312   UserTrace   BIP2638I: The MQ output node 'CustomerMessageFlow.MQOutput2' attempted to write a message to queue 'Output' connected to queue manager 'MQSIV'. The MQCC was '0' and the MQRC was '0'. 
 
2004-04-02 09:12:20.673000     3312   UserTrace   BIP2622I: Message successfully output by output node 'CustomerMessageFlow.MQOutput2' to queue 'Output' on queue manager 'MQSIV'. 
 
 
Threads encountered in this trace:
 
  3312  4132
 
 
 
Please advise. _________________ Satyasheel
 
IBM Global Services India Private Limited
 
Calcutta, India | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjcarretero | 
		  
		    
			  
				 Posted: Fri Apr 02, 2004 12:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Voyager
 
 Joined: 13 Oct 2003 Posts: 88
  
  | 
		  
		    
			  
				Hi,
 
 
I think this is the problem:
 
 
   
	| Code: | 
   
  
	SET OutputRoot.XML.Product.Title = InputRoot.m_Customer.e_Name.e_Title ;
 
 | 
   
 
 
 
Should be:
 
 
   
	| Code: | 
   
  
	SET OutputRoot.XML.Product.Title = [b]InputBody[/b].m_Customer.e_Name.e_Title ; 
 
 | 
   
 
 
 
Cheers
 
Felipe | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | wooda | 
		  
		    
			  
				 Posted: Fri Apr 02, 2004 3:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Master
 
 Joined: 21 Nov 2003 Posts: 265 Location: UK 
  | 
		  
		    
			  
				Felipe you wrote 
 
   
	| Code: | 
   
  
	| SET OutputRoot.XML.Product.Title = InputBody.m_Customer.e_Name.e_Title ;  | 
   
 
 
 
 
Almost Correct
 
 
When using the MRM domain then you need to omit the message type from the path.
 
 
So the snippet should have read ...
 
 
   
	| Code: | 
   
  
	| SET OutputRoot.XML.Product.Title = InputBody.e_Name.e_Title ;  | 
   
 
 
 
or
 
   
	| Code: | 
   
  
	| SET OutputRoot.XML.Product.Title = InputRoot.MRM.e_Name.e_Title ;  | 
   
 
 
 
-Alex | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjcarretero | 
		  
		    
			  
				 Posted: Fri Apr 02, 2004 3:14 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Voyager
 
 Joined: 13 Oct 2003 Posts: 88
  
  | 
		  
		    
			  
				You're right!
 
 
I thought it was another field    
 
 
Cheers
 
Felipe | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	Page 1 of 1 | 
   
 
 
 
  
  	
	  
		
		  
 
  | 
		  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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |