Question
· Sep 14, 2021

Looking for Example of How to Use %SQL.Export.Mgr Export Method

https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic....

 

method Export(savertn As %Boolean = 0) [ Language = objectscript ]

 

I am looking to export table to a text file in a programmatic way. I am not familiar with this class and how to invoke a "savertn" as input here.

 

Essentially I would like to Export Table (SELECT * FROM Table) and save it as a text file locally on Linux server. Is there any examples out there of that? Perhaps I need to save the query output to a global and then pass that input to the export?

 

Thanks,

James

Product version: IRIS 2020.1
$ZV: 2020.1.0.215.0.20595
Discussion (2)0
Log in or sign up to continue