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 » How to use Array in ESQL

Post new topic  Reply to topic
 How to use Array in ESQL « View previous topic :: View next topic » 
Author Message
pkishor17
PostPosted: Thu Feb 24, 2005 2:06 am    Post subject: How to use Array in ESQL Reply with quote

Newbie

Joined: 25 May 2004
Posts: 7

I want to use array in ESQL, How can i declare and use array in ESQL

Thanks in advance
Back to top
View user's profile Send private message
Craig B
PostPosted: Thu Feb 24, 2005 5:31 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Hi,

ESQL does not have arrays for scalar variables. If you want an array of values then you need to use a message tree such as the Environment tree.

For example :

Code:

SET Environment.Variables.myArray.Item[1] = 'Value 1';
SET Environment.Variables.myArray.Item[2] = 'Value 2';
SET Environment.Variables.myArray.Item[3] = 'Value 3';
SET Environment.Variables.myArray.Item[4] = 'Value 4';

_________________
Regards
Craig
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 » How to use Array in ESQL
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.