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 » Destination list missing.

Post new topic  Reply to topic
 Destination list missing. « View previous topic :: View next topic » 
Author Message
brokendrum
PostPosted: Mon Jul 14, 2003 12:21 am    Post subject: Destination list missing. Reply with quote

Apprentice

Joined: 14 Jan 2003
Posts: 34

My destination list is missing after my message passes through the following Compute note ESQL With the compute node set to 'LocalEnvironment And Message'. It appears on a trace immediately before the compute node:

Code:
DECLARE C INTEGER;
SET C = CARDINALITY(InputRoot.*[]);
DECLARE I INTEGER;
SET I = 1;
WHILE I < C DO
   SET OutputRoot.*[I] = InputRoot.*[I];
   SET I=I+1;
END WHILE;
-- Enter SQL below this line.  SQL above this line might be regenerated, causing any modifications to be lost.
SET Environment.OutputQueue = InputLocalEnvironment.Destination.MQ.DestinationData.queueName;

SET "OutputRoot"."BLOB"."BLOB" = CAST('MQH' AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."SourceSystem" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."SourceSystemMethod" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."UniqueSequenceNo." AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."ResubmissionCounter" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."IOIndicator" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."OriginalMessageRef" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."ErrorIndicator" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."RoutingIndicator" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST("Environment"."MQH"."Filler" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding)
|| CAST(InputRoot."BLOB"."BLOB" AS BLOB CCSID InputRoot.Properties.CodedCharSetId ENCODING InputRoot.Properties.Encoding);


Any ideas?

Thanks,

BD
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 14, 2003 6:01 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It does not look to me like you are either explicitly or implicitly copying the Destination list from the InputLocalEnvironment to the OutputLocalEnvironment.
Back to top
View user's profile Send private message
brokendrum
PostPosted: Mon Jul 14, 2003 6:14 am    Post subject: Reply with quote

Apprentice

Joined: 14 Jan 2003
Posts: 34

Of course! I was forgetting that by copying the whole message the LocalEnvironment will be included!

Thanks,

BD
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jul 15, 2003 7:26 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

No. Selecting 'Copy entire message' only copies the Root tree. If you want to propogate the LocalEnvironment (and Exception) tree(s), then you have to do it yourself.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Destination list missing.
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.