go to post Vic Sun · Apr 30, 2020 Hi Michael, For issues with learning courses I would recommend reaching out to online.training@intersystems.com (from the Report Issue/Feedback sidebar on the learning pages).
go to post Vic Sun · Apr 29, 2020 The other commenters have good suggestions but I would recommend additionally collecting a pButtons to compare. Try and determine if there are any differences other than OS - hardware, memory configuration, global mappings, or anything else. We want to make sure we're comparing apples to apples! If everything seems to be the same, then you could reach out to the WRC who can help investigate this further.
go to post Vic Sun · Apr 28, 2020 Hello Eric, I'd recommend reaching out to the WRC for this at 617-621-0700 or support@intersystems.com.
go to post Vic Sun · Apr 27, 2020 As far as I know I don't think this behavior has changed in 2020. While I was testing the monitor myself recently I noticed the dropdowns getting cleared but when I saw that auto-refresh was disabled in newer versions I didn't think I needed to follow up on this. If you disable the refresh global you'll find that the tagline of 60s refresh no longer appears as well. If you really felt this was worth changing I'd recommend that you reach out to your ISC representative (or the WRC) but I would be prepared for the response that the monitor is not intended to be a complete solution. That is not to say that a change to help alleviate the behavior are seeing would not be considered, so if this is really tripping you up it would be worth reporting - maybe others have the same pain and there's enough momentum to get this addressed. You may find the following article useful in terms of building your own monitoring solution. https://community.intersystems.com/post/monitoring-intersystems-iris-using-built-rest-api Hope that helps.
go to post Vic Sun · Apr 17, 2020 Hi Julian, You could do this with a custom Ensemble utility function but from your description I think parenthesis syntax should work just fine. Defining Custom Utility Functions Parenthesis () Syntax HL7.(PIDgrpgrp(1).ORCgrp().OBR:UniversalServiceIdentifier.identifier) should return a concatenated string from looping through the ORCgrps - you could then search that string to find the value you are looking for. Hope that helps!
go to post Vic Sun · Apr 15, 2020 Hi Jordan, Check out the docs on private/public variables here: Callable User-defined Code Modules Variables You can pass the variable to the subroutine as a parameter or declare it a public variable - my guess it passing it as a parameter would be the "safer" option.
go to post Vic Sun · Apr 3, 2020 Hi Bharath, I don't really have any sample code for you but I'm not sure I (or other readers) have a good idea of what exactly you are trying to do. Have you already reviewed the class reference? I think the Create(), Get(), and Modify() documentation together describe quite well how you could use Security.Users. https://cedocs.intersystems.com/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=Security.Users
go to post Vic Sun · Apr 2, 2020 Hi Augusto, The role that handles backups is %Admin_Operate as documented here: Assets and Resources I don't believe there is a resource that specifically governs the external freeze/thaw capability, you would probably need to design something custom for that particular restriction. For example, you might assign your user a startup namespace or routine as documented here: Users Startup Namespace The namespace in which to begin execution following login from a terminal-type service or the Portal. This property overrides any namespace value provided via the command invoking Caché. Startup Tag^Routine The routine to execute automatically following login from a terminal-type service. This property overrides any routine value provided via the command invoking Caché.
go to post Vic Sun · Mar 31, 2020 Hi Laura, There are some tables covering schemas that might be of use to you as documented here: Exporting a Production "Export the underlying Caché global that contains the schema and then import this on the target system. To export a global, select System Explorer > Globals, select the desired globals and then select Export. The X12 schemas are stored in the EnsEDI.Description, EnsEDI.Schema, EnsEDI.X12.Description, and EnsEDI.X12.Schema globals. The XML schemas are stored in the EnsEDI.XML.Schema global. See “Exporting Globals” in the Using Caché Globals guide for details on exporting globals."
go to post Vic Sun · Mar 31, 2020 Hello Dan, I am struggling to understand the scenario that you are testing/planning for. Do you have an arbiter? I would read through the mirroring docs which discuss the various options available to you and the various automatic responses that mirroring can take (including some diagrams). https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GHA_mirror https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GHA_mirror#GHA_mirror_set_autofail_outages If you want to simulate network isolation, I think you'd need to actually network isolate. If you force the backup to become primary, Caché will try to force down the original primary to prevent split brain.
go to post Vic Sun · Mar 30, 2020 If you can't identify a permissions issue I would recommend opening a WRC case to investigate as it will probably take some looking around at your system to resolve, and that isn't easily done via a forum. Worth considering is if this works in other environments and if so what the difference in permissions might be, and if you can try the freeze or journal switch directly in Caché terminal (taking the OS terminal out of the equation).
go to post Vic Sun · Mar 2, 2020 Hi Joe, If you haven't seen it already, our Printers documentation could be useful for you. You could try printing some things from terminal just to test and then see if you can implement it into your production. Eduard's question is relevant as well to see what you can actually do.
go to post Vic Sun · Feb 4, 2020 I'd have to think a bit on what the "best" way to do this would be, but the following seems to work: %SYSTEM.Process.JobType() In my admittedly quick testing, it will return 0 for a process that doesn't exist.
go to post Vic Sun · Jan 9, 2020 Your user may have permissions to write a file to the output directory, but that doesn't mean you will have access to all the utilities that pButtons will try to run, including Windows Perfmon. There should definitely be more than 1 log file is a pButtons is running normally. I wonder if the Buttons report was able to collect its cstats as that also requires elevated permissions. You can check that section within the html report to see if it exists. I would definitely recommend opening an Administrator Windows command prompt and then navigating to \cacheinstalldir\bin, where you can use "ccontrol console <instancename>" to access the terminal. From there try to run a test pButtons.
go to post Vic Sun · Nov 26, 2019 Hello Duncan, Please see the following documentation. Defining and Calling Methods. Some examples: do ##class(Package.Class).Method(Args) set myval= ##class(Package.Class).Method(Args) write ##class(Package.Class).Method(Args) You may find some of the courses on learning.intersystems.com (linked in the top bar of the developer community as well) useful such as the Caché Objects Introduction.
go to post Vic Sun · Nov 26, 2019 Hi Tamara, The following developer community article may be of use to you: https://community.intersystems.com/post/how-make-phone-calls-using-cach%C3%A9-objectscript-and-twilio For text/SMS alerts though you can see the following sample from the developer community: https://community.intersystems.com/post/simple-text-messaging-alert-using-sms-gateway There is also an online course Setting Up Alerts to try the text code out.
go to post Vic Sun · Nov 22, 2019 Hello Roberto, I see that my colleague in the WRC has already addressed some of your concerns in the case, but to share some information with the developer community, here are some documentation links that may be useful to understand <STORE> errors: Low Memory and <STORE> Errors $zstorage bbsiz The first thing I notice is that your $zstorage is set to 16384. This is far below our modern default of 262144 (see bbsiz documentation). Is there a particular reason you would want to modify $zstorage on the fly rather than just have your system-wide setting be higher?
go to post Vic Sun · Nov 19, 2019 Hello Tamara, It sounds like you are looking for help getting familiar with Ensemble rather than specifically with the EnsLib.HL7.Operation.FTPOperation. Note that the operation is intended to send out a file from Ensemble to an FTP server, not to ingest a file; if you want to pull in a file from an FTP server to Ensemble you want an FTP Service. You can find some great starter materials on learning.intersystems.com. You can search for "productions" or "integrations" for some useful courses, but I would recommend "Building Your First HL7 Production." Specifically, I think the sub-course "HL7 I/O: Using HealthShare for Message Transmission" would be very useful. Some basic documentation is here also: Adding HL7 Business Operations Hope that helps! If you have more specific questions feel free to ask.
go to post Vic Sun · Nov 18, 2019 Hello Dan, As of Studio 2019.2 IRIS Studio is compatible with Caché and Ensemble as well. Studio is backwards compatible and the latest version is the most stable, so it seems that the only standalone Studio installation available is IRIS Studio. You can get older Studio versions by performing client installs using Caché kits, but there is no advantage to doing so.
go to post Vic Sun · Nov 4, 2019 Please make sure the version you are on is safe to run compaction. See Pete Greskoff's 3 links in this developer community post: https://community.intersystems.com/post/how-reduce-size-intersystems-cach%C3%A9-database-file-cachedat In InterSystems IRIS as of 2019.1.0, you have the option to monitor and cancel database tasks such as compaction: Using Character-based Security Management Routines ^DATABASE option 15. Show background database tasks"Displays a list of background tasks that are running or that have run since startup. You can also use this option to re-enter the monitor screen, where you can cancel a currently running task as well as purge the history of completed tasks. (Note that the tasks listed here are not the same as those listed as scheduled tasks in the Task Manager.)"