#InterSystems IRIS

19 Followers · 5.5K Posts

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.

Question Scott Roth · Feb 15, 2024

Has anyone noticed that when IRIS is forced down that the EnsLib.JavaGateway.Services do not properly shut down and release the ports? While we can write a shell script to kill the processes at the OS level, I was wondering if anyone experienced this issue.

We are working on our Mirroring setup/failover and had the team testing forcing the Primary down to make the Backup to become the Primary Server. When this happened and we failed back, IRIS could not restart the JavaGateway.Services because the ports were still in use.

I am wondering if I need to write a %ZSTOP to ensure that these proces

0
0 220
Question Joshua Wigley · Feb 15, 2024

Hello,

I am trying to connect to a web socket endpoint that potentially has a number of different IP addresses for load balancing purposes. 

I have been asked whether it's possible to use a DNS name to resolve the IP address rather than statically assigning one specific IP address in the TCP Operation.

If it's not possible to resolve on a DNS name directly on the TCP operation, then I wondered whether it was possible to provide multiple IP addresses.

In the documentation, it mentions that I can provide a value like this "!192.168.1.1, 192.168.1.2, 192.168.1.3" for multiple IP addresses but

2
0 211
Article Hiroshi Sato · Feb 15, 2024 2m read

InterSystems FAQ rubric

The $ZF(-100) command is used in the following format.

$ZF(-100, flags, command name, command arguments)

The "/shell" flag is required when running OS commands.
For example, use mkdir like this:

 // mkdir C:\temp\newdir
 Write$ZF(-100, "/shell", "mkdir", "C:\temp\newdir")


If a command has multiple arguments, enclose them in double quotes and separate them with commas, as in the example below.

 // move C:\temp\a.txt C:\temp\a2.txt
 Write$ZF(-100, "/shell", "move", "C:\temp\a.txt", "C:\ temp\a2.txt") // net use Z: \\filesrv\public /user:user password
 Write$ZF(
0
3 372
Question Alex Baumberg · Feb 5, 2024

Hi all,

I'm very new to this ecosystem so please bear with me:

I've startted learning online and have installed everything I need. I have VS code and I have most definitely installed the pack (3 packages) needed for working on it with ObjectScript. Even though this is the case I'm running into 2 problems:

1. when I type "class" I only get 4 option for auto complete. no "class with multiple inheritances" or anything of the sort. In fact, no Class at all, only ClassMethod. ClassResponse etc.

2. It says in the docs to right click on a class and hit "Import and compile" but such an option d

3
0 375
InterSystems Official Fabiano Sanches · Feb 15, 2024

InterSystems announces its third 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.

Highlights

Many updates and enhancements have been added in 2024.1 and there are also brand-new capabilities, such as Using vectors in ObjectScript,  Vector Search (experimental), Multi-Volume Database, the ability to use Fast Online Backup (experimental), and the introduction of Multiple Super Server Ports. Many other improvements are also in this release, such as the Flexi

0
0 243
Question Virat Sharma · Feb 15, 2024

Hi Community,

I have below scenario

We have IRIS BI Reports in my application. Now these reports currently being acessed by users through dashboard url's.

I want to create a automated utility (background cache system task) which run these bi reports and export them to a specific path.

I am looking for a system method through which we can open these dashboard url's through code and export the excel report to a speciific path.

Thanks in advance.

1
0 177
Question Fabio Care · Feb 13, 2024

This may be a very specific problem but might help with some general information that I wasn't able to find anywhere.

I have started to train 2 IntegratedML models using AutoML one month ago.

My first attempt was very optimistic with a class that has  26 Properties and 100.000 datasets. I wasn't expecting good results, just wanted to test it. 
(CREATE MODEL ECLASSPREDICT3 PREDICTING (eClass) FROM CRMSHOPARTIKELML)
My second attempt was more specific using the same class structure but reducing the dataset to 10.000 entries and only using certain properties.
CREATE MODEL ECLASSPREDICT4 PREDICTING


2
0 211
Question Minoru Horita · Feb 13, 2024

I am trying to create a program to upload blob files from IRIS to Azure Blog Storage, but with no luck.

First, I am trying the APIs, but  ##class(%Net.Cloud.Storage.Client).CreateClient() fails with the message "Cannot establish connection". Following the documentation, the parameters are like: CreateClient(, 1, credfile, , .tSC) where credfile specifies a file containing:

DefaultEndpointsProtocol=https
AccountName=aihpocsadicom
AccountKey=RealAccountKeyHere
EndpointSuffix=core.windows.net

Am I missing something? Also is there a good way to get detailed information on why this fails s

1
0 359
InterSystems Official Carmen Logue · Feb 14, 2024

Just in time for Valentine’s Day, we are showing you some Adaptive Analytics love!  InterSystems IRIS Adaptive Analytics version 2023.3 is now available from the InterSystems Software Distribution  page.  This release includes AtScale 2023.3 with additional tuning, API enhancements and the following new capabilities:

  • Support for Qlik Sense as a qualified Business Intelligence tool in addition to the existing support for  Tableau, Microsoft PowerBI, Microsoft Excel and Looker
    • Note that Qlik Sense is supported in Import mode; see the AtScale documentation for additional information
  • Co
0
1 236
Article Dmitry Maslennikov · Sep 18, 2023 7m read

Nowadays so much noise around LLM, AI, and so on. Vector databases are kind of a part of it, and already many different realizations for the support in the world outside of IRIS. 

Why Vector?

  • Similarity Search: Vectors allow for efficient similarity search, such as finding the most similar items or documents in a dataset. Traditional relational databases are designed for exact match searches, which are not suitable for tasks like image or text similarity search.
  • Flexibility: Vector representations are versatile and can be derived from various data types, such as text (via embeddings like Word2Vec, BERT), images (via deep learning models), and more.
  • Cross-Modal Searches: Vectors enable searching across different data modalities. For instance, given a vector representation of an image, one can search for similar images or related texts in a multimodal database.

And many other reasons.

So, for this pyhon contest, I decided to try to implement this support. And unfortunately I did not manage to finish it in time, below I'll explain why.

7
3 1320
Question Armin Gayl · Feb 9, 2024

Hello,

I have a problem with a FHIR Interop scenario that the HTTP Header Value content-type between IRIS and client changes in case of an error (HTTP 422). If I set the status in the response to 200 OK as the last step in the service class, the return transmission works.

Within my operation class, the error code is taken from the source system and entered in the HS.FHIRServer.Interop.Response message. 

Within the CSP gateway I am also shown that the content type is 422 application/fhir+xml and is returned.

When I look at the packet in Wireshark, it is already text/html. 
A URL rewrite

3
0 427
Question Alan Watts · Jan 2, 2024

We are trying to use Git for Source Code control in our existing application. Currently all Source Control is a manual process. We are running IRIS on a Windows server. The git extension has been installed and initial configuration done. We do get the git tab in Studio. We keep getting the following error:

Git Status:
fatal: detected dubious ownership in repository at 'C:/KBS/dev/server/db'
'C:/KBS/dev/server/db' is owned by:
'S-1-1-0'
but the current user is:
'S-1-5-18'
To add an exception for this directory, call:git config --global --add safe.directory C:/KBS/dev/server/db.

Tried [ git confi

12
0 994
Question prashanth ponugoti · Aug 5, 2022

Hi Friends

Here I have created business service for soup service and created unauthenticated url using web application and shared with  client.

As a result I have exposed below URL

http://xx,xx,xxx,xxx:57772/csp/healthshare/production/services/abc.xyz…

working fine end to end.

Now I need to change the url from http to https.

Could you please guide me , how to generate certificate and change ssl configurations for web application and expose https url instead of http url?

Thanks a lot,

Prashanth

6
0 712
Job Malcolm King · Feb 10, 2024

My name is Malcolm King and I’m an experienced IT Professional seeking full time employment.
I have 25 years of experience in the software development industry, with a wide variety of skills and knowledge. I have been involved in writing both front and back end code, along with interfacing to multiple systems, using multiple languages such as Cache Objectscript, C#, Java, Javascript and SQL.
I have experience with SOAP services and RESTful APIs as well as database design, implementation and administration.
Please take a moment to let me know if you have any roles you think I could fulfill for y

0
0 231
Question Daniel Goerke · Feb 9, 2024

Hello dear developers,

I am currently doing an internship and learning about InterSystems IRIS and ObjectScript and have downloaded and installed the community version of IRIS.

I have not made any changes in the Management Portal.
In Visual Studio Code I have loaded the InterSystems ObjectScript Extension Pack.

If I now want to compile a file, VSC throws an error:
"ERROR #16006: Document name 'x.csp' is invalid"

The name of the file is "index.csp"
This error also appears when I try to compile other files.
I have noticed that the first 4 characters of the name are always missing.

The error o

11
0 490
Question Robin Larroque · Feb 9, 2024

Hello

I would like to install the IRIS Community edition on Oracle Linux 9.0 for x86–64 but it is not proposed on the Community loading page. the only Linux versions proposed are Red Hat 8, Red Hat 9, SUSE 14, Ubuntu 20.04, Ubuntu 22.04.

As IRIS is supported on Oracle Linux 9.0 for x86–64, is it possible to get an Iris Oracle Linux 9.0 for x86–64 through the Community canal ?

Thanks 
 

2
0 222
Article Elijah Tamarchenko · Feb 8, 2024 2m read

Interacting with Users in the Terminal: A Guide to Using %Library.Prompt in IRIS

 

Have you ever wondered how commands like ^DATABASE engage users in the terminal? Or perhaps you're writing an automation routine and want ways to specify options directly from the terminal. Thankfully, the %Library.Prompt class in IRIS offers a straightforward way to do so!

String Input

For basic input, such as asking the user to provide a filepath or namespace, use the following code:

set status = ##class(%Library.Prompt).GetString("Input filepath:", .path)

This code prompts the user to input a string, w

2
3 392
Article Hiroshi Sato · Feb 8, 2024 1m read

InterSystems FAQ rubric

On Linux, use the following steps to delete an instance of InterSystems IRIS (hereinafter referred to as IRIS).

(1) Stop the IRIS instance you want to uninstall using iris stop 

# iris stop <instance name>

(2) Delete the instance information using the following command 

# iris delete <instance name>

(3) Delete the IRIS installation directory using the rm -r command 

# rm -r <install directory>

In addition to the installation directory, IRIS also uses (a) and (b) below.

-----------------------------------------
(a) /usr/local/etc/irissys <folder>
(b) /usr/bin/
0
1 667
Question Kurro Lopez · Feb 8, 2024

Hi all,

We have a class response inherited from %JSON.Adaptor with the following properties, also dependent classes:

 

Kurro.app.Msg.Search.Response

 

Kurro.app.Msg.Common

3
0 230
Announcement Emily Geary · Feb 8, 2024

Hello Everyone,

The Certification Team of InterSystems Learning Services is developing an InterSystems IRIS Developer Professional certification exam, and we are reaching out to our community for feedback that will help us evaluate and establish the contents of this exam.

Note: This exam will replace the current InterSystems IRIS Core Solutions Developer Specialist exam when it is released. Please note from the target role description below that the focus of the new exam will be more on developer best practices and a lot less on the ObjectScript programming language.

How do I provide my inp

0
1 419
Discussion Eduard Lebedyuk · Jan 26, 2024

Multi-tap or multi-press is the name given to the historic technique of writing SMS on the first mobile phones with a keyboard of 10-12 numeric keys. For example, to type LOL you need to press 5 three times, 6 three times and 5 three times again. Your task is to write a function that takes a string as input and returns the repeated digits associated with each character according to the multi-tap system. Should consider letters from A to Z, doesn't distinguish between upper/lowercase characters. Numbers are allowed, and any punctuation should be ignored.

multitap system

Input

"Example"

Output

"339926755533"
18
1 691
Question Scott Roth · Dec 14, 2023

I am trying to troubleshoot an issue with LDAP and a specific user. Besides what is in the Audit Database is there another way to look to see the LDAP functionality that is being called and the response, like there is with OAuth and the ISCLOG? The Audit Log is returning a failure (Unexpected - /api/atelier login failure | InterSystems Developer Community) for this particular user, and I want to get proof that it might be something with the LDAP and not IRIS.

Thanks

Scott

6
0 559
Article Evgeny Shvarov · Jan 25, 2024 2m read

Hi Devs!

Recently I was impressed by @Dan Pasco's article where he shares also how he uses terminal aliases. 

Terminal aliases is a very powerful tool for developers and sys admins if you often need to call some cumbersome terminal expressions and make it shorter and cleaner. Here is the documentation.
Yes! 

But what about Docker environments? What if you are fan of Docker dev environments but also want to keep using your favorite aliases with Docker as well?

Turned out it is very possible.

12
0 392
Question Jonathan Day · Feb 7, 2024

Hi,

I'm having a few issues with keeping Ubuntu happy and stable, and it seems to be something at the OS level rather than within IRIS itself. My thought is to simply pare back the stuff that Ubuntu LTS runs by default, which will free up system resources (which really shouldn't be a problem, but it might help) and reduce the amount that can go wrong.

Are there any guides as to what can be safely disabled at boot time, or are required to be enabled?

1
0 191