Hello!
I need to create strong random password including letters and integers. Does Cache Object Script has methods to generate password or I have to create my own method ?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hello!
I need to create strong random password including letters and integers. Does Cache Object Script has methods to generate password or I have to create my own method ?
I have developed a process that pulls data elements from a cache instance using the tools provided with the "intersys.pythonbind3" import. This is a windows box. After validating the process, the next step is to install the process on a site (Windows) that does not have an installed version of cache and access the cache instance remotely. But, since intersys.pythonbind3 is part of the cache install, I am not sure what to do to allow this process to function because of the missing import.
Hello,
First of all, I apologize if I got the topic wrong.
But I'm also looking for the 2007 cache version for Windows x86 / x64.
If anyone else has it, or can help me.
Thanks
Trying to figure out inline cache expressions in TrakCare and having little to no success, if anyone can help I'd be very appreciative :)
We are trying to track down the source of Orphaned messages and noticed that we are unable to query EnsLib.HL7.Message with any kind of WHERE or ORDER BY clauses in our SQL statement.
I know EnsLib.HL7.Message is a system table, but is there a way we can add additional Indexes to the table to make the query run better/faster without affecting the system?
Could anyone please explain why Caché has a %STARTSWITH function while it supports ANSI SQL "LIKE"?
thank you very much.
Hello,
Our team is looking for a way to export all of our Cache SQL tables into Microsoft SQL Server. I have only found a method to export one table at a time into an ASCII file. We have over 170 tables so this would be very tedious and time consuming. Is there a way to directly export from Cache to SQL Server. Alternatively is it possible to export the entire database in a single shot or even multiple tables to text files?
Thanks!
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.