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 IndexWebSphere Message Broker Supportconverting CHAR to XML

Post new topicReply to topic
converting CHAR to XML View previous topic :: View next topic
Author Message
NANDINIIALLA
PostPosted: Tue Nov 14, 2017 2:34 pm Post subject: converting CHAR to XML Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 14, 2017 5:07 pm Post subject: Re: converting CHAR to XML Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19380
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
View user's profile Send private message Send e-mail
timber
PostPosted: Wed Nov 15, 2017 1:54 am Post subject: Reply with quote

Yatiri

Joined: 25 Aug 2015
Posts: 697

Quote:
I am receiving error stating root tag is not available
Please can you quote the error message in full.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker Supportconverting CHAR to XML
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.