go to post Yaron Munz · Nov 3, 2023 No, there is no limit for the size of %Library.DynamicObject, but the %ToJSON() might give a <MAXSTRING> - here is a workaround for such: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...
go to post Yaron Munz · Oct 26, 2023 Robert, WIJ is used to write data to the Db. WIJ holds the copy of Db blocks before they are written to the Db to allow to keep Db integrity (Cache checks if there are "dirty" blocks on WIJ when started, if so writtes them to the Dbs). "cache buffers" are used to store blocks that were READ from the Db to aviod disk access for concurrent reads
go to post Yaron Munz · Sep 12, 2023 For a-sync mirror membwers, you could use the query: Set result = ##class(%ResultSet).%New("SYS.Mirror:MemberStatusList") and then to iterate on result and do the necessary cheeks.
go to post Yaron Munz · Sep 7, 2023 Great workaround. I remember that I had a problem few years ago that the WebTerminal was unable to do:ZLOAD routine ZPRINTI did some (ugly, must say) changes in the broker to let this workDoes your wrapper is able to handle this as well?
go to post Yaron Munz · Aug 24, 2023 I would recommend that in systems that the audit database is big or huge you stop IRIS and move that database to another disk. Then change in IRIS.CPF (Database section) the location for the audit database.
go to post Yaron Munz · Aug 22, 2023 Check the user "task2" permissions, maybe this user does not have permission to the audit databse?
go to post Yaron Munz · Jun 19, 2023 Which browser do you use? I noticed that in Edge the credentials box is not popped-up resulting an 401 error, so you need to work with "IE mode" (on chrome, it does pop-up).
go to post Yaron Munz · Jun 13, 2023 I started programming around $H=55000.Found in old MSM languange refrence manual ver. 4.4 that: $ZU(1) and $ZU(0) are same as $ZUCI(1) and will returns the external name "UCI,VOL" for the current UCI
go to post Yaron Munz · Jun 6, 2023 I would check the following: 1. Check the %SYS.Task class with SQL but also do an Integrity check, to see if there are any errors on those globals that hold that task manager data. 2. if the "corrupted"/"copied" task (with $h=0) is the one that consume 100% of CPU, I would try to "re-schedule" it to see if the new "next date" is set to something else. If not, to delete (you don't need to re-create it, looks like 1001 is a copy of 1000) 3. Monitor the 100% CPU task (SMP or JOBEXAM) to try to understand at what commands it's "stuck"
go to post Yaron Munz · May 31, 2023 you need to have an object from the %Dictionary.CompiledClass not from "your" table/class. Then you will be able to access all those Methods, Triggers, Incidies and so on. The code I gave is a working code, not a pseudo code.
go to post Yaron Munz · May 31, 2023 SQL adaptive mode s not avail. on 2022.1.2 but only on 2023.1 (right) %SYS>s Status=##Class(Config.SQL).Get(.Properties)%SYS>zw PropertiesProperties("ANSIPrecedence")=1Properties("AdaptiveMode")=1... Properties("TimePrecision")=0
go to post Yaron Munz · Apr 28, 2023 all headers are stored in the %request.CgiEnvs("HTTP"_xxxxx) You may do something like this in the OnPreHTTP method in your CSP page: Kill ^yourGlobalS a="" F { S a=$O(%request.CgiEnvs(a)) Q:a="" If $E(a,1,4)="HTTP" Set ^yourGlobal(a)=%request.CgiEnvs(a) }
go to post Yaron Munz · Apr 25, 2023 if you encounter another situation that you cannot add a space before the # you can do: <server>W #($select($data(^ImportantFlag)#2:"Important!",1:"Normal"))#</server>
go to post Yaron Munz · Feb 24, 2023 Very good article, Yuri. Wonder when Intersystems will support AMQP protocol, to integrate seamlessly with ASB (Azure Service Bus)
go to post Yaron Munz · Feb 10, 2023 Hello, If the database that you copy/import routines is journaled, and changes to routines source (^ROUTINE) and compiled code (^rOBJ) will also exist in the journal files. There is also a ^rBACKUP but it is not relay holding old versions of routines (for this you will have to use wither studio-hooks or GIT)
go to post Yaron Munz · Jan 25, 2023 90 min. to 1M records is very low.It seems that the query is scanning at one of your big tables (Records maybe).Do you have indices on: Records.qw and on Records.erConsider to run the query in %parallel mode, after you optimize it.
go to post Yaron Munz · Jan 20, 2023 How exactly are you counting, Robert? to me it looks shorter than the previous one
go to post Yaron Munz · Jan 20, 2023 Class codeGolf.Pyramid{ ClassMethod Build(f As %Integer){ F i=1:1:f K s,c S ($P(s," ",f-i+1),$P(c,"#",i*2))="" W s,c,!} }
go to post Yaron Munz · Jan 19, 2023 Read this: CSP Session Management | Using Caché Server Pages (CSP) | Caché & Ensemble 2018.1.4 – 2018.1.7 (intersystems.com) - look at "Session Timeout"
go to post Yaron Munz · Jan 19, 2023 Yes the arbiter was unable to communicate. It looks like a network issue.I recommend you to open a WRC for that