go to post Dmitry Maslennikov · May 31, 2019 I think it would be more efficient if you look at a series of articles about mapping globals to classes. So, you'll get some knowledge about how it can be configured. It is varied by different storage strategies.Next, as Robert mentioned, you have to rebuild your indices. Look at the documentation for the details, how to do it.
go to post Dmitry Maslennikov · May 31, 2019 Looks like you have a custom SQL Storage. And in this case, you have to have manually defined storage for indexes as well. And only after that, it will build indices.
go to post Dmitry Maslennikov · May 30, 2019 ZEN page means that it works somewhere outside of your server. $zf calls some executable right on the server, and with some limitations.So, short answer NO, you can't do it.It would be better if you would explain why you need it. So, we may help to find you the right way or more to solve it.
go to post Dmitry Maslennikov · May 29, 2019 There are some videos about Atelier in youtube's playlistBut I would not recommend Atelier nowadays. I would better recommend VSCode extension for ObjectScript, which I develop.Unfortunately, I don't have such good tutorial videos on how to work with VSCode, yet. But maybe this video from @Evgeny Shvarov will help you.
go to post Dmitry Maslennikov · May 29, 2019 If you have only one server for multiple developers, it will be not so easy to make it work very good.The best way is to use own server by each developer. This tool exports locally to the server, but the developer should have access to those place from their machine. Why do not move to Atelier or VSCode? There will much easier to organize work with git
go to post Dmitry Maslennikov · May 21, 2019 $system.CLS.Property accepts property by name as well, so you don't need loop
go to post Dmitry Maslennikov · May 20, 2019 This is only example and yes, for client, where community.intersystems.com is a server for request to. To simplify I just create ssl config with server's name
go to post Dmitry Maslennikov · May 20, 2019 ClassMethod GetSSLConfiguration(host) As %String { NEW $NAMESPACE SET $NAMESPACE = "%SYS" IF '##class(Security.SSLConfigs).Exists(host) { DO ##class(Security.SSLConfigs).Create(host) } QUIT host } Set tRequest = ##class(%Net.HttpRequest).%New() Set tRequest.Server = "community.intersystems.com" Set tRequest.Https = 1 Set tRequest.SSLConfiguration = ..GetSSLConfiguration(tRequest.Server) ....
go to post Dmitry Maslennikov · May 20, 2019 Actually, with my VSCode extension is not supposed that you need to sync your code. It expects, that you have only one source of truth, your local sources. But if you can export any code from the server, it can be the same folder where your sources already placed or any others. Just use Export action in Context menu in Explorer, and it will export all your classes or routines.When you try to open any file in explorer, and this class or routine you already have locally, it will show your local file instead of server's file. Just because it does not expects any difference, as I said your local sources have the privilege to be used first.Any file opened from server will be shown in read-only mode.
go to post Dmitry Maslennikov · May 14, 2019 It actually, does not matter, where to install drivers.My Caché works in docker, so, I downloaded ODBC drivers from the ftp.extracted it, just in Downloads, and run there ODBCInstall from a terminal.with ODBCInstall I got file mgr/cacheodbc.ini, which I copied to ~/Library/ODBC/odbc.ini, there will be as User DSN. /Library/ODBC/odbc.ini for System DSN.DYLD_LIBRARY_PATH should follow to bin folder in extracted ODBC Drivers folderin my case export DYLD_LIBRARY_PATH=/Users/daimor/Downloads/ODBC-2018.1.2.309.0-macx64/bin you can check connection with iODBC Manager, running right from terminal DYLD_LIBRARY_PATH=/Users/daimor/Downloads/ODBC-2018.1.2.309.0-macx64/bin open /Applications/iODBC/iODBC\ Administrator64.app and open excel same way DYLD_LIBRARY_PATH=/Users/daimor/Downloads/ODBC-2018.1.2.309.0-macx64/bin open /Applications/Microsoft\ Excel.app So, you'll be able to test settings without relogin
go to post Dmitry Maslennikov · May 14, 2019 What do you have already?Did you configure ODBC DSN, DYLD_LIBRARY_PATH?Some information about configuring ODBC, you can find here.First of all I think you need iODBC installed on your mac.then ODBC Caché drivers, with correct environment variable DYLD_LIBRARY_PATH, do not forget to relogin after the set variable.As proof, that's possible to do it. Done with Caché 2018.1
go to post Dmitry Maslennikov · May 10, 2019 With such amount of data, does you have enough global buffers configured?Is it only one slow place, or you have any others as well?How big is your database, indexes globals and globals buffer?
go to post Dmitry Maslennikov · May 3, 2019 USER>set desc = "Review symptoms to report with patient" USER>set abbrv = ##class(%Regex.Matcher).%New("([^\ ]{2})[^\ ]*\ ?",desc).ReplaceAll("$1") USER>write abbrv Resytorewipa
go to post Dmitry Maslennikov · May 2, 2019 I think the best solution would be to configure SSH server, so, you'll be able to use putty as well. If your server on Linux, it should be only SSH. With SSH your connection surely will be encrypted.
go to post Dmitry Maslennikov · May 2, 2019 Look at this Class User.Test { ClassMethod Test(Args...) { ZWRITE Args } ClassMethod Test2(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8) { ZWRITE Arg1 ZWRITE Arg2 ZWRITE Arg3 ZWRITE Arg4 ZWRITE Arg5 ZWRITE Arg6 ZWRITE Arg7 ZWRITE Arg8 } } and let's call it USER>do ##class(Test).Test(1,2,,,,,,8) Args=8 Args(1)=1 Args(2)=2 Args(8)=8 and second method USER>do ##class(Test).Test2(1,2,,,,,,8) Arg1=1 Arg2=2 Arg8=8 And another way USER>set args=8 ;just the number of the latest one USER>set args(8)="test" and calls USER>do ##class(Test).Test(args...) Args=8 Args(8)="test" USER>do ##class(Test).Test2(args...) Arg8="test"
go to post Dmitry Maslennikov · Apr 30, 2019 What do you expect instead of "USER>", it is a session prompt, where you should put your commands. At this point, for me, it looks expectable.
go to post Dmitry Maslennikov · Apr 30, 2019 1. What you did, to get it. Please add all your steps, so we can find what you did wrong.2. IRIS container changed nothing what comes from base Ubuntu image. If you can install mc there it should be possible on IRIS as well. But I don't see any reasons, why mc should be available inside the container. And why you need it there?
go to post Dmitry Maslennikov · Apr 25, 2019 I think you are talking about subscripts and about the full length of global reference. You can't do anything with it and just accept it as a fact.
go to post Dmitry Maslennikov · Apr 22, 2019 It's not so much important to have key before install, much more important to have it when server is running.But how you sure that your key is suitable for this platform. You can check it on running container, where you can enter inside, and go the csession. You can find some intersting methods for $SYSTEM.License in the documentation which can help you to check license file inside the container.