ExecuteSqlQueryToXmlFileXmlSvc Method

<< Click to Display Table of Contents >>

Navigation:  SshNetIbmi Class > SshNetIbmi Methods >

ExecuteSqlQueryToXmlFileXmlSvc Method

Summary

This function queries the IBM i DB2 database with selected SQL statement and returns results to XML file in one step.

 

Parameters

 

sSQL - SQL Select. INSERT, UPDATE and DELETE not allowed.

 

sXMLOutputFile - Output XML result file

 

replace - Replace output file True=Replace file,False=Do not replace

 

sTableName - DataTable name to use.  Default="Table1"

 

bWriteSchema - Write XML schema in return data. Default=False

 

Returns

True=XML file written successfully, False=Failure writing XML output file.