go to post Vic Sun · Oct 15, 2020 Hello Pavithra, For this level of question I think it might be helpful to reach out to your InterSystems account team. I am sure they will be able to assist you with this project.
go to post Vic Sun · Oct 14, 2020 Hi Nora, The CopyFile method's documentation in the InterSystems class reference does say that the file will be overwritten. https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25Library.File#METHOD_CopyFile This documentation may help you with the appending: Sequential File I/O
go to post Vic Sun · Oct 13, 2020 Hello Pavithra, The other post seems to have what you need. You can't put an entire dynamic object into an HL7 message and have the extra segments be generated automatically. I'd suggest iterating through the dynamic object and placing each value into a separate segment, specifying the target (repeating) segment using SetValueAt.
go to post Vic Sun · Oct 12, 2020 Hi Steve, I don't have a lot of experience with this but I have heard of a Web Gateway container that includes Apache. "The webgateway image available from InterSystems, which includes both the Web Gateway and an Apache web server, provides a web server component for containerized deployments of InterSystems IRIS-based applications. Automated deployment of the Web Gateway container can be effected by using manual procedures to develop a CSP.ini file containing the desired Web Gateway configuration, as well as apache2.load and apache2.conf files specifying the desired Apache web server modules and configuration, and placing them in their expected locations in the Web Gateway container (/opt/webgateway/bin/ and /etc/apache2/mods-available/, respectively) as part of the deployment process. The durable %SYS feature and the Web Gateway’s entrypoint application /cspEntryPoint.sh provide a simple way to do this, as the script automatically links these files (plus the CSP.log log file) to the corresponding files on the specified durable %SYS volume."
go to post Vic Sun · Oct 12, 2020 Hello Mikael, What do you mean by locking resources? I think Call Interval should be appropriate for the behavior you want, but I'm not sure what complication you're referring to. A common suggestion here might be the Ensemble schedule handler, but I'd not recommend that as per the documentation this isn't intended for specifying specific processing times, but activation windows for the interface. The documentation also discusses creating a more general scheduled task and having it call CreateBusinessService() and ProcessInput() but this would be much more involved than just using Call Interval.
go to post Vic Sun · Oct 5, 2020 Hello Yone, You linked the custom schema documentation - that seems to be appropriate for working around this. What exactly were you having trouble with?
go to post Vic Sun · Oct 5, 2020 Yone, Your service's ack mode is set to never. Depending on what you want you'll need to adjust that setting.
go to post Vic Sun · Oct 1, 2020 Hi Norman, Not sure if this helps, but write commands generally interpret $char whereas zwrite won't. I'm not sure what you're using to output to a file but perhaps you could try using zwrite. I'm not sure what the portal uses, maybe somebody else has a cleaner solution.
go to post Vic Sun · Oct 1, 2020 Hello Gunwant, How are you intending to use LDAP? Using LDAP This documentation covers that you can configure LDAP to use TLS for Caché authentication.
go to post Vic Sun · Oct 1, 2020 Hello Ruslan, What is localdemon.exe? I have never heard of it and I can't see it in my Windows installations. How does this interact with Caché?
go to post Vic Sun · Sep 29, 2020 One set of errors that stood out to me is: 09/25/20-15:45:16:790 (9924) 1 SNMP server failed to start: 0,Error (2) signaling Windows SNMP Service; check Service is installed/started.09/25/20-15:54:17:010 (8972) 1 Error reading from SNMP port, Windows SNMP Service may have terminated connection. I'd recommend reviewing the documentation I linked for some other suggestions, but I'd start by trying to verify that snmp works at the Windows level, separate from Caché.
go to post Vic Sun · Sep 25, 2020 Hi Han, Is the problem you are seeing that you can't set up SNMP with Caché? The error you pointed out is most likely Windows error 2 file not found. Does the referenced file exist? Perhaps the permissions are incorrect. Maybe this error is not the important one, as after that it seems startup continues until we see the following: 16:58:25 :Error response from Cache instance ENSEMBLE 'requestDenied', make sure $$start^SNMP has been run. Has $$start^SNMP been run? You can find setup/troubleshooting steps in the documentation here: Monitoring Caché Using SNMP
go to post Vic Sun · Sep 23, 2020 Robert, 57772 was the default web server port for Caché, but for IRIS the default port is 52773. This setting is configurable, so you can check the messages.log in <install directory>/mgr/ to confirm which port is being used with the message I described in my previous comment. Alternatively, "iris list" will also tell you the port number.
go to post Vic Sun · Sep 22, 2020 Robert, This indicates a problem with your web server settings in Atelier - is localhost:57772 the appropriate setting? If this is a local instance of IRIS and you are using the private web server, your messages.log will show: "Private webserver started on #####" which is the port you would want to use here.
go to post Vic Sun · Sep 17, 2020 Hi, I see in your previous post Marc Mundt suggested a lookup table, which seems like a good candidate here. Is there a particular reason you wouldn't be able to implement that or are looking for another option?
go to post Vic Sun · Sep 16, 2020 Also see SYS.Database, which in addition to that class reference link is documented in brief here: Databases (Caché & Ensemble 2018.1.3 — 2018.1.4 > Caché Development References > InterSystems Programming Tools Index > Tools Index > Databases)
go to post Vic Sun · Sep 16, 2020 Hi Bharath, I'm not sure what exactly you're trying to do but trying to invoke a CHUI in a script feels a bit clunky. Perhaps the Config.Journal and Config.Databases APIs would be useful to you.
go to post Vic Sun · Sep 16, 2020 Hi Devin, I'm not sure I understand exactly what you are trying to do, but if you are new to HealthShare/DTLs in general the following course might be helpful. https://learning.intersystems.com/course/view.php?id=133 "Building Your First HL7 Production" contains some links to videos, online courses, and other resources.
go to post Vic Sun · Sep 15, 2020 Ah, while it is disappointing that we don't have a 100% understanding of what happened here, I'm glad at least the problem hasn't been recurring.
go to post Vic Sun · Sep 3, 2020 Hello Bukhtiar, Not sure if you were just looking for the specific documentation that Francisco provided or something more general. If you want some resources on learning to work with InterSystems products (and specifically ObjectScript), I'd recommend reviewing the courses available on learning.intersystems.com. https://learning.intersystems.com/course/view.php?id=289 This course is "Learn Caché ObjectScript" and links to documentation, a tutorial, and an online course.