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 » ESQL MOVE ... is not accpeted by broker

Post new topic  Reply to topic
 ESQL MOVE ... is not accpeted by broker « View previous topic :: View next topic » 
Author Message
imsja
PostPosted: Sun Nov 14, 2004 2:26 am    Post subject: ESQL MOVE ... is not accpeted by broker Reply with quote

Newbie

Joined: 23 Apr 2002
Posts: 3

Dear all,

I have a problem with deploying the following code snip:

CREATE FUNCTION Main() RETURNS BOOLEAN
BEGIN
CALL CopyMessageHeaders();

FOR ref AS InputBody.SomeRoot.SomeArray[] DO
MOVE ref NEXTSIBLING TYPE (XML.Element);
........
END FOR;

RETURN TRUE;
END;

This is not accepted by my broker on a Win XP machine. It throws the error code:

BIP2560E: (Flows.Scratch_ForTest.Main, 6.9): At this location a reference variable is required ( Translated from German message) .

Besides that the editor in the toolkit shows a warning, saying, that the message reference cannot be solved in the line containing MOVE ref ....

The funny thing is that this statement is i running n a similar form on another machine where this accepted by the broker . I assume that I have another fix pack problem.

Thanks for help!
Back to top
View user's profile Send private message
martinrydman
PostPosted: Sun Nov 14, 2004 2:41 am    Post subject: Reply with quote

Centurion

Joined: 30 Jan 2004
Posts: 139
Location: Gothenburg, Sweden

Try this:
Code:

FOR ref AS InputBody.SomeRoot.SomeArray[1] DO
MOVE ref NEXTSIBLING TYPE (XML.Element);


You can't reference the whole array, you must ref a specific element.

/Martin
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 » ESQL MOVE ... is not accpeted by broker
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.