Iain MacDonald · Mar 30, 2023 go to post

On Windows, run the lines in a cmd window. The first can be run without modification, but to run the second line use this escaping:

docker exec -it my-iris iris session iris -U "USER" "##class(%ZPM.PackageManager).Shell("""install fhir-server""")"
Iain MacDonald · Mar 2, 2023 go to post

The In() function in Ens.Util.FunctionSet is documented as searching for a value in a comma-delimited string.

There is undocumented additional functionality for custom separators.

If the items parameter has ",," (two commas) right before the last or second to last character in the string, then the following strings are used as separators.

If there is one character, then that is used as a separator:

w ##class(Ens.Util.FunctionSet).In("a","|a|f|d|c|a,b|a,b,c|,,|")
1

If there are two characters, then those are used as a prefix and suffix for values:

w ##class(Ens.Util.FunctionSet).In("a","<a><b><c><a,b,c>,,<>")
1
Please note that although there is an intention to document this in a future release at some stage, as it is not documented at the moment, it should be used with extreme caution - it may be removed from future versions without warning.

Iain MacDonald · Jan 23, 2023 go to post

https://docs.intersystems.com/iris20223/csp/docbook/DocBook.UI.Page.cls?KEY=GSQL_smp#GSQL_smp_executequeryopts

The IRIS 2022.3 documentation has this:

  • Execute Query in the foreground: a check box specifying whether or not to run the query in the foreground. Simple queries run in the foreground are often significantly faster than those run in the background. However, long queries run in the foreground may cause the Management Portal to be unresponsive during query execution. The default is to run all queries in the background.
Iain MacDonald · Sep 17, 2020 go to post

You'll need to do the ReadLine() just once in each iteration of the loop so that you don't get the P1 from one line pairing with the P2 from the next line, something like this:

set file=##class(%Stream.FileCharacter).%New()

do file.LinkToFile("c:\location of csv")

for  quit:file.AtEnd  set line=file.ReadLine()set ^GLOBAL($piece(line,",",1),$piece(line,",",*))=""
 

Iain MacDonald · Nov 28, 2019 go to post

Or

USER>k temp  set $LIST(temp,31)="",myVar=$LISTTOSTRING(temp,"=?",1)
USER>w myVar
=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?=?
 
Iain MacDonald · Sep 24, 2018 go to post

The online documentation is here:

There is some training in the InterSystems Learning portal (you'll need to enrol/login):

e.g.

Iain MacDonald · Jun 6, 2018 go to post

You mentioned that you ran setup.py, but you are running Python version 3.6.0.

I believe setup.py is the install for Python 2. Have you also tried running setup3.py? i.e.

  • python3 setup3.py install