go to post Alexander Koblov · Sep 16, 2022 var from your sample is not an object in ObjectScript. It is an object reference. So in first case you pass object reference by value. In second case you pass object reference by reference. That is reference to object reference. I don't think you should expect noticeably better performance
go to post Alexander Koblov · Sep 6, 2022 If you can select from this stored procedure then you can try to use this select in INSERT into. Does the following work? SELECT * Custom_MENS_Other.samplesp('2021-11-02','2021-11-04','H001') See Table-Valued functions section: https://docs.intersystems.com/ens201815/csp/docbook/Doc.View.cls?KEY=RSQ... And INSERT with SELECT: https://docs.intersystems.com/ens201815/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Aug 31, 2022 Hi Thanongsak. In the <iris>/bin folder you should have different odbcgateway*.so files. IRIS uses odbcgateway.so when it connects to 3rd party database via ODBC. However in UNIX world, different ODBC drivers are compiled differently and they can use different driver managers -- iODBC or unixODBC. Thus IRIS comes with several odbcgateway libraries that are suitable for different drivers. On my IRIS 2021.1 for macOS I have: odbcgateway.so -- default one, for iODBC driver 8-bitodbcgatewayiw.so -- for iODBC driver manager with Unicode supportodbcgatewayur64.so -- supports 8-bit ODBC for 64-bit unixODBC IRIS documentation covers this here (though filenames are not correct, should be odbcgateway instead of cgate)https://docs.intersystems.com/iris20221/csp/docbook/DocBook.UI.Page.cls?... So the question is -- what driver manager is libmaodbc.so linked against. In any case -- Rename odbcgateway.so to odbcgatewayi.so. And then try replacing odbcgateway.so with odbcgatewayiw.so and odbcgatewayur64.so and see with which connection works.
go to post Alexander Koblov · Aug 31, 2022 Hi Max. 1) Try passing %CONTEXT value: [Measures].[%Count]/%MDX("Select From [Cards]","%CONTEXT","filters") For more details on possible %CONTEXT values see https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls... 2) I think %CELL function might help you here
go to post Alexander Koblov · Aug 26, 2022 Of course, there are more elegant ways to check the globals and data than expecting an error. Mario, you left me curious. What are the ways?
go to post Alexander Koblov · Aug 8, 2022 I don't understand how you get the first sample working. I'm getting expected <SYNTAX> error USER>a SET x = 1 A SET x = 1 ^ <SYNTAX>
go to post Alexander Koblov · Aug 8, 2022 The advice is -- enable OS authentication for the %Service_Terminal. And add the OS user that runs the script to the IRIS. I'm not aware of secure way of passing credentials for IRIS password users. https://docs.intersystems.com/iris20221/csp/docbook/Doc.View.cls?KEY=GAU...
go to post Alexander Koblov · Aug 5, 2022 Try something like iris session LIVETC01 -U "%SYS" "Monitor^MIRROR"
go to post Alexander Koblov · Aug 1, 2022 Hi Lesley. Please file feedback for the documentation team -- Feedback button on the right of the page. Indeed, it seems like this part of documentation is out of date. Though if you search on Github, you'll find copies of this class. For example: https://github.com/SylvainGuilbaud/iris-code/blob/main/src/cls/XSLT2/Exa...
go to post Alexander Koblov · Jul 25, 2022 This question is rather for Crystal Report 2020. Ensemble 2014 provides standard ODBC interface. If Crystal Report 2020 can communicate using this interfacen, then Crystal Report is compatible with Ensemble 2014.
go to post Alexander Koblov · Jul 25, 2022 There is no built-in package that does this. You need to use some external library
go to post Alexander Koblov · Jul 25, 2022 Hi Eddie. Does it use it's own internal SQL database or are we able to connect to our own database and which databases are certified to run against the platform? Both. Supported 3rd party databases are listed here: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls... Generally, please see "First looks" guides in our doc, particularly for JDBC and ODBC: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
go to post Alexander Koblov · Jul 21, 2022 I think you need to declare RunDownload as a ClassMethod, not ClientMethod, that is for JavaScript methods
go to post Alexander Koblov · Jun 14, 2022 Your account manager. If you don't know who this is -- contact the InterSystems office that issued you a license. Or contact WRC.
go to post Alexander Koblov · Jun 14, 2022 "Why our license does not support ECP, if it's for Multi-Server?" That's the different question from the one you asked in the post. I suggest you contact your Account Manager in InterSystems.
go to post Alexander Koblov · Jun 13, 2022 You can use SQL Gateway to select / modify tables in external databases