|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
converting CHAR to XML |
« View previous topic :: View next topic » |
Author |
Message
|
NANDINIIALLA |
Posted: Tue Nov 14, 2017 2:34 pm Post subject: converting CHAR to XML |
|
|
Newbie
Joined: 14 Nov 2017 Posts: 1
|
Hi Friends,
I am picking XML data from a database field with datatype VAHRCHAR. I am receiving it in CHAR format in IIB. I need to parse that output to queue as with original output structure.
I am receiving error stating root tag is not available.
Is there any way to convert char to xml using CAST?
Your help is greatly appreciated,
Thanks,
Nandinii |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 14, 2017 5:07 pm Post subject: Re: converting CHAR to XML |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
NANDINIIALLA wrote: |
Hi Friends,
I am picking XML data from a database field with datatype VAHRCHAR. I am receiving it in CHAR format in IIB. I need to parse that output to queue as with original output structure.
I am receiving error stating root tag is not available.
Is there any way to convert char to xml using CAST?
Your help is greatly appreciated,
Thanks,
Nandinii |
Looks like you might have to create the root tag manually and parse it as a folder tag?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
timber |
Posted: Wed Nov 15, 2017 1:54 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
I am receiving error stating root tag is not available |
Please can you quote the error message in full. |
|
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
|
|
|
|