I had heard that sample classes are available somewhere.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
I had heard that sample classes are available somewhere.
Myself and the other Technology Architects often have to explain to customers and vendors Caché IO requirements and the way that Caché applications will use storage systems. The following tables are useful when explaining typical Caché IO profile and requirements for a transactional database application with customers and vendors. The original tables were created by Mark Bolinsky.
In future posts I will be discussing more about storage IO so am also posting these tables now as a reference for those articles.
Is View Journal of Cache Management Portal the only way to search in Cache journals? I need a way to define several search conditions and Portal often breaks on http timeout.
Hello
I am running a script from a CMD command line using : C:\CacheSys\Bin\cterm.exe /console=cn_iptcp:127.0.0.1[23] myscript.SCR %CD%
The script should authorize something (or not) in the following lines of the GO.CMD
But How can i return an information from inside the script to the GO.CMD script ?
Any idea ?
I am in the process of creating a python report writer that includes the information contained in "License Usage" page of the management portal. I think I have a handle on the local values contained in the report using the %SYSTEM.
Hi,
I am running InterSystems iris 2021.1 from the container and I have version 2020.1.1 is installed locally. While running studio locally I am getting below error message:
"Version mismatch. Studio version 2020.1.1 unable to connect to server version 2021.1
Upgrade to a later version of the client to resolve this error"
Looking Forward
Thanks
I'm new to cache, come from an oracle and sql server background. In oracle and sql server I could write basically a stored procedure like script and pass it in as text to the command to execute.
Example:
Below would be the _sqltext
DECLARE @Id INT;
select id into @Id from something;
if @Id = 9
BEGIN
do something
END
The _sqltext would work in sql server, what would be the equivalent for cache for it work?
I get a generic error when I try it with cache
using (var mdscmd = new CacheCommand(_sqlText, MyConnection) { CommandType = CommandType.Text }) {
}
Thanks
I have a python script that is pulling the cache instance key expiration date ( KeyExpirationDate() ) which comes back as an integer. With the queryscript function - $ZDATE(73284) I can derive the actual expiration date. Is there a manner or method of creating an equivalent Python script that will convert the integer return by the KeyExpirationDate() method into a date string?
Since Caché 2017 the SQL engine has included new set of statistics. These record the number of times a query is executed and the time it takes to run.
This is a gold mine for anyone monitoring and trying to optimize the performance of an application that includes many SQL statements but it isn’t as easy to access the data as some people want.
This article and the associated sample code explains how to use this information and how to routinely extract a summary of daily statistics and keep a historic record of the SQL performance of your application.
I am using the
import intersys.pythonbind3 as pyb
conn = pyb.connection()
conn.connect_now(...)
db = pyb.database(conn)
qry = pyb.query(db)
obj = pyb.object(db)
for connection to the cache instance
However when I run this class method, The error message indicates the method does not exist:
print(db.run_class_method("SYS.Database","GetStatus",[]))
intersys.pythonbind3.cache_exception: file=intersys/pythonbind3.c line=3034 err=-1000 message=<METHOD DOES NOT EXIST> 148 runMtdLow+22^%SYS.BINDSRV GetStatus,SYS.Database
I am writing a Python tool to query our cache instances for various information. I have set up the connection without issue:
import intersys.pythonbind3 as pyb
conn = pyb.connection()
conn.connect_now(.....)
db = pyb.database(conn)
qry = pyb.query(db)
obj = pyb.object(db)
I wanted to make the call:
execRes = qry.prepare_class("SYS.Database",'FreeSpace')
But fetching fails because of data mismatches ( as I understand from other posts) and my testing bears out this type of failure.
Instead I opted to attempt a query:
What is the purpose to use Emergency Access Mode in Cache? How to establishes a Connection without performing authentication?
Time travel is like visiting Paris. You can't just read the guide, you have to throw yourself into it. Eat the food, use the wrong verbs, get double the charges, and end up kissing complete strangers.
The Doctor
We are now going to travel through time, that is, we are going to see future and past dates and how to calculate them in different formats. The TARDIS doesn't wait, take the controls and hold on tight.

Hi,
I'm looking through some journal entries in the hope of finding the root source of an issue.
I was wondering if and how you can map a "ECP system id" to a server.
Any hints would be welcome
Best regards
Ivo
NOTE: we previously found an issue with the 2021.1.1.324.0 builds. The 2021.1.1 maintenance releases have been removed from the WRC and have been replaced with 2021.1.2.336.0 builds. 2021.1.2 containers will be available shortly.
Two new sets of maintenance releases are now available:
Installation kits and containers can be downloaded from the WRC Software Distribution site. Container images for the Enterprise Editions of InterSystems IRIS and IRIS for Health and all corresponding components are available from the InterSystems Container Registry.
Hi,
I was playing around with the python binding for caché (2018.1.4) and I ran into some problems.
When executing the class query "List" from SYS.Database the pythonbind interface throws an exception, that seems to be caused by a mismatch of the defined SQL datatypes for this query and what is actually returned (or the lack of type conversion in the pythonbind interface).
Is this a known issue ? Are there solutions/workarounds for this,
Or is this a bug ?
The details:
When executing "List" from SYS.Database there is an error for every datarow fetched.
When executing "FreeSpace" from SYS.
Hi Community,
I would like to migrate a Zen application to Iris but I am facing issue below:
.png)
so far I was not able to solve this issue myself, is there somebody who has some suggestions?
Thanks!
I am trying to send an HTTP request and getting "SSL/TLS error return from SSL_connect()." error (Cache 2013). No modification in SSL/TLS Configuration helped. Could anyone point me in the right direction?
Thanks
Is there a way, for testing purposes at least, to change a CSP session over to a different user? We have a lot of things in our system that are allowed or restricted based on the user login, so it would be useful for me to be able to occasionally run as a different user to see how things look and work for them. I've tried using the %CSP.Session.Login function, but that still shows the CSP session as being from the original user, not the one I've switched to.
Dear people,
I (really) spent hours on finding the maximum size a Global is allowed to be (for Windows, if that matters). All I seem to run into are database sizes (derived from a max number of blocks and block size), but I refuse to believe that is correct because too small to be realistic.
It will undoubtedly my fault that I don't understand or misread the concepts of "database" vs Globals, envisioning files as such while one set of functional Globals in one file (?
Hey there,
I posted a reply to the recent video https://community.intersystems.com/post/new-video-building-data-driven-web-apps#comment-132511
with a slew of questions. Wondering if someone can take a look a address my questions on that post or on this new thread.
I find many InterSystems learning to be challenging to follow, but I"m not sure if it's because my work computer is so locked down that I don't have all the right tools and permissions I need to do what the tutorial asks, or if I'm not understanding the basics of Cache/IRIS, or both!
Mike
We are planning to build a REST API with the Java Quarkus Framework.
This Caché instance already have COS applications running and consuming connections and licenses.
After doing this, we will migrate to IRIS.
Is there any pitfalls that we must be aware before taking this approach?
If you want to see some code the PoC can be found here.
Thanks.
Is there any chance to make available a arm64/aarch64 binary version for Caché ODBC Driver?
Just like IRIS ftp://ftp.intersystems.com/pub/iris/odbc//2021/ODBC-2021.1.0.215.0-lnxr…
As I am using docker, currently is not possible to build locally a new image using existing Caché ODBC Drivers on Mac M1.
When designing a hierarchy in DeepSee, a child member must have only one parent member. In the case where a child corresponds to two parents, the results can become unreliable. In the case where two similar members exist, their keys must be changed so that they are unique. We will take a look at two examples to see when this happens and how to prevent it.
There are a handful of states with a city named Boston. In my sample data, I have records from both Boston, MA and Boston, NY. My dimension is defined as:
City and State are simply strings in my case.
How to Configure and implement X509 users to allow login into cache without password.
I'm thinking to try ChunkedWriter based on the documentation I'm reading to solve an issue but could use some clarification. Anyone that could provide a usage example of this down below?
To send a chunked request, do the following:
I need a way to programically and dynamically add tables and other controls to a blank Zen Page.
Are there code examples where a global can dynamically create the tables and populate it with data?
I have a sql server using cache odbc driver 2010. There is no uninstall in the add programs and features tool.
I have tried installing odbc 2018 but the 2010 driver remains active .
How can I uninstall the 2010 driver or upgrade to 2018
I have a SQL query that I want to run against MS SQL from cache ensemble using the SQL outbound adapter. If I run this query direct from MS SQL Studio it take about 7 seconds MAX and returns about half a million rows. The row only contains one column it is a number all same size and if I run this query in the production in ensemble it takes for ever the production finishes without getting the response back. The same query run in cache outside the ensemble environment writing results to a file it returns results taking about 3minutes to complete.
I have an operation with the EnsLib.HTTP.GenericOperation class. This operation sends the following json message:
{ "resourceType":"Bundle", "id":"ec5ffdbe-3739-47e6-81e4-2b0498e99fb8", "meta":[ { "lastUpdated":"2020-09-20T15:04:17.764+02:00" }], "type":"searchset", "total":"1", "link":[ { "relation":"self", "url":"https:\/\/xxx:5665\/api\/fhir\/DSTU3\/CarePlan?