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 » Modifying OutputRoot inside a Function

Post new topic  Reply to topic
 Modifying OutputRoot inside a Function « View previous topic :: View next topic » 
Author Message
gabbar
PostPosted: Tue Feb 17, 2004 12:56 pm    Post subject: Modifying OutputRoot inside a Function Reply with quote

Acolyte

Joined: 10 Dec 2002
Posts: 50

Can I modify an OutputRoot within in a User defined function in Compute Node.

I want to create some XML fields and assign values to the leaf elements. I want the Reference to OutputRoot as one of the parameters to the function.

Can modify the outputroot this way?

I found the following error while trying to do that.

RecoverableException BIP2536E: (180, 2) : The dynamic field reference supplied to the CREATE statement does not resolve to a non-list field in a modifiable message tree.
The dynamic field reference supplied to the CREATE statement must resolve to a non-list field in a modifiable message tree.
Ensure that only non-list references to modifiable trees are passed to the CREATE statement.
Back to top
View user's profile Send private message Visit poster's website
mgk
PostPosted: Tue Feb 17, 2004 3:25 pm    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

You cannot do this in a function, only a procedure. In a function, all parameters are effectively IN only by default, and so not modifiable. If you use a procedure you should be OK.

Cheers,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » Modifying OutputRoot inside a Function
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.