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 » Initialize an array

Post new topic  Reply to topic
 Initialize an array « View previous topic :: View next topic » 
Author Message
krustyelpayaso
PostPosted: Thu Nov 10, 2005 6:43 am    Post subject: Initialize an array Reply with quote

Apprentice

Joined: 24 Oct 2005
Posts: 26

Hi,

I have an Array like OutputRoot.XML.infosIdFound[]. I insert elements into thi array. When the process is finised i want to initialize the array. How can initialize the arrays for example a nulls?

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Nov 10, 2005 6:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not an array. It's a tree of logical elements, that happen to all have the same name.

You can use the LIST or ROW operators to create a set of empty elements in a single statement.

Or you can write a loop that will create the elements with empty values.
_________________
I am *not* the model of the modern major general.
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 » Initialize an array
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.