Hello!
Trying to delete txt file in folder: /tmp/test
set sc = ##class(%File).Delete("/tmp/test/test1.txt", .ret)
ret=-13
How I can delete file in Lunix system?
Hello!
Trying to delete txt file in folder: /tmp/test
set sc = ##class(%File).Delete("/tmp/test/test1.txt", .ret)
ret=-13
How I can delete file in Lunix system?
Good morning,
I have a question about the python version, I read in the documentation that the compatible version is 3.9.5 for the proper functioning of python on Iris.
Do we have to stay on this version or can we use newer versions?
Thanks in advance
Regards
Hi,
I am after an IRIS instance in the cloud or otherwise which will allow me to learn ObjectScript.
I can find ObjectScript learning tutorial and videos.
If so please advise the sandbox url.
If not please suggest something similar.
Tanks
I need to verify that certain .m files have been compiled and inserted into the VA mumps database. I need to do it on a schedule and thus I want to automate it. Because of the automation I'd prefer not to use the IRIS web app. So if there were a similar CLI version that would be great. I see there is something called /usr/bin/iris but this seems to be a maintenance tool, not a IRIS.DAT querying tool. I'd love to be wrong about that.
Please forgive my lack of proper nomenclature, clearly I'm a n00b.
I am trying to write a ZMIRROR routine that makes a shell script call using $ZF
Set cmd = "/usr/local/sbin/failover-intengtest-vip"Do$ZF(-100,"/ASYNC /SHELL",cmd)The script I am calling is returning an output to the screen, how do I get around this using $ZF without having to rewrite the scripts?
Thanks
Scott
This error occurs when an instance of the class is already open at compile time.
There are two ways to deal with this issue:
If you want to determine which process is using the class, try the sample routine below.
I would like to strip the , at the end of a string. I'm able to find the start of the string using ..StartsWith(String,",") but not able to strip the "," at the end of a string.
I've tried:
Str="Addr1,Addr2,"
Piece(Str,"",1,Length(Str)-1)
Piece(Str,"",1,Length(Str)-2)
Extract(Str, Length(Str)-1)
Extract(Str, Length(Str))
But nothing works as expected.
InterSystems is pleased to announce the General Availability of InterSystems IRIS Cloud SQL and InterSystems IRIS Cloud IntegratedML, two foundational services for developing cloud-native solutions powered by the proven, enterprise-class performance and reliability of InterSystems IRIS technology.
Hi Community,
Round 2 of the GenAI Crowdsourcing Mini-Contest is here! Everyone can join, even if you missed Round 1. You have $5 million in fantasy funds to invest in up to 5 promising submissions.
Dive into the game, strategically allocate your virtual investments, and aim for maximum returns! Deadline: Dec 31st, 2023
We're pleased to invite you to the upcoming webinar in Spanish:
👉 OAuth 2.0, OpenID Connect & LDAP: Monitoring access to FHIR resources
🗓️ Date & time: February 1, 4:00 PM (CET).
Hi all,
The last time I used CSP was back in 2008, so I am very rusty on it.
This question might have been asked many times, and the answer probably is that it is a matter of preference.
Are there scenarios to which CSP pages is easier/better to use than classes extending from %CSP.Page?
I want to build a little thing and don't want to start at the wrong end.
Doing an API-based, heavy client-side framework is not a requirement, and I would prefer not to do it that way.
Some of the criteria
HI *,
So last night I was doing a deployment which had a query to select from a large dataset of joined tables, to iterate through and populate data in a new table.
This was done in a classmethod using embedded SQL and the %PARALLEL keyword.
On a testing environment with the same dataset, this worked perfectly a few days earlier.
Hello Guys,
Our cache application uses REST web services and handles single API request perfectly with response (response status and related data). But sometimes user sends multiple requests to the same API simultaneously ( ie, without waiting for the first to respond ), where one request will succeed (not necessarily the first) and the others will fail.
So, I need to handle the requests one by one after completing and sending the response for first request in the queue then process the next request and so on.
Is there any appropriate way of handling this problem?
Hoping someone can help,
I have the "Sample FHIR Production" installed ( as described in the documentation) with the following Components:
Service: HS.Gateway.ECR.SDA3XMLFileService
Processes: HS.FHIR.FromSDA.DTL.Transaction.Process
Operations: HS.FHIR.Repository.Operations
I am trying to get data out of a cache backup. I am completely new to Intersystems Cache.
I got a docker image of Cache from this post:
I want to get the data from my backup into this docker image. First, I need access to a gui and a cli, then I need some instructions or documentation for actually pulling in the backup data.
Thanks! This is all new, so pardon my lack of knowledge here. If I can provide any more information let me know.
Hello
We are in the process of upgrading to 2023.1 for InterSystems Health Connect, and the Business Rule Engine editor is very difficult to use compared to 2022.1. It's difficult to scan over the rules as it all looks the same style with barely any distinction between rules, constraints, conditions, whens etc. There's also tonnes of whitespace, and searching on the page is hit and miss (using Ctrl + F) . I can see the previous editor is still available when you modify the URL, but I'm wondering if we can set it to be the default editor, and if this is something supported.
Thanks
Lewis
✓ 4,737 members joined the Developer Community in 2023
✓ 19,063 posts published in total
✓ 10,995 members joined in total
Hey guys,
As the year comes to a close, it's time to reminisce a little of what's gone on and what was the most important breakthrough or discovery of this year.

Hello,
I have been facing a problem for several months, I have several flows that work in SFTP with the iris class EnsLib.FTP.PassthroughService
The problem is that from time to time I get an error message that says:
"A connection could not be established because the target computer expressly refused it"
I had the case for a server at our house and we solved the problem by extending the call interval parameter to 60 seconds,
Hi Community,
Play the new video on InterSystems Developers YouTube:
Hi, Community!
Since this article is an overview of Flask Login, let's begin with Flask Introduction!
In the realm of web development, Python has emerged as a formidable force, offering its versatility and robustness to create dynamic and scalable applications. For that reason, tools and services compatible with this language are in demand these days. Flask is a lightweight and easy-to-use web framework for Python. It stands out as a lightweight and user-friendly option. Its simplicity and flexibility have made it a popular choice for developers, particularly for creating smaller-scale applications. It is based on the Werkzeug toolkit and provides a simple but powerful API for building web applications.
Unlike its full-stack counterparts, Flask provides a core set of features, focusing on URL routing, template rendering, and request handling. This minimalist approach makes Flask lightweight and easy to learn, allowing developers to build web applications quickly and without the burden of unnecessary complexity.
Is it planned that LOAD DATA takes into account several DATE/DATETIME formats with, for example, a parameter indicating the format used in the source data?
example :
LOAD DATA .../...
USING
{
"from": {
"file": {
"dateformat": "DD/MM/YYYY"
}
}
}Hi all,
Does anyone have experience with obtaining logs from Caché databases and parsing them now? Please leave me a message.
I ask because my project involves some hospitals that used Caché when creating databases over 10 years ago. Currently, we cannot replace the database, but we need to check and parse the database logs from the Caché.
Thanks.
Hey Community,
Our huge thanks to everyone who participated in the Advent of Code 2023! We're pleased to present the winners and distribute all the prizes.
Our congratulations to these developers:
🥈 @Maksym Shcherban (w/ repo)
🥉 @Yuval Golan (w/ repo)
Here's the final InterSystems leaderboard:
Hi developers!
As you know InterSystems IRIS besides globals, object, document and XML data-models also support relational where SQL is expected as a language to deal with the data.
And as in other relational DBMS InterSystems IRIS has its own dialect.
I start this post to support an SQL cheatsheet and invite you to share your favorites - I'll update the content upon incoming comments.
Here we go!
Hi Community,
I hope this message finds you well. I am reaching out because I have encountered an issue with a new dimension I created, named "Region," and I could use your assistance in resolving it.
The problem is that when I open the cube analyzer, the "Region" dimension does not populate data as expected. Instead, it merely displays the text "sourceRegion," which I specified as an expression in the architect.
Hello Community,
When using an SQL type Business Service, it may happen that we need to replay certain rows from the source table.
Let's take as an example the Business Service "from customer SQL" using the generic class EnsLib.SQL.Service.GenericService
Different cases arise, depending on the settings used on this Business Service.
First case :
If the Business Service only uses a KeyFieldName
In this case, to reprocess IDs 123, 456 and 789, it will be enough to delete them from the global ^Ens.AppData for the Business Service concerned on the "adaptor.sqlrow" reference:
Dear experts,
I'm trying exported a project from version '2012.5' to '2018.1.4' but is returning ERROR #7602.
Please, could you help me. How can I do it?
Below is steps that I did:
| ACB>D $System.OBJ.Load("C:\GlobalPatch.xml") Load started on 01/07/2024 00:06:51 Loading file C:\GlobalPatch.xml as xml Imported global: ^GlobalPatch Load finished successfully. ACB>Set sc = ##class(%Studio.Project).InstallFromGbl("^GlobalPatch","fv") ERROR #7602: Exported on version '2012.5' but this machine on version '2018.1.4' so unable to import |
Thank you.