go to post Aline Rena · Jun 21, 2017 It is not possible for a component within a production to update the production, which is what you are trying to do using the third parameter of EnableConfigItem equal to 1. That is why you are receiving ERROR <Ens>ErrJobRegistryNotClean (the process trying to update the production is trying to update itself).You should update the production by running UpdateProduction via Job command, as follows:Set tSC = ##class(Ens.Director).EnableConfigItem(pConfigItemName,0,0)Set tSC = ##class(Ens.Director).EnableConfigItem(pConfigItemName,1,0)job ##class(Ens.Director).UpdateProduction()Hope this helps.
go to post Aline Rena · Jun 21, 2017 Glad to hear that! I have met John more than 15 years ago in Cambridge when he kindly helped me with MSM-Workstation issues... Yes, he was a MSM authority too :) Congratulations, John!
go to post Aline Rena · Nov 8, 2016 This message is logged in cconsole.log (and alerts.log) when, during a transaction rollback, Cache finds a global node with an unexpected value, different from the value it had when the transaction started. The process keeps the unexpected value and logs the message. And your system won't hang because of that. The following commands can be used to produce the case: USER>s ^mytest = "before transaction" USER>tstart TL1:USER>k ^mytest TL1:USER>s ^mytest = "inside transaction" In a separate terminal session, run set ^mytest = "separate terminal" TL1:USER>trollback USER>w ^mytest separate terminal cconsole.log 02/22/11-13:09:09:250 (4832) 2 Skipping SET (kill) due to compare and swap failed on ^["^^d:\isc\c2010_2_0_454_0\mgr\user\"]mytest for records in d:\isc\c2010_2_0_454_0\mgr\user\ addr=158748 02/22/11-13:09:09:250 (4832) 2 Skipping KILL due to global ^["^^d:\isc\c2010_2_0_454_0\mgr\user\"]mytest already exist for records in d:\isc\c2010_2_0_454_0\mgr\user\ addr=158352
go to post Aline Rena · Sep 1, 2016 Check out this example: ListDir ; s ret=##class(%File).FileSetExecute(.x,"C:\temp","*","",1) f i=1:1 s ret=##class(%File).FileSetFetch(.x,.y) q:y="" s ^FileList(i)=y s i="" f d q:i="" . s i=$o(^FileList(i)) q:i="" . s mylist=^(i) . i $list(mylist,2)="D" s dir=$list(mylist,1) w !,dir . q q
go to post Aline Rena · Aug 24, 2016 Try username SYS password XXX. You can change the password using Control Panel|Security|User accounts ( TRM: account).Thanks.