|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to return as a xml structure |
« View previous topic :: View next topic » |
Author |
Message
|
brgmo |
Posted: Fri Apr 15, 2005 4:13 am Post subject: How to return as a xml structure |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Apr 15, 2005 4:16 am Post subject: |
|
|
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 |
|
 |
brgmo |
Posted: Fri Apr 15, 2005 4:31 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Fri Apr 15, 2005 4:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|