go to post Robert Cemper · Mar 2, 2024 I just have upgraded this very nice tutorial into IPM and DockerOEX: https://openexchange.intersystems.com/package/WebSockets-TutorialDemo + Demo + PR to be merged sometime https://github.com/rcemper/DK_Tutorial-WebSockets
go to post Robert Cemper · Mar 1, 2024 Namespace %SYS class SYS.Process is your friend SELECT * FROM SYS.PROCESS in your case : select CurrentDevice from SYS.Process group by CurrentDevice CurrentDevice //./NUL |TCP|1972 |TCP|1972|7868 |TCP|1972|7104 |TCP|1972|19332 |TCP|1972|9316 |TCP|1972|12932 |TCP|1972|17224 |TCP|1972|8096 10 row(s) affected . for more details select Pid,CurrentDevice,ClientNodeName,ClientIPAddress from SYS.Process USER>w $ZVCache for Windows (x86-64) 2018.1.7
go to post Robert Cemper · Feb 27, 2024 Just half a screen downRestore Selected or Renamed Databases Using ^DBREST should be no need to fiddle inside DBREST
go to post Robert Cemper · Feb 27, 2024 ¿ was the docu not sufficient: Restore All Databases Using ^DBREST ?
go to post Robert Cemper · Feb 27, 2024 Once upon a time ... there was an operating system named VMS running on computers named VAX and ALPHA The syntax to access a file was drive:[directory] it's the same structure used by RSX-11/M, RSX-11/D, RSX-11/S on PDP-11 processors So on drive DUA1 you refer to director TEST3
go to post Robert Cemper · Feb 22, 2024 Therefore it's good practice to start with Kill ^SPOOL($J) Open 2:$J Use 2 .....as we did in 1978
go to post Robert Cemper · Feb 15, 2024 same using USE 0:(:"/ECHO=0"") and USE 0:(:"/ECHO=1"") orUse 0:(":"S") and Use 0:(:"N") for "silent" and "normal"more docs
go to post Robert Cemper · Feb 12, 2024 my private hack for this situation: ClassMethod MyMethodPost() As %Status { $$$LOGINFO("JobId: "_$JOB) kill ^%kurro set ^%kurro(0)=$JOB for {hang 20 break quit:$get(^%kurro) } #; just hang around until ^%kurro =1 ..... Quit $$$OK }
go to post Robert Cemper · Feb 9, 2024 underscore is not allowed in names and variablesunderscore is the string concatenation operator
go to post Robert Cemper · Feb 7, 2024 the ultimate hack for far outside docker IP:https://community.intersystems.com/post/how-get-docker-host-ip#comment-218456
go to post Robert Cemper · Feb 7, 2024 for easy reading, not a oneliner yet. new $namespace,host,ipaddr,p znspace "%SYS" set host=$system.INetInfo.LocalHostName() set ipaddr=$system.INetInfo.HostNameToAddr(host) do ##class(Config.Startup).Get(.p) set url="http://"_ipaddr_":"_p("WebServerPort")_"/csp/sys/UtilHome.csp" kill p,host,ipaddr quit zw url
go to post Robert Cemper · Feb 5, 2024 You can map PACKAGE [aka. SQL Schema] to another Namespasce (not a single table)e.g. Bna.Utils to namespace %ALL or just to a specific namespaceso you have Table and Class (= the code) available. If you want to share also DATA you need to map also the related Global
go to post Robert Cemper · Feb 3, 2024 I met some issues in the past, where I miss any idea of how to check verification of %variables or variables in global scope variables set as 3rd parameter in $QUERY() or $ORDER() - should be easier to detect. not sure if variables passed ByRef or Output are fixed meanwhile