go to post Timo Lindenschmid · Dec 15, 2023 No t100% sure what you are after but if you just want to generalize the if then something like this will do: set key1=1 set key2=2 if ($piece($get(^global(@key1,@key2)),"*",2)=c) { quit }
go to post Timo Lindenschmid · Dec 8, 2023 How, did this instance get installed?During IRIS install you get asked if you want to add ML components or not as this increases the disc size required. Best RegardsTimo
go to post Timo Lindenschmid · Nov 30, 2023 Hi Rochdi, this might be the local firewall on the server blocking it. Also ensure th eport you are trying to use is not in use by something else. Best regardsTimo
go to post Timo Lindenschmid · Nov 6, 2023 just to mention this is not totally correct. Ensemble/IRIS does not need to be stopped to take a backup of dat files. There is an api that can be used to freeze and thaw disk activity during a backup. This is intended to be used with snapshot type backups though as the freeze duration is limited by memory available and DB activity.refer to: Backup - external freeze
go to post Timo Lindenschmid · Oct 20, 2023 Hi Scott, IRIS requires at least one enabled user with the role %All (e.g. superuser) If you got one enabled there is no dependency on the installer user to be enabled. Actually, its good practise to disable that user. Best Regards Timo
go to post Timo Lindenschmid · Oct 19, 2023 Hi Chen, i would suggest for you to open a WRC ticket. Best Regards Timo
go to post Timo Lindenschmid · Sep 8, 2023 Hi, using zf will always be difficult as IRIS is not running a root. You will need to configure the OS to allow privilege escalation for the irisusr, which open quite a big door. Or allow irisusr to start/stop httpd, which might be the safer way. The other options is, if this is only about the application via webgateway contacting the correct primary. 1. set web gateways to be mirror aware 2. configure a VIP address in the mirror and point the cspgateways to this ip address.
go to post Timo Lindenschmid · Aug 30, 2023 Hi, SSL error 54 points to an issue with an untrusted certificate in chain.
go to post Timo Lindenschmid · Aug 21, 2023 Hi Jennifer, first things yes mirroring is supported in AWS and Azure. What is not working is the automatic VIP failover managed by IRIS. This is due to limitations imposed by the cloud providers, as you cannot dynamically add an IP address. For this usually a loadbalancer is utelized, that queries a specific csp page on the mirror servers to decide which mirror is active and redirect the "VIP" accordingly. Also depending on what access (application,xDBC) you need, you can deploy a load balanced array of web servers. These can host the webgateway, which in turn can be configured to be mirror aware and does no tneed a VIP to automatically failover. Best Regards Timo
go to post Timo Lindenschmid · Aug 8, 2023 Hi,the issue is with your 2nd method return values. You have defined the method to return %String which is fine. But then at the end you quit $$$OK, which translates to a return value of 1.You need to build your return string e.g. set retVal="some string:"_variableExample return retVal
go to post Timo Lindenschmid · Aug 8, 2023 Hi, question is here how is that global being populated/created? Is this global defined by usage of a class inheriting from %Persistent? If so, a fast way would be to be using %Extent to enumerate all instances and then look at the rowcount. e.g. set query = ##class(%SQL.Statement).%New() set qStatus = query.%PrepareClassQuery("User.Person","Extent") set rset=query.%Execute() d rset.%Display() zw %ROWCOUNT
go to post Timo Lindenschmid · Aug 1, 2023 most of the solutions don't cater for the ")(" case being not valid here is mine size 92 ClassMethod IsValid(s As %String) As %Boolean { s r=1 f {s c=$e(s,$i(i)) q:c="" d:c="(" $i(r) d:c=")" $i(r,-1) q:r<1} ret $s(r=1:1,1:0) }
go to post Timo Lindenschmid · Jul 4, 2023 40 ClassMethod Check(word As %String) As %Boolean { ret '$match($ZCVT(word,"U"),"(.).*\1.*") } or 39 using $$$UPPER ClassMethod Check(word As %String) As %Boolean { ret '$match($$$UPPER(word),"(.).*\1.*") }
go to post Timo Lindenschmid · Jul 3, 2023 As per Jeffrey latest ISC studio should work fine. Also it might be the time to start the discussion for the move from Cache2017 to IRIS. With IRIS you will also get other IDE options like VSCode.
go to post Timo Lindenschmid · Jun 1, 2023 Is this backup planned to be done once daily? continuously? if it once daily, the easiest way would be find the storage global you class is saved in then e.g. ^MyClass.CurrentTableD and copy that into another backup global e.g m ^BackupGlob($H,"BackedUpData")= ^MyClass.CurrentTableD
go to post Timo Lindenschmid · May 23, 2023 Hi Pietro, i don't have a cloning tool yet. Usually i export the "template" task, then modify the xml a needed and reimport. Cheers Timo
go to post Timo Lindenschmid · Apr 5, 2023 So just looking at your SQL,. You got 2 parameters in your where clause. Select ID, Name from MSDS_Common.ComponentSub Where (? is null or %UPPER(Component)[%UPPER(?)) and Active=1 If the first dropdown is null this will always be true if Active is 1 Try changing the where clause to Where (? is null AND ( %UPPER(Component)[%UPPER(?)) and Active=1 This will check if first parameter is empty and if subcomponent contains the second parameter and if its active.
go to post Timo Lindenschmid · Mar 27, 2023 If the source class is in deployed mode, there is no way to modify the source code.