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?
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.
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?
.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. But this it's not true, you know how to create them but you don't know yet!.
Create a stored
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 tFile.Close()
How to create a CSP Login Page and control user sessions?
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.
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.
The build number for this
InterSystems is happy to announce the availability of our newest Data Platforms release: Caché and Ensemble 2016.2
The highlights of 2016.2 are:
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.
Atelier is available separately and the initial release
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.
Hey guys.
I'm having trouble using the Certificate in my BO.
It started to occur after updating the certificate.
I have 2 configurations and 2 certificates, the first one was updated and no error occurs, the second one, the bad certificate or Handshake failure errors occurs. Both have the same configuration.
I already tried marking SSLV3, handshake error occurs. When I unchecked it, a Bad Certificate error occurs.
Do you know what I can do in this case to solve it?I looked for some threads in the community, and I didn't find a solution for my case.
The Certificate works correctly on other systems
Hello, I am using the power bi report builder tool to create a report with dynamic parameters. Every time I try to create and apply a parameter in power bi query editor. I get the below listed error message.
FYI: I have created a Data source connection using "InterSystems ODBC" Version 2015.01.00.429. I am getting data without any issue.
Query: select Payment_History.OCCURENCE_DATE from Payment_History where Payment_History.OCCURENCE_DATE >= @BeginDate
Error Message: ERROR [42000] [Cache ODBC][State : 37000][Native Code 12]
[C:\Program Files\WindowsApps\Microsoft.PowerBIReportBuilder_15.7.1801.
Hello everyone, i want to have an InterSystems Caché Installation cache-2017.2.2.865.0-win_x64.exe
Thanks
I need a copy of cache 2017.1x as this is the last version supported by the VA on their network.
Any support here would be greatly appreciated. I have been a member of the M community since 1984.
Thanks in advance
I need a stored procedure where I can execute multiple delete from statements.
This will work to create a stored procedure, but when I add in other delete from, get error invalid sql statements when try to create
CREATE PROCEDURE DeleteSpecimenTwo
(IN Specno VARCHAR(50))
BEGIN
DELETE FROM PCONT WHERE PSPECNO = :Specno;
END;
This doesn't work
CREATE PROCEDURE DeleteSpecimenTwo
(IN Specno VARCHAR(50))
BEGIN
DELETE FROM PCONT WHERE PSPECNO = :Specno;
DELETE FROM PSPEC WHERE PSPECNO = :Specno;
END;
Any suggestions
Thanks
Louie
Any ideas on why my %session.Data array would be wiped out after setting %response.Redirect in OnPreHTTP()?
Context: trying to implement a SSO patter for authorization code flow. I mention this because it's all I can really pinpoint as to what's changing. Typically a user logs in by providing their username/password and we validate in our database and set the %session.Data property with the user info.
I need connect to cache2016 database by python to get some data, but I don' t know how to connect by python, did anyone know how to create connection?
If you can provide any python code, that will be better!
Hi,
is there a way to know where IRIS or CACHE current instance is installed from objectscript?
Something like "iris list"
It will be easy to make a $ZF, iris qlist, and get the info, but i hope that there's something less complex than that.
Thanks
Pietro
Hi,
Question about ZMIRROR routine.
I analyze a problem with the label NotifyBecomePrimary. It seems not performed after a switch.
After installing ZMIRROR routine in %SYS, is a restart required?
If It's required, It could be explain my problem.
Thank you.
The following code snippet uses GZIP to compress/decompress a file. Choose a file by specifying a file path in the "filename" variable.
Class objectscript.GZIP Extends %RegisteredObject
{
classmethod test() {
//Export Global(s) uncompressed
set filename="C:\Temp\myglobal.xml"
do $System.OBJ.Export("^oddEXTR.gbl",filename)
//Open exported Globals
set uncompressed = ##class(%FileBinaryStream).%New()
set uncompressed.Filename=filename
Set compressed = "C:\temp\mycomglobal.xml"
//Open File Device over Gzip and Copy Uncompressed information to it
OpenHello Everyone!
Following the example below i can download file only txt format, in other format(pdf,xls,rar) i have errors(can't open file),
So, how i will change code for download file in other format?
Thanks!
ClassMethod GetFile(file) As %String
{
#dim %request As %CSP.Request
set filename="E:\Rest\"_file
set %response.ContentType=..GetFileContentType($p(filename,".",*))
do %response.SetHeader("Content-Disposition","attachment;filename="""_$p(filename,"\",*)_"""")
Set %response.NoCharSetConvert=1
Set %response.Expires=50
set file=##class(%File).%New(filename)
do file.O
The Art of Mapping Globals to Classes 1 of 3
Looking to breathe new life into an old MUMPS application? Follow these steps to map your existing globals to classes and expose all that beautiful data to Objects and SQL.
By following the simple steps in this article and the next two you will be able to map all but the craziest globals to Caché classes. For the crazy ones I will put up a zip file of different mappings I have collected over the years. This is NOT for new data; if you don’t already have existing global please just use the default storage.
If you still can’t make heads or tails of
Over the years, I have found myself needing to create multiple HL7 messages based on a single inbound message. Usually these take the form of an order or result from a lab. Each time I have approached it, I have tried to start from scratch under the belief that the previous attempt could have been done better.
Recently, the need arose again and I was able to create a solution that I wasn't ashamed of. My main concern was that I would always either find myself getting buried in a BPL, or use ObjectScript and attempt to edit messages using the SetValueAt Method for the HL7 Message Class.
Wh
Hello,
Comming back to Cache after some long gap. Is it possible to use UUID as primary key while creing a Persistant class (Not using the default numerical ID)?
and creating the relationships also using UUID?
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é. The issue occurs on the following versions of Windows:
Windows 10 (version 1703 and above)
Windo
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.