1. set tSC=...
do $SYSTEM.Status.DisplayError(tSC)
2. set tSC=...
zwrite tSC
3. An alternative?Is there a meaningful difference between the two? Should one be used over the other for any reason? Should something else be used?
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
A few months ago, I faced a significant challenge: streamlining the handling of business logic in our application. My goal was to extract the business logic from the code and hand it over to analysts. Dealing with a multitude of rules could easily result in a code littered with countless "if" statements, especially if the coder lacked an understanding of cyclomatic complexity. Such code becomes a source of pain for those working with it—difficult to write, test, and develop.
We recently went through an Audit of our Security Policies and Procedures when it comes to IRIS. As a result of that Audit, we need to make adjustments to the way that Security is setup within IRIS. I have already done my changes on our TEST and DEVELOPMENT environments, but now I am trying to plan out how do we make these changes in Production.
These changes include moving away from the PWS, setting up Apache/Web Gateway, moving to LDAP instead of using Delegated Authentication, updating Web Applications, updating Resources, updating Services, etc...
Good morning,
First of all thanks for reading this question.
We have been asked by a client to check if our Soap Service has charset / encoding "UTF-8".
We have been investigating the class "EnsLib.SOAP.InboundAdapter".
We only observe one reference to the charset as "Set tCT=$S(tCST:"binary/CST; charset=UTF-8"
Inside the method: WriteResp
We have read:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
I downloaded containers.intersystems.com/intersystems/healthshare_providerdirectory:2023.2 to evaluate, however when I try to run the container it keeps
exiting.
>docker run --name providerdirectory --user=irisowner --env=ISC_DATA_DIRECTORY=/intersystems/irisdata --runtime=runc -d containers.intersystems.com/intersystems/healthshare_providerdirectory:2023.2I keep getting the following, and I am not sure why...
InterSystems announces its first preview, as part of the developer preview program for the 2024.1 release. This release will include InterSystems IRIS®, InterSystems IRIS® for HealthTM, and HealthShare® Health Connect.
Ran into an issue this morning, that I am having a hard time trying to track down what might have caused the issue. We have a Business Rule that sends HL7 ADT to a Business Process that inserts the data into a MS SQL Server using a Custom Business Operation (SQL Outbound Adapter).
I am looking to run IRIS for UNIX on the Linux Ubuntu 22.04 platform and need to determine which filesystem configurations are considered supported. The three options under consideration are Ext4, LVM with Ext4, and OpenZFS. Currently, the system is running on a raw Ext4 filesystem, but there is a desire to switch to either LVM with Ext4 or OpenZFS to make it easier to handle disk usage.
This leads to two questions:
Are either of these two configurations considered to be tested and supported by InterSystems?
Wondering what version the Information.Schema schema was introduced, so that I can decide how to query the metadata for user defined tables.
Thank you!
For Microsoft Windows, please consult the InterSystems product documentation.
The IRIS installer will detect if a web server is installed on the same machine, which gives you the option to automatically have the web server configured.
All Apache installations will require sudo (recommended) or root permission to install the web server. This requirement supports recommended best practices.
I've created a Rest Service as described here
Configured the webapplication as described in the previous link, and now have a URL which I call in PostMan
http://VIR-HC-DEV-01.gmmh.nhs.uk:52773/api/mgmnt/v2/parisconnect/PCRestWhich returns the JSON spec as I would expect:
Update - I answered my own question, so I'll just leave this here in case it can help someone.
Hi All
I'm following the tutorial Creating and Editing REST Services and have reached the step Using ^%REST to Create a Service and have encountered an error.
Here is grab of the terminal command:
I have been struggling with a docker run command that kept crashing, the error message was too generic to point me to the right direction.
Since the container is shut down after the failure, I was unable to login to it in order to figure out the problem.
I had to run the container in a way that I'll be able to log into it before it crashed, so I found the adding -u false prevents the docker run command to run the iris session IRIS and the container stayed up and running. then I was able to log into it using:
docker exec -it <container id / name> /bin/bash
Hello everyone,
Hi Community,
Immerse yourself in our fresh video on InterSystems Developers YouTube:
⏯ Data Fabric Demystified - Patterns and Examples @ Global Summit 2023
1. set tSC=...
do $SYSTEM.Status.DisplayError(tSC)
2. set tSC=...
zwrite tSC
3. An alternative?Is there a meaningful difference between the two? Should one be used over the other for any reason? Should something else be used?
Last Friday November 17 suddenly ran into an error where ZPM would issue an error saying:
ERROR! Object open failed because 'Name' key value of 'xx' was not found
I googled but found no specific help. Step by step I was able to conclude that:
Hello,
I am trying to use the %ToJSON method on my dynamic object, calling it with a "DO" and not passing in outstrm parameter.
We are trying to avoid MAXSTRING errors that we get with some of our abnormally large messages. In order to do this, I am trying to update my code to not call the socket's "Write" method after converting the dynamic object to a JSON string using the %ToString method's output. Per the documentation on the %ToJSON method:
If outstrm is not specified and the method is called via DO, the JSON string is written to the current output device
We are running Batch job in scheduled task and the messages are picking in single session and it is not easy to trace the record.
I used the Set ..%SessionId= "" at before sending the message to BP but I see the session Id is '1' created for each message.
Is there anyother way to create new session for each message sending to BP?
Thanks,
Hello, I tried to read a XML list from a web service into a response class by creating a custom collection subclass as described in this documentation page
Here's the XML file I am trying to read:
<Suppliers><Supplier><row>1</row></Supplier><Supplier><row>2</row></Supplier></Suppliers>And the different classes I defined to project the XML into:
If you need to migrate your server for some reason, you can reduce the setup work by copying configuration information from the pre-migration environment to the post-migration environment.
The following setting information can be migrated.
In this article, I walk through the %JSON.Adaptor class. This class is extremely useful in exporting data into serialized JSON and importing the JSON objects and saves into class object.
I'll start with the %JSON. Adaptor parameters. The parameters are crucial part of the JSON import and export operations.
Hi,
I've created an Object Gateway via the System Management Portal, and installed the following Java classes to allow connectivity between the IRIS server and RabbitMQ ...
RabbitMQ.jar
amqp-client-5.18.0.jar
slf4j-api-1.7.36.jar
slf4j-simple-1.7.36.jar
I've used the Java Gateway wizard via Studio and compiled the java classes that this would refer to, and a quick test worked on Day 1. However, on Day 2, on trying to connect, I got this error :
<ZJGTW>%ProcessErrorNew+11^%Net.Remote.Proxy.1
However, if I go back into the Java Gateway wizard in Studio, and 're-create' the classes
In VSCode using the InterSystems extensions, I now have an almost working environment where routines can be created or modified on disk and these are pushed to the developer's IRIS instance.
One issue I'm finding whilst testing is that if I rename or delete a routine from disk, the change isn't pushed to IRIS and I can't work out how to make this happen.
I am trying to pull out something similar to an HL7 date/time stamp in a custom zen page , in a javascript code section.
var d = new Date();
(Fri Jan 12 2024 16:58:30 GMT-0500 (Eastern Standard Time)
but,
var year = d.getFullYear();
<Error>
d.<formatcmd> doesn't seem to work. (d.getmonth, etc.)
Is there and date formatting I can use inside a javascript routine?
The company I work for have a repository for one of our products which already contains both InterSystems and non-InterSystems source code. I'm in the process of trying to migrate us over to using VSCode to edit the InterSystems source but am stuck on some issues surrounding the files on disk and the routines in the IRIS instance.
Hi,
I have this IRIS server, NODE1. NODE1 is a Linux server running IRIS.
To connect to IRIS on this server I:
From my PC ssh (via putty) to NODE1
From the putty session, I, "iris session <iris instance>"
I was hoping to use iristerm on my PC:
I put NODE1 into IRIS Server Manager
From my PC, I, "iristerm /server=NODE1"
I get this error message:
"TCP connect() failed"
How to get this to work?
The 2023.1.3 extended maintenance releases of InterSystems IRIS, InterSystems IRIS for Health, and HealthShare Health Connect is now available. It provides bug fixes for any of the previous 2023.1.x releases.
You can find the detailed change lists / upgrade checklists on these pages:
The software is available as both classic installation packages and container images. For the complete list of available installers and container images, please refer to the Supported Platforms webpage.
When using VS Code to develop with Object Script, the Server Credentials prompt for connecting to the IRIS instance is happy accept a blank for UnknownUser. See screen shot:
From here VS Code happily connects to the IRIS instance using unauthenticated access. But the standard VS Code "Go To Definition" appears to do nothing. Whilst looking through the documentation I found that in the Language Server extension, there is a setting to output verbose trace details. With verbose output switched on, trying the "go to definition" of some code, the output shows this:
When I do $TRACE("message") I can see the message on the message viewer. However, I don't know where to find messages generated from $$$sysTRACE, and I haven't found anything about it in the documentation.
Do you know where I can find it?
Hey Developers,
Watch the latest video on InterSystems Developers YouTube: