ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error Message:No message Id received.

Post new topic  Reply to topic
 Error Message:No message Id received. « View previous topic :: View next topic » 
Author Message
umesh
PostPosted: Sun May 22, 2005 10:15 pm    Post subject: Error Message:No message Id received. Reply with quote

Novice

Joined: 13 May 2005
Posts: 16

Hi all,

I am having a message flow where TDS message is the input and output. Now I am also selecting a code from database in compute mode and putting a message to output queue in TDS format. When I am executing the flow the codes are retireved and next flow ends in error saying "No message Id received."I am giving TDS message as input in the form of a+...... where + is seperator.I have checked project reference properties and message set definitions.

Please let me know the reason for this error.


CREATE COMPUTE MODULE "A_B_Compute"
CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN

CALL CopyEntireMessage();


SET Environment.Variables.Result[] = (SELECT T.CD FROM Database.CODES as T);



DECLARE i INTEGER 1;

FOR xyz AS Environment.Variables.Result[] DO SET OutputRoot.Properties=InputRoot.Properties;
SET OutputRoot.MQMD = InputRoot.MQMD;
SET OutputRoot.MRM.Details.Result[i].CD=xyz.CD;
SET OutputLocalEnvironment.Destination.MQ.DestinationData[i].queueName= xyz.Code || '.OUT.1' ;
SET i = i + 1;
PROPAGATE;
END FOR;


RETURN TRUE;
END;


thanks,
umesh
Back to top
View user's profile Send private message
gfrench
PostPosted: Tue May 24, 2005 1:48 am    Post subject: Reply with quote

Acolyte

Joined: 10 Feb 2002
Posts: 71

umesh,

The statement PROPAGATE sends the output buffer to the next node and empties it for further processing. At the end of a compute node a PROPAGATE is always done on RETURN TRUE. At this point you send an empty buffer. You need to change it to RETURN FALSE;

Graham
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Error Message:No message Id received.
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.