go to post Phillip Wu · Jan 20, 2023 set status=##Class(SYS.Mirror).AddDatabase("/db/iknow") I get a syntax error when I do:IF $$$ISOK(status) {w "OK"} else {w "not OK"} Although this works OK:IF status {w "OK"} else {w "not OK"} Any idea why this is so?
go to post Phillip Wu · Dec 5, 2022 Thanks for the suggestion. You mentioned "InterSystems internal interactive tools. So, most such tools have non-interactive endpoints". Could you please provide an example?Is there a listing of all such "tools"?
go to post Phillip Wu · Nov 2, 2022 Thanks. I cannot get this to work. I have a Linux server which has IRIS database. This file exists - /trak/base/tc/db/ct/IRIS.DAT However: BASETC:%SYS>set db=##Class(SYS.Database).%OpenID("/trak/base/tc/db/ct",,.sc) SET db=##CLASS(SYS.Database).%OpenID("/trak/base/tc/db/ct",,.sc)^<METHOD DOES NOT EXIST> *%OpenID,SYS.Database Do you have any idea why I'm getting this as %OpenID method is documented here:https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic....