As you know in Caché / IRIS you have the possibility to define a property as Multidimensional as documented here:
https://docs.intersystems.com/iris20201/csp/docbook/DocBook.UI.Page.cls?KEY=GOBJ_proplit#GOBJ_proplit_multidim
and the explanation of how to use it
https://docs.intersystems.com/iris20201/csp/docbook/Doc.View.cls?KEY=GOBJ_proplit#GOBJ_proplit_multidim_values
Though the access is quite comfortable (in traditional COS sense) there are 2 main restrictions that hurt:
#1) It is not saved to disk unless your application includes code to save it specifically.
#2) It cannot be stored in or exposed through SQL tables
there are some more
I'll show how to overcome these limits
Hi Guys,
I've the below code that copies 15000 records into a global, problem is that taking around 11 secs to finish and I'm wondering if there is any faster way (eg. would copying the file into stream and look through the stream makes it faster!?) because I've hundreds of files I need to process every time.
Do File.Open("RS")
While 'File.AtEnd{
Set ReadData=File.ReadLine()
S ^DumpTempSeries(Equipment,Sensor,ID,MeasureDT,$I(i))=+$P(ReadData,",",5)_"^"_+$P(ReadData,",",6)_"^"_+$P(ReadData,",",7)
Quit:i=Total
}
Thanks
As you may know, I am the person who does the program and scheduling for our Global Summit sessions, so I can give you a sneak peek at our agenda before it is published.
I'm happy to report that we will have two special, four-hour workshops on Sunday, June 4, which is the day you arrive to register in Hollywood, Florida.
One is the return of the standing-room only 2022 workshop with our FHIR guru, Russ Leftwich - "Getting to Know FHIR: The Best Explanation of FHIR They've Ever Heard." Needless to say, we've reserved a bigger room.
Thanks to @Dmitry Maslennikov I have access to a Container for Caché.
It is based on Centos.
Is there anywhere a container based on Ubuntu available?
During my last migration to IRIS I met this Compatibility parameter
- NullSubscripts true
0 - Throw error when referencing a null subscript. 1 - Null subscript references do not throw an error.
The consequences are shocking. This was allowed:
USER>zw ^rcc
^rcc=0
^rcc("")="***"
^rcc("",1)="*,1"
^rcc(1,"")="1,*"
^rcc(1,2)="1,2"
^rcc(1,2,"")="1,2,*"But SMP had no idea what is going on. .png)
And after switching off that flag this was still partialy visible, but read-only
USER>zw ^rcc
^rcc=0
^rcc(1,"")="1,*"
^rcc(1,2)="1,2"
^rcc(1,2,"")="1,2,*"I just don't understand.
.png)
One of the reasons why I love Cache and Iris is that not only you can do anything you can imagine, also you can do it in a lot of different ways!!.
Imagine that you have an integration running with IRIS connected by ODBC you probably only run SQL queries but you can also create stored procedures and inside write the code to do everything you can imagine.
I'm going to give you some examples but the limit is your imagination!!
You might wonder, wait! I don't know how to create a store procedure in IRIS.
Goodday,
I would like to Validate token signature with public key i have in pem format, i am using below code but i get error message. Could you please tell me what i am doing not right? FOUT #5002: Caché fout : <DIRECTORY>zLinkToFile+2^%Stream.FileBinary.1 *-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMI ...
hier is my code
Method ValidateTokenWithPublicKey(jwt As %String) As %String
{
Set tFile=##Class(%File).%New("c:\Kety\publicKey.pem")
Do tFile.Close()
Set tStatus=tFile.Open("RU")
$$$ThrowOnError(tStatus)
Set tPublicKey=tFile.Read()
Do
How to create a CSP Login Page and control user sessions?
Hi folks!

Lately (maybe last 2-3 years) I develop with IRIS exclusively in docker - so iris instance I use for compiling and running IRIS apps is local.
And most every time I enter password for management portal and web-apps. The same password every time. Sounds familiar?
Is there an easy way to have a parameter in docker build for a "dev-mode" that will not ask me a password?
Is there a command that will loop through the flat files of a given Linux/Unix folder? I can write the code to open and read each file. But the file names are unknown. I am looking for a way to access each file given a named Linux folder. The files have differing structures so a record map will not work.
Thank you for reading and thank you even more for answering!
Hey Community,
Tired of entering login-password during the docker build with your InterSystems IRIS every time?
There is a handy way to turn it on and off – use the passwordless zpm module.
Watch this video to explore how to use the passwordless ipm module to turn on and off entering login-password during docker build with your InterSystems IRIS:
I have experienced that my iris server is gone due to upgrading the docker version when I have built IRIS server on docker container.
Based on this experience, I'd like to show you how to make a backup for the IRIS server before upgrading platform or docker, and the procedure for rebuilding the IRIS in a new environment.
###IRIS server backup procedure
When you have finished building for the IRIS server, you need to make a backup.
I recommend you that you make a backup before upgrading if you have classes,routines and globals that you want to take over when you rebuild your environment.
Hi,
In some of the trakCare screens there is term "Production" shown [Interoperability->Production Configuration]
What is a production?
The production I'm looking at, is related to a Gateway.
What is a definition of a Gateway? How is this different to an Interface?
Under Gateway Production, there are "Services", "Processes", "Operations".
How are these defined to be?
I have 3 services, each with a green dot.
I have 3 processes , each with a green dot.
I have 5 operations, 4 of which has a green dot and one red dot.
When I run my IRIS in a Docker Container I know the host an know the mapped ports
so access is no problem.
BUT: is it possible from my IRIS
- inside a Container
- 'inside' Docker
to find the actual IP address of the Host?
This may sound strange, but for error tracking, it could be quite important.
This month, see how to:
- Sign up for an in-person course.
- Beta test a new certification exam for free.
- Extend your reach with resources for external messaging and interoperability.
Dear all,
We would like to invite you to an exciting online event related to the InterSystems Open Exchange app gallery. The purpose is to discuss the features and upgrades of the Open Exchange and gather feedback from the Community.
Date: March 1st, 2023
Time: 9:00 am Boston // 3:00 pm Berlin // 6:00 pm Dubai // 10:00 pm Beijing time
>> Registration here <<

Topics that we will cover:
InterSystems announces the Maintenance Release (MR) of Caché, Ensemble and HSAP 2018.1.8. This is a maintenance release with many updates across a wide variety of areas.
Caché and Ensemble
Full product installation kits can be downloaded from the WRC Software Distribution website:
For information about the corrections in this release, refer to the Release Changes Notes. The documentation for Caché and Ensemble includes these as well as the Supported Platforms document, the Class Reference, and a full set of guides, references, tutorials, and articles.
I am looking into creating a ZSTOP as you probably have seen from my previous posts, is there a way to capture the type of shutdown that occurred? So say if there was an unknown hardware failure (forced), vs a user shutdown? Mainly looking for user or system shutdown when we force another destination to become the primary in the mirror. So if a user shutdown the production to do.,... Task A, Task B etc..
Thanks
Scott
Hey Developers,
Please welcome a new set of Global Masters badges for ✔️Accepted Answers on Developer Community!
As you may remember, you get +150 points on Global Masters each time your answer marked as accepted on DC. And now we have a special set of badges and additional points for a number of accepted answers!
|
Badge's Name
|
Rules
|
|
|
Master of Answers - 5 accepted answers on DC |
+ 4,000 points |
Awarded after your 5 / 10 / 25 / 50 answers marked as accepted answers on the Developer Community. |
|
Bronze Master of Answers - 10 accepted answers on DC |
+8,000 points |
|
|
Silver Master of Answers - 25 accepted answers on DC |
+20,000 points |
|
|
Gold Master of Answers - 50 accepted answers on DC |
+40,000 points |
|
And...
🐞🐛▶ There is a helpful tool which allows us to debug code visually with different colours.
I found a package on OEX for a Sharding Demo
If Sharding is NOT included in the Community License
I can not use the Community Distribution but require a different one.
And have to add ZPM manually.
Hi Community,
Watch this video to learn about InterSystems FHIR Server, the turnkey FHIR data solution that empowers FHIR application developers to focus on building life-changing healthcare applications:
To prepare a migration to IRIS I use Docker images.
The (aged) application is built around Caché Terminal
And on Windows, IRIS uses the same ctelnetd.exe as Caché.
In my Docker installation, Telnet Settings are just grayed out in SMP.
and my Terminal can't 'connect.
Port mapping is OK and verified with TCP
Working from the console in Docker with the whole set of ESC and
screen formatting is not acceptable.
We tried WebTerminal but there is just no Partition behind as in Terminal.
How can I switch on Telnet support in the Docker image?
InterSystems is happy to announce the availability of our newest Data Platforms release: Caché and Ensemble 2016.2
The highlights of 2016.2 are:
- Server support for Atelier, the new Eclipse-based IDE
- Support for OAuth 2.0 and OpenID Connect
- SQL syntax has been enriched with support for JSON
- SQL improvements and performance enhancements
For complete technical details of what’s changed in 2016.2, review the Caché release notes and the Ensemble release notes. Additional materials have been posted to the InterSystems Developer Community.
Suppose I created a new DeepSee class to display a new item in the dashboard.
DeepSee.Component.datePickWich, in general, is just a copy of a similar class in %ZEN with minor changes. I need to include it in the base install. How can i do this? Am I ever allowed to change the composition of system classes?
Hi Guys,
Could I have the steps on how to restore Cache.dat from Journals pls?
Thanks
Is there a way of comparing code running on two Ensemble servers - ideally excluding certain types of difference?
We are a new team working in HealthCare (lots of HL7, some web-services). As well as doing new development on local servers with suitable source control, we have a large code base we've inherited from an external supplier for which we have no log of versions or differences. We have a live server and test server - and we've stumbled across a couple of places where there are differences in logic in addition to the expected differences in endpoints.
I know this problem something to do with sort and collation and string comparison vs numeric only strings, but I can't fathom out the details of it.
I have the following global, where all values are suffixed with a space, I believe the intention is to prevent empty strings and force string comparisons rather than numeric. Which is fine when searching for an exact match, so searching for "ABC" internally looks for "ABC ", or "800999" looks for "800999 ". However one function tries to search for strings containing, (specifically beginning with), a partial code.
Hello,
I want to generate and return an http response based on the input of a http GET request. For my first steps I used an EnsLib.Http.GenericService, which uses an EnsLib.HTTP.InboundAdapter to receive requests like http://[my server]:[my-port]/some-path?ID=12345678.
On the inbound side I receive a EnsLib.HTTP.GenericMessage Object which contains the parameters and some other useful information that I can work with. What I would like to do now is to create a simple HTML page, which contains some Information specific for the given parameter values.
Hi Every one
I'm working on how to use SOAP with my API and StoredProc.
Currently, the method I use is csp page to be able to get pamater from external website and Call my StoredcProc
Step 1 Get pamameter from external site
Step 2 Run My Storeproc
Step 3 Return JSON format
How to create soap and call StoredProc function from external website?


