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 » Subscript Error in ESQL in Compute Node

Post new topic  Reply to topic
 Subscript Error in ESQL in Compute Node « View previous topic :: View next topic » 
Author Message
satyasheel15
PostPosted: Tue Apr 08, 2003 6:25 am    Post subject: Subscript Error in ESQL in Compute Node Reply with quote

Voyager

Joined: 04 Mar 2003
Posts: 86

I am getting the array subscript error in Compute Node. Please advise how to correct the same.

Please also advise do OutputRoot always create an output. Is there exists any way where I can use the OutputRoot without generating the Output.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
ernest-ter.kuile
PostPosted: Fri Apr 11, 2003 2:26 am    Post subject: Re: Subscript Error in ESQL in Compute Node Reply with quote

Apprentice

Joined: 13 May 2002
Posts: 49
Location: KLM Holland

satyasheel15 wrote:
I am getting the array subscript error in Compute Node. Please advise how to correct the same.

Please also advise do OutputRoot always create an output. Is there exists any way where I can use the OutputRoot without generating the Output.


The array subscript error indicates you are attempting to access an array outside it's range. If this happens while creating an array, then you are attempting to create a new element at array[X] while array[X-1] does not yet exist.
For example :
Code:
   SET array[1] = 'Hello';
   SET array[3] = 'World';

will generate an array subscript error when setting array[3] because array[2] does not exist.

To prevent OutputRoot from being send on at the end of a compute node, simply execute a
Code:
RETURN False;
at the end of the ESQL code.

This will stop message handling for the current message.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Subscript Error in ESQL in Compute Node
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.