go to post David Underhill · Oct 18, 2019 That looks ideal for what we need, not sure how I missed this in the past.
go to post David Underhill · Oct 17, 2019 Thanks for the clarification. The fact that the current download is slightly different from the norm due to a Global Summit launch does highlight the need for a brief explanation of the version you are downloading though.
go to post David Underhill · Oct 14, 2019 I second having the conatiners available in the same place. Also could you show the version number available before downloading and are these production releases or previews?
go to post David Underhill · Oct 3, 2019 We had a similar issue at a site and it turned out the routine index was corrupt, recompiling all routines solved this.
go to post David Underhill · Oct 3, 2019 Just a quick note. I found that when creating a new database it was best to initially use SYS.Database so you can specifiy max size etc.. s db=##class(SYS.Database).%New() s db.Directory=directory s db.Size=initialSize s db.MaxSize=maxSize s db.GlobalJournalState=3 s Status=db.%Save() Then finalise with Config.Database s Properties("Directory")=directory s Status=##Class(Config.Databases).Create(name,.Properties) s Obj=##Class(Config.Databases).Open(name) s Obj.MountRequired=1 s Status=Obj.%Save() This might not be the best way to do it, I'm open to improvements.
go to post David Underhill · Oct 3, 2019 Hello Dmitry, I have used the extension and am very impressed but obviously any change in toolset has to be agreed accross the business and will require changes to the development and version control process, hence a reluctance until we know what Intersystems have planned. Apologies if I have missed a feature post but does the extension replicate the Studio Add-Ins such as the SOAP Wizard as these are very useful to us. Regards David
go to post David Underhill · Oct 1, 2019 Hello Evgeny, Thanks for the response, of course I am aware of the various plugins hence my question of relying on 3rd party tools. That old post does not really answer the question on what Intersystems future plans for development tools are, it just confirms effective end of life for the current ones. Also, only fixing critical issues means reported problems will generally not be fixed anymore as they are pretty stable, something I have already experienced. I don't have a particular problem with moving to VSCode supported by 3rd parties but some confirmation of this from Intersystems so developers can plan to move in that direction would be appreciated but noone seeems to want to commit to any answers. It also starts the question of how will Intersystems provide the ability for these 3rd party tools to replicate and extend the functionality available already, again there are no answers. Regards David
go to post David Underhill · Oct 1, 2019 Hello Evgeny, Slightly off-topic but it is interesting you are using VSCode. I have asked at various times, including the last symposium, what the plans are for development tools given that both Studio and Atelier have essentially been end of life for quite a while now, well over a year, but the response is always the same, there is a plan but we cannot announce it yet. Is VSCode the way Intersystems is going? Does this mean we are now relient on 3rd party development tools? Are there plans to create some way to replicate functionality such as the SOAP wizard in VSCode? I was hoping there might be some details out of the summit but I haven't seen anything yet. Regards David
go to post David Underhill · Aug 21, 2019 Yes, when Cache was up we had a class that would run in Cache Task Manager which would alert on issues and also log metrics.In Windows we had a script that ran in Scheduled Tasks which would alert if the Cache status was invalid (i.e. not "running" or "down") using "ccontrol list nodisplay > outputfile" or if alerts.log existed.
go to post David Underhill · Aug 21, 2019 We coded all the journal and data file monitoring in Cache itself and just had simple checks on the running status and alerts.log externally, keeps it fairly platform independent.On windows we used vbscript to check service status and log contents.
go to post David Underhill · Aug 20, 2019 Hello Gagan,Have you checked the value in sc from ftp.Store?Also at that point you can check the values in ftp.ReturnCode and ftp.ReturnMessage for more details on the failure. This is also assuming that the status from ftp.Connect is ok and ftp.Connected is true.
go to post David Underhill · Jul 12, 2019 No, this works independantly. It could be a lack of understanding but the problem we had is that the monitor is just that, it provides warnings and alerts based on parameters or out of norm measurements.We wanted an easy way to report on usage so we could spot trends/growth over time and possible future issues.
go to post David Underhill · May 10, 2019 A valid point but it can depend on how the command string is formed in the first place, unless you write a parser to break a command string down into a command plus arguements. I agree that you may as well use $zf(-1 but as the documentation will point you to use $zf(-100 then it can be valid.It's also usefull to know you can use brackets in this way for general knowledge.
go to post David Underhill · May 9, 2019 If you want to store the files in the database rather than the filesystem then you can use the Global* streams instead of File*, these also do not create the .stream files in the filesystem.
go to post David Underhill · May 9, 2019 Alternatively you can wrap it in brackets$zf(-100,"/SHELL", "(ps -Af | grep username)" ,"")
go to post David Underhill · Dec 19, 2018 This is a good idea, hopefully everyone will do this but I did have a problem.Perhaps I have done this incorrectly but I could not see a way to submit screenshots in the challenge and when you click the "lets review" button, or whatever the actual text was, it closes it as completed and there seems no way to submit a screenshot. Also, the link to the challenge is for the same challenge number as it appears in and it takes you to the Global Masters front page.Also, you don't seem able to review both as suggested, if you use the link again or search for the platform you haven't reviewed yet it will simply state you have already submitted a review. I suspect this is because using the link you have to choose between Iris or Cache and so the offer is for one or the other but not both.
go to post David Underhill · Nov 2, 2018 That's a good point and the code base example is useful but the question was specifically for leading zero's and the code base version might be overkill for this.
go to post David Underhill · Nov 1, 2018 $P is how I do it as well and due to a quirk of $P you don't even have to set the variable first although if it is possible a value might already exist it is reccommended.
go to post David Underhill · Dec 1, 2017 If you have an equivalent version of Cache installed with the manager source code available then take a look at briefsub^%GSIZE. You can copy this code and amend as you require, remember to include the sub routines it calls and you will have to set a few things up first. I've done similar things in the past on older systems, the code can look daunting at first but isn't hard to understand enough to use.On newer systems you would use the %Library.GlobalEdit class.
go to post David Underhill · Apr 2, 2017 Another clarification, ppg's are not limited only by disk space, just like all other databases the maximum size of cachetemp can be set to stop infinite growth, this means the ppg's have the same limit.Also remember, the more you use them the more cachetemp fills.One last point is that other parts of cache such as odbc queries also use cachetemp for storage and so the whole of cachetemp is not always available.As ever you have to plan usage appropriately based on the application and the database configuration.