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 » OutputlocalEnvoironment ............

Post new topic  Reply to topic
 OutputlocalEnvoironment ............ « View previous topic :: View next topic » 
Author Message
prasadkathale
PostPosted: Thu Jan 22, 2009 11:50 pm    Post subject: OutputlocalEnvoironment ............ Reply with quote

Newbie

Joined: 12 Jan 2009
Posts: 1

I am trying to set an OutputLocalEnvoirnment but not able to get values of message in it ...Can anyone please suggest

my code
call CopyMessage();

in the procedure :
CREATE PROCEDURE CopyMessage() BEGIN
DECLARE NAME CHARACTER '';
SET OutputLocalEnvoirnment."v"."c1" = InputRoot.XMLNS."NAME"."NAME1";

SET name = Envoirnment."v"."c1";
SET OutputRoot.BLOB.BLOB = CAST(name AS BLOB CCSID 1208);

END;
END MODULE;


i have a xmlns message which contains name in following format
<name><name1>prasad</name1></name>


can u please suggest the proper use of OutputLocalEnvoirnment
Back to top
View user's profile Send private message
viswanath
PostPosted: Fri Jan 23, 2009 12:52 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jun 2005
Posts: 33

What exactly you want to do with the localenvironment you are defining?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 23, 2009 1:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Moved to correct section
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 23, 2009 1:25 am    Post subject: Re: OutputlocalEnvoironment ............ Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

prasadkathale wrote:
I am trying to set an OutputLocalEnvoirnment but not able to get values of message in it ...Can anyone please suggest


I'm surprised the Toolkit didn't highlight one issue - that OutputLocalEnvironment is not spelt OutputLocalEnvoirnment, any more than Environment is spelt Envoirnment! Certainly shouldn't have deployed.

Moving past that, when you say you can't get values into it, do you mean that it's not set when you try and reference it in the next mode? That suggests the Compute node mode is set wrong.

prasadkathale wrote:
SET OutputLocalEnvoirnment."v"."c1" = InputRoot.XMLNS."NAME"."NAME1";

SET name = Envoirnment."v"."c1";
SET OutputRoot.BLOB.BLOB = CAST(name AS BLOB CCSID 1208);


Aside from the design question of what, exactly, you're trying to do here, you do realise that the LocalEnvironment is a different storage area to Environment? So "name" in your example will be null when you cast it? For whatever bizzare reason you're casting it?
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » OutputlocalEnvoironment ............
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.