go to post Robert Cemper · Jan 18, 2023 expression into :var stores the content of the expression into a local host variable var in your case you seem to get from STRING(...) 2 expression stored in to variables CODE and VALUEthis construct is typical for embedded SQL
go to post Robert Cemper · Jan 2, 2023 Looks like an encoding issue.Encoding in Studio is most likely different from your terminal settings.And phyton has no idea about your surface settings.Run this line in Studio and in Terminal and you see what's happening.Matching ends after the end of 7bit ASCII encoding. f j=0:1:64 w ! f i=0:1:63 w $c(j*64+i)
go to post Robert Cemper · Dec 26, 2022 The content of Column COMMENT is expected to be $LB() format.The most likely reason is : this property contains some ages-old junk This works: SELECT ID, CPFName, %INTERNAL(Comments), Name, Product, SectionHeader, Version FROM Config.ConfigFile Cache for Windows (x86-64) 2018.1.7 (Build 721U)
go to post Robert Cemper · Dec 5, 2022 It is less effort to install swager-ui manually from the repo than a backport of ZPM
go to post Robert Cemper · Dec 5, 2022 There is NO official support for ZPM on Caché(too fast typing)
go to post Robert Cemper · Nov 9, 2022 To achieve the expected result of individual storage you may take this approach: Class Test.NewClass Extends %Persistent [ NoExtent ] { Property Name As %String [ Required ]; Index NameIndex On Name [ Unique ]; } and Class Test.NewClass1 Extends Test.NewClass { Storage Default { <Data name="NewClass1DefaultData"> <Value name="1"> <Value>%%CLASSNAME</Value> </Value> <Value name="2"> <Value>Name</Value> </Value> </Data> <DataLocation>^Test.NewClass1D</DataLocation> <DefaultData>NewClass1DefaultData</DefaultData> <IdLocation>^Test.NewClass1D</IdLocation> <IndexLocation>^Test.NewClass1I</IndexLocation> <StreamLocation>^Test.NewClass1S</StreamLocation> <Type>%Library.CacheStorage</Type> } } and you see:ERROR #5808: Key not unique: Test.NewClass1:NameIndex:^Test.NewClass1I("NameIndex"," A1")
go to post Robert Cemper · Nov 7, 2022 if you know the process id then $SYSTEM.Process.Terminate( . . .) should terminate it
go to post Robert Cemper · Nov 7, 2022 there is a quite wide selection of licenses.the best for details is to contact your local sales rep from InterSystems to find your optimal solution
go to post Robert Cemper · Nov 6, 2022 All said: the processor has too many cores which is not allowed by Community edition license So get an official distribution and an official/evaluation license: https://wrc.intersystems.com/wrc/coDistEvaluation.csp
go to post Robert Cemper · Oct 26, 2022 set claim=##class(Claim).%OpenId(claimnum) ; or similar set line=##class(ClaimLine).%OpenId(linenum) ; or similar do claim.ClaimLineRel.Insert(line) now your query should work
go to post Robert Cemper · Oct 14, 2022 This is intentional behavior.If the routine you changed calls some subroutine it is kept "on the stack"This is a requirement to have a save return and continuation after the call. The new version only becomes active after you have left the previous one by QUIT or RETURN.simpler: if it is gone from the return path.
go to post Robert Cemper · Oct 11, 2022 You may have only 1 command: in each buildthe 2nd overwrites the first iris: image: intersystemsdc/iris-community:latest command: --check-caps false container_name: tls-ssl-iris networks: app_net: ipv4_address: 172.16.238.20 volumes: - ./iris-config-files:/opt/config-files # Mount certificates files. - ./certificates/CA_Server.cer:/usr/irissys/mgr/CA_Server.cer - ./certificates/iris_server.cer:/usr/irissys/mgr/iris_server.cer - ./certificates/iris_server.key:/usr/irissys/mgr/iris_server.key hostname: iris # Load the IRIS configuration file ./iris-config-files/iris-config.json command: ["-a","sh /opt/config-files/configureIris.sh"] this worked as multi-line command: - -a - sh /opt/config-files/configureIris.sh - --check-caps false BUT command: ["-a","sh /opt/config-files/configureIris.sh","--check-caps false"] works as well
go to post Robert Cemper · Oct 6, 2022 in my package GlobalToJSON-ePython-pureI developed this workaround: #; simulate $data() for existence and content def Ddata(gref): val = None _d = 11 #; check for subscripts o=gref.order([]) if o == None: _d -= 10 try: val=gref.get([]) except KeyError: #; no value @ top node _d -= 1 return [_d,val]
go to post Robert Cemper · Sep 21, 2022 The actual GTY is containers.intersystems.com/intersystems/webgateway:2022.1.0.209.0 And there is no :latest defined
go to post Robert Cemper · Sep 21, 2022 You may use input redirection as you find it in almost all Dockerfile installations: RUN iris start IRIS \ && iris session IRIS < iris.script \ && iris stop IRIS quietly and iris.script (as example) zn "%SYS"Do ##class(Security.Users).UnExpireUserPasswords("*")zn "USER"
go to post Robert Cemper · Sep 20, 2022 I miss this in your Trigger code:%ok: A variable used only in trigger code.If trigger code succeeds, it sets %ok=1.If trigger code fails, it sets %ok=0. see %ok, %msg, and %oper System Variables
go to post Robert Cemper · Sep 19, 2022 Class Reference of %SYSTEM.Status says:classMethode IsError(statuscode As %Status) as %Boolean Returns 1 if the statuscode contains errors. Otherwise, it returns 0. So if you get [res] as (0,....) it is an ERROR! and therefore the result of IsError should be 1. It is an Error.
go to post Robert Cemper · Sep 18, 2022 %BI classes date back to Miner (DeepSee-1) and just were left in Caché over a decade at leastwhile its functionality was replaced by %DeepSee classes more than 10 years ago. Of course, you can map all %BI.* classes to some DB where you have R/W access and import it from Caché.that's about 300 Classes.BUT: no one can tell you if they compile correctlyAND: you have to take care of the hidden %bi*.obj (~430) and other deployed code which you can't compile, but import and pray they work.SO: this doesn't look like a promising approach.Therefore I'd suggest migrating from %BI to %DeepSee in Caché first and to IRIS next