how to get incoming xml to pass to sql in SM as whole xml formatThis message has been edited. Last edited by: Tamra,
WebFOCUS 8 Windows, All Outputs
September 28, 2016, 04:18 PM
Tamra
DipJen,
Welcome to Focal Point.
Can you explain further what it is you are trying to do? What version of Data migrator are you using?
Thank your for participating in the Focal Point Forum, Tamra Colangelo Focal Point Moderator
Information Builders
WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
September 29, 2016, 03:02 PM
DipJen
Hi,
Thank you. I am using iIT tool writing process flow. Reading xml file as input and processing through process flow. In one place I want to store the xml that I am working with in process flow to database. I can send the data from xml to sql using sql object. I want to also pass whole xml data to sql. Is that possible? what iway key I can use to grab xml in process flow to pass to sql.
Thanks
WebFOCUS 8 Windows, All Outputs
September 29, 2016, 04:24 PM
dhagen
Use the IFL function _flatof(false). The false will not include the XML declaration.
Something like:
insert into table (col1, col2) values ('?id', '?xml')
User Properties:
id = whatever
xml = _flatof(false)
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott