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 return as a xml structure

Post new topic  Reply to topic
 How to return as a xml structure « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Fri Apr 15, 2005 4:13 am    Post subject: How to return as a xml structure Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi Guys

I need to create a procedure which takes in arguments that are generated at runtime and create a xml structure.After creating the xml structure, i need to pass the structure as a return argument.So,if i write a code like the below then will it work or not:

Create procedure(In arg1,IN arg2,IN arg3,IN arg4,IN arg5) as character
declare error chaaracter error ;

set error =<errorheader><err1></err1><err2></err2><err3></err3><err4>
</err4><err5></err5></errorheader>

return error;

Anybody have an idea if this will work or not.Can somebody provide me a sample code which can help me in getting this condition satisfied.

How many arguments can we pass in a procedure like if we can pass 10 arguments or not?

brgmo.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Apr 15, 2005 4:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

What does the documentation say?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
brgmo
PostPosted: Fri Apr 15, 2005 4:31 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Please help me it may take me sometime to search the documentation or if somebody can provide me the link then i will do it myself.

brgmo.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Apr 15, 2005 4:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/ak04860_.htm

This is the reference section on ESQL. It should take you about 1 minute to go from there to the answer you need.

And you should bookmark this link.
_________________
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 » How to return as a xml structure
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.