I am having code like this,
set args = []
set resultSet = ##class(%SQL.Statement).%ExecDirect( , sql_whereClause, args)
Instead of placing args[1],args[2] etc into the above I want to pass the whole args at a time if it possible.?
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.
I am having code like this,
set args = []
set resultSet = ##class(%SQL.Statement).%ExecDirect( , sql_whereClause, args)
Instead of placing args[1],args[2] etc into the above I want to pass the whole args at a time if it possible.?
We often get questions about recent and upcoming changes to the list of platforms and frameworks that are supported by the InterSystems IRIS data platform. This update aims to share recent changes as well as our best current knowledge on upcoming changes, but predicting the future is tricky business and this shouldn’t be considered a committed roadmap.
With that said, on to the update…
Hello,
I would like to get a list of all globals that have been read or written during a given context. In Portal, there are counters in dashboard that give the number of read/write to globals in general.
What I am looking for :
- some handler (eg: like $ZTRAP) that will be called everytime something is read/written to a global.
- to activate a "global log mode" in Portal that will dump some information to a file (like ^ISCSOAP for SOAP requests).
I understand this is something that can considerably slow down IRIS, but it's intended to be used only for debbuging and under no load.
I have a repository on github. I wanna setup that repo into my local IRIS instance and also I want to work on different branch and commit those back to the same repo.
Please help me through this.
I also have a .DAT file which i think contains code and data and not .git folder. So how can i sync that to my git repo for further development.
how can i use git for versioning while working in IRIS.
I am having directory that i created while working in iris. How can i manage version control using git in this case.
Is it possible with vscode terminal or with a normal terminal in mac.
Hi there,
Please, could anyone tell me how can I set up VSCode terminal to IRIS terminal? I already saw this working in a video with docker version from IRIS Community. I have the Intersystems Extension Pack and IRIS Community locally installed.
Thanks
Hi folks!
Those who actively use unittests with ObjectScript know that they are methods of instance but not classmethods.
Sometimes this is not very convenient. What I do now if I face that some test method fails I COPY(!) this method somewhere else as classmethod and run/debug it.
Is there a handy way to call the particular unittest method in terminal? And what is more important, a handy way to debug the test method?
Why do we have unittest methods as instance methods?
Since SELECT ... FOR UPDATE is implemented in many RDBMS as a method of explicit row lock acquisition, I think there are many cases where this function is used.
This syntax is not an error for InterSystems products, but it does not acquire row locks as expected.
This article will show you how to achieve equivalent functionality.
DECLARE CURSOR C1 IS
SELECT Name FROM Person WHERE Name LIKE 'A%' FOR UPDATE
OPEN C1
LOOP FETCH C1 INTO name
.Using the Config.Configuration class and SYS.Database class methods, you can create and register a namespace database from the terminal.
Below is a series of execution examples that create database file /CacheDB/AAA/cache.dat and register database AAA and namespace AAA in the configuration file (cache.cpf).
* Execute in the %SYS namespace. *
* Make sure that this script runs as the user that is used for all IRIS processes to ensure that the directory has appropriate ownership and permissions *
Hello Team,
please can someone help me in the below.
I'm trying to call a Rest API below specification working in postman, and receiving perfectly the response:
POST /PharmacyServices/api/Pharmacy/Upload?Key=aaaa&Username=bbb&Password=ccc HTTP/1.1
Host: abc:38440
Content-Length: 240
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="File"; filename="///xxxx/POC/CSV/20230607.
Just for knowledge purpose. Is there any disadvantage of using IRIS on Mac/Linux machine over a windows system
Is there a API specification for the ZPM / IPM package manager for anybody that would like to implement their own registry?
InterSystems announces its third preview, as part of the developer preview program for the 2023.2 release. This release will include InterSystems IRIS and InterSystems IRIS for Health.
Many updates and enhancements have been added in 2023.2 and there are also brand-new capabilities, such as Time-Aware Modeling, enhancements of Foreign Tables, and the ability to use Ready-Only Federated Tables. Note that some of these features or improvements may not be available in this current developer preview.
I am curious as to why one would use lookup tables, and what would be the best practices regarding them. We have two namespaces, and we would like to use the lookup table in each one. But, there's no clear outline of when to use them, and what are the best ways to use them?
Any help is appreciated.
Recently I needed to restore a version of a production class, which was overwritten by compilation and running UpdateProduction. As the correct version was unavailable in the source control, I used journals to restore the data. Journals store a plethora of information about what's happening in the system and are quite a powerful tool. This article explains how to work with journals to extract the data you require.
how can i import IRIS.DAT file into iris system. I am told that it is database file that will be import into iris db.
Unlike IRIS Studio have compile depended classes feature. How to achieve this in mac on Vscode.
As a former JAVA developer it has always been a challenge to decide which database was the most suitable for the project we were going to develop, one of the main criteria I used was their performance, as well as their HA configuration capabilities ( high availability). Well, now is the time to put IRIS to the test with respect to some of the most commonly used databases, so I've decided to create a small Java project based on SpringBoot that connects via JDBC with a MySQL database, another of PostgreSQL and finally with IRIS.
Ran into an issue with our upgrade from HealthShare Health Connect 2018.1.3 to IRIS HealthShare Health Connect 2022.1, that I thought I would reach out about, I already have a ticket open with WRC and started a chat on Discord. We have a couple of MS SQL tables that I have setup as Linked Tables within Cache to query NPI, Patient Account Information, Visit information, etc.
At https://evaluation.intersystems.com/Eval/community-download/success/1391. I am not able to get the container version of the InterSystems kit.
.png)
I haven't used the product in a while but just discovered it won't start because the key is expired. Is it possible to get a new one?
On this GitHub you can find all the information on how to use a HuggingFace machine learning / AI model on the IRIS Framework using python.

Usage of Machine Learning models in IRIS using Python; For text-to-text, text-to-image or image-to-image models.
Here, models as example :
IRIS on mac unable to run my rest api which I created using spec first approach.
I am getting a 403 forbidden account error.
We are looking at what we need to do to migrate from our current usage of Zen reports to InterSystems Reports. One of the hurdles for us is figuring out ways to interact with InterSystems reports programmatically from ObjectScript routines. There is a Java API for it, but it is possible to generate a report from InterSystems reports to a stream object in ObjectScript without diving into Java by using a %Net.HttpRequest.
Tried running this command:
bash-3.2# cd /tmp/iriskit/IRIS_Community-2023.1.0.229.0-macx64/
bash-3.2# ./irisinstall
Getting Error:
The installer can't find a platform in this distribution supported by your system.
Contact InterSystems support.
Okay, we've got a quite useful way to very easily Import and export our objects as JSON, similar to what we already had before for XML.
So, It's a %JSON.Adaptor. But the issue here I faced with, working with Stream properties.
I have an example, when I generate an object, with stream binary stream properties. Export and Import the same, but getting the different resulting objects, depends on the original size of streams.
Class User.Test Extends (%JSON.Adaptor, %RegisteredObject)
{
Property Name As %String(%JSONFIELDNAME = "name");
Property HexStream As %Stream.Hi Community,
Watch this video to learn how to achieve true Interoperability in Healthcare Systems which is all about going beyond the typical "syntactic" interoperability and understanding what's needed to bring that interoperability to the next level in healthcare:
Hi all,
I'm wondering if is possible to call to a BO from a HL7 Route according to a parameter of the HL7 Message
I mean,
According to the identify of the laboratory, I want to call to other TCP process to retrieve information about blood tests.
We are creating the BO using this partern.
LAB.BO.TCP. + name of the laboratory.
The name of the laboratory is stoted in the lookup table T_LABORATORIOS
I've tried to assign the name into a variable and put it in the "send" instruction, but it doesn't work.
.png)
is it possible to call to a BO by a text variable instead of seleccting the BO from the production?
Hello,
Do you know if there is any way to disable the automatic tuning IRIS is doing every time a class is altered? It just takes too long in our case and is holding the system, so I'd like to tune the tables when I decide it (again).
I've seen in the documentation that for 2023 version there is an option present in the backend. But not for 2022, so I assume a flag is needed somewhere.
Many thanks!
InterSystems announces its second preview, as part of the developer preview program for the 2023.2 release. This release will include InterSystems IRIS and InterSystems IRIS for Health.
Many updates and enhancements have been added in 2023.2 and there are also brand-new capabilities, such as Time-Aware Modeling, enhancements of Foreign Tables, and the ability to use Ready-Only Federated Tables. Note that some of these features or improvements may not be available in this current developer preview.