I get this on preparing a sql query
ERROR #5580: SQL Privilege Violation: 'User UnknownUser is not privileged for the operation'
There was some embedded sql queries before that which worked fine however.
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 get this on preparing a sql query
ERROR #5580: SQL Privilege Violation: 'User UnknownUser is not privileged for the operation'
There was some embedded sql queries before that which worked fine however.
Hi developers!
Here is the score of technical bonuses for participants' applications in the InterSystems Climate Change Full Stack Contest 2022!
| Project |
Climate Change
|
isc.rest
|
isc.ipm.js
|
Embedded Python
|
AtScale
|
Docker
|
I have followed the Article: Continuous Delivery of your InterSystems solution using GitLab, On our own Linux environment it works well but when I try to run it on a clients windows server; and the following command is run by the runner
irissession IRISHEALTH -U TEST "##class(isc.git.GitLab).load()"
we get the following "error"
<NOTOPEN>>
I do not know why this happens, it does look like it has something to do with user rights but I am totally lost at this point as we have done everything I can think off relating to grant correct access etc.
Let's say I have two lists of connected data where elements of listTwo only make sense if given an item of listOne as context:
listOne = ["A", "B", "C"]
listTwo = ["x", "y", "z"]
Tuples like ("A", "y") and ("C, "x") make sense, but "A" or "x" by themselves don't. I would like to pass in a list of such tuples into a method and have it handle each tuple in the list. So what would be the best way to format them given that ObjectScript does not have specialized tuples? Would it be nested $LISTBUILD lists or something else?
Hi
I'm trying to migrate a database from cache to iris but i get this from one of the classes on compiling.
ERROR #9101: Global name 'Jobcosting.JobActivityGroupGroupD' for 'IDLocation' is too long, must be no more than 31 characters in length.
> ERROR #5030: An error occurred while compiling class 'Jobcosting.JobActivityGroup'
Hi,
Is there a nice cheat sheet for the IRIS command line (terminal) application?
Hey Community,
Enjoy watching the new video on InterSystems Developers YouTube channel:
Hello,
I work on deploying IRIS using Kubernetes operator and Red Hat OpenShift. I encouraged another team working on Java application to consider using IRIS as database. My team deployed IRIS cluster using two mirrored data pods for the other team. The other team asked me for the connection information.
To learn how to use Java with IRIS, I attempted to deploy two apps from Open Exchange:
https://openexchange.intersystems.com/package/CRUD-GLOBALS-IRISNATIVEAP…
Here I got errors like this:
package com.intersystems.jdbc does not exist
Does anyone has an ini parser/writer in ObjectScript they can share?
Say I have a persistent class in IRIS with an optional property EmailOptIn:
Class Person Extends %Persistent
{
Property Name As %String;
Property EmailOptIn As %Boolean;
}
I later realize that I'm doing a lot of null-checking on this property where I shouldn't need to. The solution is to make this a required property:
Class Person Extends %Persistent
{
Property Name As %String;
Property EmailOptIn As %Boolean [ Required ];
}
When I make this change I'll need to update all the existing data to set a reasonable default where it is null.
Leet (or "1337"), also known as eleet or leetspeak, is a system of modified spellings used primarily on the Internet. It often uses character replacements in ways that play on the similarity of their glyphs via reflection or other resemblance. Additionally, it modifies certain words based on a system of suffixes and alternate meanings. There are many dialects or linguistic varieties in different online communities. Wikipedia
You'll have to translate a string into a LeetSpeak. As usual shortest solution wins.
As I was thinking what I could develop for InterSystems Full Stack Contest, I saw this post:
https://community.intersystems.com/post/how-access-production-items-through-objectscript
I developed ProductionManager.csp. It displays items in the active production. It also displays the Class in use and the date and time of last message. I believe these data points can help you make decisions which items to remove from the production.
I read that contest asked for apps which insert, update, or delete data in InterSystems IRIS.
I am still working on iris-for-money app: https://github.com/oliverwilms/iris-for-money
Account.csp posts a rest call with _SYSTEM username and the password.
xhttp.open("POST", "/restapi/sql/" + query, true,"_SYSTEM","SYS");
xhttp.send();
/restapi web application has Password Authentication Method enabled.
SYS is the correct password for _SYSTEM user.
I do not understand why I see login failure in Audit database.
I am working on iris-for-money app: https://github.com/oliverwilms/iris-for-money
Account.csp posts a rest call with _SYSTEM username and the password.
xhttp.open("POST", "/restapi/sql/" + query, true,"_SYSTEM","SYS");
xhttp.send();
The error is logged in Riches.REST for this line:
Set tSC = tStatement.%Prepare(pQuery)
ClassMethod PostSQL(pQuery As %String = "", pIndex As %String = -1) As %Status
{
Do ..DebugTEST("Riches.REST - PostSQL")
Do ..DebugTEST("pQuery = "_pQuery)
Set tSC = ..TestQuery(pQuery,.pQuery)
Do ..DebugTEST("TestQuery = "_pQuery)
Set tStatement =
Hello and welcome to the 21st InterSystems programming contest!
🏆 InterSystems Full Stack Contest 2022 🏆
Duration: June 27 - July 17, 2022
In prizes: $10,000
Hi Community,
This post is a introduction of my open exchange iris-climate-change application.
iris-climate-change web application Imports The Food and Agriculture Organization (FAO) Climate Change dataset by using LOAD DATA (SQL) functionality and analyze and visualize data with the help of Python Flask Web Framework, Pandas Python data analysis Library, Plotly Open Source Graphing Library for Python and Plotly JavaScript Open Source Graphing Library.
I had a customer the other day ask how GREFs are measured and how the relationship of the host, storage, and DB engine all influence that number measured in hundreds of thousands or millions. Is there any good documentation that explains this and/or assists with calculating a GREF count?
I am receiving Mirroring updates to an IRIS for Health async reporting server and need to pause the mirroring journal processing to periodically quiesce the database to rebuild cubes and custom staging tables.
What API or web service can I use to quiesce the reporting server and then later initiate catch up?
Hey Community,
Learn how you can develop a Node.js application and connect to InterSystems IRIS data platform through the Native API:
InterSystems Native SDK for Python is a lightweight interface to InterSystems IRIS APIs that were once available only through ObjectScript.
I'm especially interested in the ability to call ObjectScript methods, class methods, to be precise. It works, and it works great, but by default, calls only support scalar arguments: strings, booleans, integers, and floats.
But if you want to:
You'll need to write some glue code or take this project (installs with pip install edpy). edpy package gives you one simple signature:
call(iris, class_name, method_name, args)
which allows you to call any ObjectScript method and get results back.
Hi developer folks!
Thanks to all of you who start the development with InterSystems IRIS from the basic development template!
Recently, thanks to @Dmitry Maslennikov's contributions I've updated the Dockerfile to make the development simpler, images lighter and the building process faster. And it looks more beautiful too ;)
Here is what changed:

Hi,
I am in a situation where my container is on UTC time (as is the host). But I need to send a datetime to a machine in a specific time zone. Various languages have constructs for doing that, sometimes you need a library
python has the pytz library.
We prefer a solution which is ObjectScript only.
Hi,
I am using IRIS for Windows (x86-64) 2019.1.1
I have.
1. Created a BS with SQL Inbound Adapter which successfully connects and gets rows from DB .
2. Created a request message is populated with results of SQL query.
3 Created a BP with HL7 Router + Routing Rule + Transformation + Send to Target (BO).
4 . Created BO sending HL7 to file.
i am getting the following error.
ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zOnRequest+1^EnsLib.MsgRouter.VDocRoutingEngine.1 *DocType,Test.SQLtoHL7Req -- logged as '-' number - @''
What am i missing
Thanks.
How would you like to be able to access the Web Terminal directly from your VSCode?
.png)
Hey Developers,
See how you can develop a .NET application and connect to InterSystems IRIS® data platform using one or more APIs:
The InterSystems IRIS has excellent support for encryption, decryption and hashing operations. Inside the class %SYSTEM.Encryption (https://docs.intersystems.com/iris20212/csp/documatic/%25CSP.Documatic…) there are class methods for the main algorithms on the market.
As you can see, the operations are based on keys and include 3 options:
Hi Everyone,
I am a very new to IRIS Object Script Development. There is a usecase where I have to execute a .sh file from the object script. I am looking for examples for that, but what I find is the ways to execute the shell commands. Can you please point me to some examples executing a .sh file. Thanks in Advance
Hi developers. I often miss the ZPM program on a clean system. Nothing complicated? Take and install. And in one line? Especially in a docker container. There is a solution. I'm very happy with it;) Maybe the line can be shortened?
set $namespace="%SYS", name="DefaultSSL" do:'##class(Security.SSLConfigs).Exists(name) ##class(Security.SSLConfigs).Create(name) set url="https://pm.community.intersystems.com/packages/zpm/latest/installer" Do ##class(%Net.URLParser).Parse(url,.comp) set ht = ##class(%Net.HttpRequest).%New(), ht.Server = comp("host"), ht.Port = 443, ht.Https=1, ht.Developer Preview releases are now available for the 2022.2 version of InterSystems IRIS, IRIS for Health, and HealthShare Health Connect.
This is the first in a series of releases that are part of the developer preview program. Future preview releases are expected to be updated biweekly and we will add features as they are ready. This program allows us to get feedback on capabilities and enhancements as they're available. You'll see below a list of enhancements that are targeted for 2022.2. Some these are not included in the first developer preview. Look for those over the coming weeks.
We recently migrated to IRIS. Before, the CACHE.EXE executable could be invoked from a batch file directly :
C:\InterSystems\Cache\bin\cache.exe -s C:\InterSystems\Cache\mgr -U %SYS
This will display the following in console :
Node: DESKTOP-8H4B321, Instance: CACHE
USER>
Additionally, the pipe instruction can be used to redirect some commands directly
echo write 50 | C:\InterSystems\Cache\bin\cache.exe -s C:\InterSystems\Cache\mgr -U %SYS
I am looking for the same thing in IRIS.