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 » Getting data from database

Post new topic  Reply to topic Goto page Previous  1, 2
 Getting data from database « View previous topic :: View next topic » 
Author Message
WBI_user
PostPosted: Mon Jul 26, 2004 5:31 pm    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

SET AA =RTRIM(OutputLocalEnvironment.Variables.col1[2].col1); works.
Thanks
Back to top
View user's profile Send private message
fschofer
PostPosted: Mon Jul 26, 2004 11:15 pm    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

SET OutputLocalEnvironment.Variables.col1[]=(SELECT T.col1 FROM Database.mytable AS T WHERE T.col2='abc');

will give you something like
OutputLocalEnvironment.Variables.col1.col1 = '1111'
OutputLocalEnvironment.Variables.col1.col1 = '3333'
OutputLocalEnvironment.Variables.col1.col1 = '5555'

I recommend to add a trace node after your compute node
to see how OutputLocalEnvironment is filled.

Therefore you have to change the mode of your compute node to all
and add ${LocalEnvironment} to the trace node.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
WBI_user
PostPosted: Tue Jul 27, 2004 7:27 am    Post subject: Reply with quote

Partisan

Joined: 07 Aug 2001
Posts: 386

Yes, I was the extra col1 at the end that I overlooked. It is working now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Getting data from database
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.