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 » General Discussion » Build a message tree, index it associative

Post new topic  Reply to topic
 Build a message tree, index it associative « View previous topic :: View next topic » 
Author Message
kuzman
PostPosted: Fri Oct 22, 2010 4:48 am    Post subject: Build a message tree, index it associative Reply with quote

Apprentice

Joined: 24 Aug 2010
Posts: 27

Hi

I would like to build a message tree and I would like to index it as follows:
DECLARE vari CHAR;
SET vari = "sample";

SET Environment.Variables.Results.vari = "temp";

and the result would be:

Environent
Variables
sample = temp

Is it possible somehow?

Br
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Oct 22, 2010 5:06 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

And this was posted in the Links section for what reason?

Please take more care of where you post in future please

Moving to a more appropriate forum...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Oct 22, 2010 5:27 am    Post subject: Re: Build a message tree, index it associative Reply with quote

Grand High Poobah

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

kuzman wrote:
Hi

I would like to build a message tree and I would like to index it as follows:
DECLARE vari CHAR;
SET vari = "sample";

SET Environment.Variables.Results.vari = "temp";

and the result would be:

Environent
Variables
sample = temp

Is it possible somehow?

Br


No - the best you'd get would be

Environment
Variables
Results
sample = temp

because that SET statement has a Results qualifier.

But the kind of variable replacement you're talking about is possible & documented in the manual. Please read it with more care than you read section titles.
_________________
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 » General Discussion » Build a message tree, index it associative
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.