Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube:
Hello, I am writing some cache code that will pick up a PDF file, Base64 encode the contents and then send on to a third party system within a Long String (via their API). I have been testing this and discovered that the PDFs do not open within the supplier system (I get an error saying that it hasn't been decoded correctly). I wanted to prove that the issue does not lie with the way that I have Base64 encoded it within Ensemble, and therefore as a test wanted to Encode the PDF stream, then decode the stream and write out to a new file.
InterSystems periodically updates our software release policies and practices to adjust to customer needs.
We're now changing our maintenance release cadence in order to be more predictable for customers and partners, and tweaking a few other areas.
This article summarizes the release cadence for our Data Platforms products and recent changes to it, and announces a few new updates.
InterSystems Supported Platforms Update Feb-2023
Welcome to the very first Supported Platforms Update! We often get questions about recent and upcoming changes to the list of platforms and frameworks that are supported by the InterSystems IRIS data platform. This update aims to share recent changes as well as our best current knowledge on upcoming changes, but predicting the future is tricky business and this shouldn’t be considered a committed roadmap.
We’re planning to publish this kind of update approximately every 3 months and then re-evaluate in a year. If you find this update useful, let us know! We’d also appreciate suggestions for how to make it better.
With that said, on to the update…
Where are the SQL Show History entries for each user stored?
InterSystems has corrected an issue that can cause InterSystems IRIS® and Caché to not take advantage of large pages for shared memory on Windows, even though these products report that large pages are allocated. This can have detrimental effects on system performance.
The issue results from a change in Windows 10 that requires modification of InterSystems IRIS® and Caché. Note that this issue also affects all InterSystems products that are based on InterSystems IRIS® or Caché.
Out of curiosity, I was looking in ^ROUTINE global to see how routines are stored internally.
I found out that lot of nodes are displaying "~pointer" as associated value (eg: instead of a string).
What are those pointers ? My guess is that it references some cache internal structure (eg: some nodes inside a B-Tree).
Is there a easily way to see what is behind ? Are pointers useful for user globals or is this something purely internal to Cache database ?
Have a iris.dat file that was zipped in axis but , now I unzipped it and can see the file in my c drive but when I go to iris management console to perform a new db to pull in the current iris.dat file , in the wizard I do not see the iris.dat file listed.
Need some help with getting it restore the Cache backup in my iris community edition.
thank you,
XData blocks in Caché classes has a MimeType property, and dcoumentation says
MimeType — The MIME type (more formally, the internet media type) of the contents of the XData block. The default is text/xml
But unfortunately I can't set any other values, such as text/html or application/javascript, because XData still expect only XML.
So, question is, for what reasons this property was appeared?
It would be very usefull to set in this property anything other then text/xml, and Studio would highlighted it as developer expected.
Hi,
Can anyone please help me how to use regular expression/wild character on a sql query for a pattern like C00.0 to C00.9, C01.0 to C01.9 and so on until C77.0 to C77.9 .
Thanks for your help
Thanks
Jude
I'm not sure why on some message you cannot edit/resend and change the inforatmation in the message
i.e.
Property property2 As Messages.MesaageType2;
Property property3 As list Of Messages.MesaageType3;
All extend
is there anything we are missing?
I would like to know how I can make a utility to retrieve all the names of properties of a class. Any idea?
Checked on Cache 2018.1.7 and IRIS 2022.2
write $zconvert("abc/def","O","JSON")
"abc/def" Why isn't it "abc\/def" ?
Listen to CEO George James chat with Derek Robinson, host of the InterSystems DataPoints podcast talk about source control, developer tools and how our solutions are beneficial for InterSystems IRIS users.
In this short 17 minute episode, George and Derek discuss our work with developer tools, and how choosing the right source control can provide users with a seamless solution - which is why Deltanji is seen as the go-to source control for InterSystems IRIS users.
Listen now on the InterSystems website > https://bit.ly/3Jp5py5
or wherever you get your podcasts - just search for 'InterSystems DataPoints'.
Caché mirroring is a reliable, inexpensive, and easy to implement high availability and disaster recovery solution for Caché and Ensemble-based applications. Mirroring provides automatic failover under a broad range of planned and unplanned outage scenarios, with application recovery time typically limited to seconds. Logical data replication eliminates storage as a single point of failure and a source of data corruption. Upgrades can be executed with little or no downtime.
I need Caché 2012.1 to restore a backup for a customer to export the data to another sytem.
Anay URL for download?
In general Global Streams are data objects embedded in Classes / Tables.
Using and viewing them with SQL is normally a part of the access to the containing tables.
SO WHAT?
During debugging or searching for strange or unexpected behavior there could be the need to
get closer to the stored stream. No big problem with direct access to Globals with SMP or Terminal.
But with SQL you are lost.
So my tool provides dynamic access to Global Streams wherever you may need this
Special thanks to @Oliver Wilms for the inspiration for this tool.
Hi Community,
I am configuring new SSL Configuration for Gmail (For sending errors to gmail in ensemble production) by following the below steps.
Step1:
.png)
Step2:Giving the server address smtp.gmail.com
Step3:Giving the port number , I have tried giving 465,587,25 as port number still is not connecting
Can anyone please tell me where i am doing wrong on configuration?
Thanks,
Saroja.A
Hi All,
I want to run an SQL like below
Select ID,Rollno,Marks,Name,Section,Teacher from Marks left outer join Student on Marks.StudentID=Student.ID
Now, the Student.ID is having the encrypted value which is not matching with Marks.StudentID (as this is clear value).
I can get the clear value using encrypted value as follow
^StoreValue("EncryptStudentID",Student.ID)=$LB("123"). That 123 is the clear Student.ID which I need to match in SQL query (ON clause).
Now I Need to fetch the data from sql query matching both clear values.
Hi All,
I have a below query for which I need help.
I have a persistent class User.Cars.cls. The properties of this class is mapped through Global mapping with global (^CAR(Date,CarSerialno,Seq)).
Property CarNumber as %String (TRUNCATE=1) [SqlFieldName= CAR_Number];
Mapping of 5th Piece of ^CAR global to CarNumber property.
For e.g.^CAR(Date,CarSerialno,Seq)=1^2^3^4^BMW 4567^6^7
To increase the security we have encrypted the database. 5th Piece is also encrypted in global (New value after encryption: 'ASAD=4367' through some tool technique).
I have a system that is sending Line Breaks\Carriage Returns within the text of a field that is breaking the parsing of the message. Does anyone have a way to get around this?
here is what I receive...
ZPR|29|937952|UH|Physician Assistant - Certified|Primary Privileges: Physician Assistant|Care of simple fractures including extremity, rib and clavicle; including skeletal immobilization||
as EnsLib.HL7.Service.
Hi All,
I am currently using D $SYSTEM.SQL.Shell() command or management portal to retrieve the data from database. I just learned we can also run cache table sql queries in MS access. MS access already installed on my machine.
I need to ask how I can connect my database of USER or sample namespace in MS access to run these SQL queries.
Thanks in advance!!
I already have a working setup with:
- Ubuntu 21.10
- Unixodbc 2.3.6
- ODBC-2018.1.5.659.0-lnxubuntux64
- libcacheodbcur64.so
I have tried to update to:
- Ubuntu 22.04
- Unixodbc 2.3.9
But, i am getting "SQLDriverConnect: 0 [unixODBC][Driver Manager]Driver does not support the requested version".
So, I have tried to switch to:
- libcacheodbcur6435.so
- ODBC-2018.1.7.721.0-lnxubuntux64.tar
But i am getting same error. Please, could someone help me?
First of all thank you for your time in reading this question and writing a response,
We would need some help, I have created a csp page, but the first time I access it, it gives me this error:
| 5918 | You are logged out, and can no longer perform that action |
When I refresh the page, it works ... Why?
Thank you in advance!
Hi All,
I am a beginner in cache. I need to extract data from multiple tables (4-5) tables based on an SQL query . The data is more than 9 lakhs of records (i checked using count). The total number columns is 16.
When I am running this SQL query through management portal, I am getting time out exception. Could you please suggest how I can retrieve those records. Which way will be good (Dynamic query using %SQL.Statement or Embedded SQL (not known to me) or Writing to a global will help or not).
Quality of Service Mirroring Timeout Configuration
The Quality of Service (QoS) timeout determines how long a Mirror configuration of Caché will tolerate a loss of connectivity between its members. However, the exact method by which it does this and what that means for someone looking to configure this setting on their own system is not entirely obvious.
Hi Guys
I've been using the example code %SQL.ExportMgr taken from here (an example from the intersystems community) an am having a few problems with it.
The code I have is below, and I'm having the following problems:
Hi All,
Hopefully someone can help me with this case. I need to encrypt a text(querystring) with an AES265 encryption. An other vendor is decrypting this information. I have a working class in C#. I've tried to build the same in Objectscript for the encrypt part but there's a missing link somewhere. What's the difference between the C# and Objectscript implementation?
Objectscript code (until now):
Class TEST.ENCRYPT
{
// Symmetric Keys sample to encrypt
ClassMethod DoAESCBCEncrypt() As %Status
{
set key="pZR8qfrz7t47G+dboyJCH4NnJRrF+dJbvxq37y/cLUo="
set iv=##class(%PopulateUtils).Hello all,
I just started learning SQL and am also new to Cache...
I am dealing with a simple SQL query and trying to understand the components of the following expression do:
STRING(city_name, ' - ', city_code) into :CODE, :VALUE
I understand what the STRING function does. However, I am lost after that:
"into:CODE, :VALUE"
What do these do?
Thanks!
Deguza
Hi!
I have an issue when trying to generate an object when reading an XML file. All files I'll mention will be attached to this post as a PDF file, but it's really a ZIP one.
The XML file is used as a template to generate a PDF report through the JasperSoft Report API. I checked the file consistency, and it's all right. We are able to generate the PDF file with no issues. What we need to with Caché, is to read the XML file, correlate it to an object, so we can change properties from this file.