go to post Timo Lindenschmid · Mar 13, 2024 size 258 249 all unit tests passed ClassMethod Type(a...) As %String { s (f,r)=0,c=2 i $g(a){f i=1:1:a{s $p(b,",",*+1)=$zstrip(a(i),"*"," ")} f{q:(c=$l(b,",")) s p=$l($p(b,",",$i(c)-1))-$l($p(b,",",c)),f=$s(p>0:-1,p<0:1,1:0) i f,r,r'=f{ret "Unsorted"} s:f r=f}} ret $s(r<0:"Decreasing",r>0:"Increasing",1:"Constant") }
go to post Timo Lindenschmid · Mar 5, 2024 Just wondering my initial thought was that just use the master process to initiate the transaction check the returned stati and rollback if it has failed. This can be done with WQM easily enough. Set queue=$system.WorkMgr.%New() If (queue="") { // Report Error, can check %objlasterror for %Status code } TSTART For i=1:1:100 { Set sc=queue.Queue("##class(MyClass).ClassMethod",i) If $$$ISERR(sc) { // report error } } Set sc=queue.Sync() If $$$ISERR(sc) { // A worker encounteres an issue TROLLBACK } and { // no errros reported by workers TCOMMIT } That should work just fine, i haven't tested it though.
go to post Timo Lindenschmid · Mar 5, 2024 Hi Anna, this would iterate through a file line by line checking if the line contains a keyword and then outputting the line. also it will continue outputting until another condition resets the found variable to 0. Set stream=##class(%FileCharacterStream).%New() Set stream.Filename="c:\myfile.txt" set keyword="MyTestWord" set found=0 While 'stream.AtEnd { Set line=stream.ReadLine() if (line [ keyword) { // the line contains the keyword out put line w !,line set found=1 continue } if (found=1) { // keyword was previously found so continue outputting line w !,line } }
go to post Timo Lindenschmid · Feb 29, 2024 If you mean something like this? This is essentially only displaying a "good" functional spec definition plus /// supplied documentation.
go to post Timo Lindenschmid · Feb 11, 2024 Hi Abdulaziz, In TrakCare you can attach any type of file to a patient record. But that does not transcribe an audio file into a text. (I think that is what you are after in case of dictation.) TrakCare fully relies as far as i know on 3rd party software atm to provide dictation features. Best Regards Timo
go to post Timo Lindenschmid · Feb 7, 2024 Hi, there was a breaking change after upgrading some IRIS version in regards to credential stored in IRIS for ldap connections. Can the user logon to SMP using LDAP successfully? If not, then it might be worth a try deleting the user account for the user marked as LDAP. in IRIS, It will get recreated on next successful login.
go to post Timo Lindenschmid · Feb 7, 2024 ClassMethod MultiTap(t) As %String { f{s f=$f(" _ADGJMPTW,__BEHKNQUX,__CFILORVY,_______S_Z",$e($$$UPPER(t),$i(i)))-1 q:f=0 s $p(e,f#11-1,*+(f\11+1))=""} q e } Size 123
go to post Timo Lindenschmid · Feb 6, 2024 Roberts approach is correct for mapping the class into another namespace. You have to use package mapping to map the class AND Global mapping to map the storage location.
go to post Timo Lindenschmid · Feb 5, 2024 Your approach is actually correct. Just in class Bna.Init.Main extend Bna.Utils.Sql. Then call the get method using set status=..SelectFirstColsInArray(query, .userIds) That should work.
go to post Timo Lindenschmid · Feb 1, 2024 hmm i just did a bit of searching and found this Volume Snapshots | KubernetesAs i have never worked with kubernetes i don't know if this can be leveraged to get a "Backup" volume.
go to post Timo Lindenschmid · Feb 1, 2024 Having an instance frozen for 8minutes is not so good in my experience. Have you considered to move to snapshot based external backups? Using ShadowCopies on windows and LVM snaps on Linux? This will reduce the freeze time to the time used to actually take the snapshot. Then CommVault can backup the snapshot drive while IRIS continues on unfrozen.
go to post Timo Lindenschmid · Feb 1, 2024 Hi, This sounds like a misconfiguration on the webgateway. PWG get configured automatically by IRIS for all web applications. Not sure if this happens for the external webgateway. There also could be an issue with webgateway integration into external apache. Also worth to check audit database in IRIS. To see if any errors get logged. Hope this helps. Best Regards Timo
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.