<< Click to Display Table of Contents >> Navigation: SshNetIbmi Class > SshNetIbmi Methods > ExecuteSqlQueryToJsonFileXmlSvc Method |
Summary
This function queries the IBM i DB2 database with selected SQL statement and returns results to JSON file in one step.
Parameters
sSQL - SQL Select. INSERT, UPDATE and DELETE not allowed.
sJsonOutputFile - Output JSON result file
replace - Replace output file True=Replace file,False=Do not replace
Returns
True=JSON file written successfully, False=Failure writing JSON output file.