Is there any way to connect PHP Laravel 8 and Cache DB.
I am tried with one post found in DC, but that is not working for me also.
https://github.com/jeandormehl/laracache
If anyone has any suggestions please help me out in this.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Is there any way to connect PHP Laravel 8 and Cache DB.
I am tried with one post found in DC, but that is not working for me also.
https://github.com/jeandormehl/laracache
If anyone has any suggestions please help me out in this.
Hello all; I am using a one-to-many relationship. I have a Claim (one), in a relationship with Lines (many), but the Claim is storing a list of Lines IDs, rather than the Lines storing the Claim Id. This seems upside down, and not what I expected.
Class Claim
{
Relationship ClaimLineRel as ClaimLine [Cardinality = many, Inverse = Claim];
}
Class ClaimLine
{
Relationship Claim as Claim [ Cardinality = one, Inverse = ClaimLineRel, OnDelete = cascade];
Index ClaimIndex on Claim;
}But the storage globals for Claim show data in the ClaimLine spot:
^ClaimD(1)=$lb("",$lb(2,3).
In Cache 2018, we were using a macro in a query that looked like this:
select $$GetExtraSQL^GetExtra('B',bddtl.odnumb,bddtl.odsnum,bddtl.oddsc1) as "Description", * from sqluser.bddtl
We could save that query as a view, and there was no problem with it.
In IRIS, if we put that query into SQL in the management portal, it still works, but if we save that query as a view, when we try to run a query on that view, we get a big error message:
ERROR #5540: SQLCODE: 400 Message: Process 604526 failed to compile Cached Query Class %sqlcq.R001.
Hello
I have a problem on enabling SNMP monitoring on Cache.
I installed on HP UX NET SNMP 5.7.2 package from HP Software Center and enabled agentX protocol in snmpd.cfg.
When I enabled full debugging on Cache and NET SNMP I discovered that sent and received packets on both sides are not the same. Some bytes are different. I think the problem is in default charset for TCP/IP connection which is on our system set to CP1250 instead of default RAW. So result is that Cache notifies are not visibile from snmpwalk etc.
Is there a solution for this issue?
Peter
YASPE is the successor to YAPE (Yet Another pButtons Extractor). YASPE has been written from the ground up with many internal changes to allow easier maintenance and enhancements.
YASPE functions:
YASPE is written in Python and is available on GitHub as source code or for Docker containers at:
Good men don’t need rules.
The Doctor.
It's not an easy task to be a master of dates and times, it is always a problem and sometimes confusing in any programming language, we are going to clarify and put a few tips to make this task as simple as possible.
Get on the TARDIS and I'm going to turn you into a Time lord

The new production component driver for Deltanji enables highly granular management of InterSystems Interoperability Productions with tight integration into the management portal. We presented it at the InterSystems UK&I summit this week and it received a great reception.
It solves the current pain-point of Interoperability Productions being defined in a single monolithic class definition. Deltanji source control increases the granularity with which items can be managed. Instead of versioning a single class definition containing all the configuration items, this new component driver allows individual configuration items to be managed separately. Each configuration item has its own versioning and revision history and can be checked-out, checked-in, and deployed independently of any other items in the same Production.
Because each configuration item within a production class is managed by Deltanji as a first-class component in its own right, Deltanji provides all the source control, versioning, and workflow capabilities that it provides for any other component.
Watch the below clip to see it in action.
We'll be talking about this new feature in more detail at our User Group Session on November 3rd at 3pm (GMT). Register your attendance on Eventbrite here - https://bit.ly/3yqzfvS
To find out more about Deltanji, visit our website georgejames.com or drop us an email info@georgejames.com
Recently viewed a demo on the new Dynamic Objects in InterSystems (we are still running 2016.1); together with the upcoming IRIS data platform I started thinking about possibilities of building dynamic databases. That is, I can imagine some projects were it might be really nice to store dynamic objects and then run sql queries on them without ever defining the fields of the dynamic objects (i.e. not at storage, but only if you run your sql query). If there is any system where this might be possible it is InterSystems Cache.
Hi All,
Is there any cache command which can give who all has compiled a classes from the day it has been created. Specifically I want the 2 information username and time of compilation of class.
I tried with $$DATE^%R("TEST.1.INT"), but it only gives the last compilation time.
Thanks in advance !!
To celebrate programming day, could we create solutions for a little challenge?
We have the following statement:
Given a string of words, return the length of the shortest word(s).
String will never be empty and you do not need to account for different data types.
Some test made in Java would be:
import org.junit.Test; import java.util.Arrays; import java.util.Random; import java.util.stream.Collectors; import static org.junit.Assert.assertEquals; /** * Created by Javatlacati on 01/03/2017.
Sometimes, our available license will drop and upon close inspection, it is caused by one or two users occupying 50 or so licenses, and we believe that if there were more, they were all gonna be used up. This occurs randomly. As is illustrated in the following figure.
Out cache version is 2016.1. It is serving a health care web application. Our web browsers are exclusively IE-11.

With $Property is possible to dynamically get and set values on property of an instanced class and with $ClassMethod is possible to invoke methods from a class.
I would like to know: Is there an elegant way to do Write and Set dynamically on variables without using Xecute?
Hi Developers!!,
I know what you are thinking... a new feature for ZEN.proxyObject...? NOW..???
In Spain we say that better late than never ;-)
Have you ever need to send a numeric attribue of a Json in String format?
Did you go crazy casting class objects with fixed typed properties?
Lucky you!!
With this new feature I propose a way to continue working with our loved dynamic object %ZEN.proxyObject, being able to choose whether or not we want to send numeric attributes in String format.
You: "That's great!
Hi developers,
We're excited to let you know about the latest release of Serenji, your on-the-spot debugger from George James Software. Version 3.2.0 focuses on the debug experience and introduces zero configuration for users. No matter where you are or what you're doing, Serenji is always ready to go in just one click, so you won't lose focus by spending time setting up a launch configuration.
This enhanced debugger also takes advantage of the latest features of VS Code itself. With this powerful combination you'll be able to smoothly identify and quickly fix errors in your code, contributing to the production of quality, maintainable code... and isn't that what everyone wants?!
In this latest release you will experience:
If you're a new user, it's now easier for you to get started. The introduction of a welcome page Walkthrough and guidance on the Explorer and Run and Debug views means you can effortlessly create your initial workspace and start debugging.
Download Serenji directly from the VS Code marketplace and take a look at our release notes to find out more about these new features and how to use them.
We offer a free 30 day trial so if you're not yet a user of Serenji but you're interested in how it can help you, drop me a message through the Developer Community or email us at info@georgejames.com.
Happy debugging!
Hi!
Is there any ARM64 ODC driver available for InterSystems Caché?
It would be really very useful!
Hi everyone,
I'm having trouble parsing XML containing unicode characters which I receive from an external webservice. I believe my file is saved properly with UTF-8 encoding but the SAX Parser still throws me an error.
I have 2 classmethods: 1 general one (get) to make a request to a webservice and return the date, and 1 (getSportsPerDate) to make a specific call and then parse the data.
ClassMethod getSportsPerDate(language As %String, date As %String){
#dim cResponse As betradar.uof.api.descriptions.schedule.scheduleEndpoint #dim res As %Stream.FileCharacter s res=.Hi!
I've encountered a peculiar behavior of $ListNext in Intersystems Cache, where I'm not sure whether I'm doing something wrong, or is it an intended behaviour.
First I am creating a ListOfDT from a string delimited with underscores:
Set tempList = $ListFromString(String, "_")
Then I'm saving the tempList as a property of Persistent object
Do DataObj.Services.InsertList(tempList) (Note that Set DataObj.Services = tempList suggested by the manual didn't work at all)
Do DataObj.%Save(1)
Then I'm trying to iterate over the saved list with $ListNext objectscript function:
WHILE $LISTNEXT(DataObj.
Hi,
We wanted to use the MD5Hash function,
And had trouble understanding it's return value , as documented:
"Return value: 16-byte MD5 hash."
The value we wanted should have been a simple string, and we did not know how to convert the output to string.
Searching for a solution we found this article:
https://groups.google.com/forum/#!msg/intersystems-public-cache/FdkHIgS9PkQ/P7s-92kN70UJ
That had this solution that works:
"If you know what this gibberish stuff is about, it can be very simple ;)
USER> s h = ##class(%SYSTEM.Encryption).
Hi,
How do I generate JSON strings instead of integers, as follows:
{ "MyProperty":"1"}
all we seem to be able to generate is
{ "MyProperty":1}
Its for an api that requires the former and as the former is valid JSON I'm surprised I am having so much trouble.
(Obviously I'm new, please be kind :D
InterSystems Interoperability Productions are defined in a single monolithic class definition. A production can contain many hundreds or thousands of configuration items. This presents a problem if multiple developers are working on different Business Processes within the same production simultaneously. Simultaneous development is almost inevitable for large productions containing many configuration items.
Hi Friends,
If I created Property as below
Property Abc as %String (Maxlen = 3000000)
how much space will be used in cache DB, if assigned "hello" to Abc?
The cache will use 3000000 bytes or 5 bytes?
This conformation is very important for my implementation
Thanks,
Prashanth
In cache I am looking for a user to, from read prompt, hit control F and be able, from a list, use the up and down arrow and select an item from a list.
User would hit Control-F and then a list would pop up they can up and down arrow through and select it and it return to the read variable
It would be similar to this.
![]()
If I create a link does root use it? (it’s in profile.d dir)
I'm trying to use a shortcut for a filepath as such: anyone have any thoughts?
PROCAUTO = /JRNDSK/ProcAuto_share
yet in the application it isn't recognizing it.
Here’s the scenario. (link is in place) that my manager thinks maybe an issue.
login as cacheusr
sudo to root
Then start cache. Since this was started as root through cacheusr would cache know about the link? (since it’s running as root)
If your handling XML then it can often be unformatted for human display.
Using a little bit of XSLT magic you can format the XML in just two lines of code...
I was attempting to test a Linked JDBC View to MS SQL database and noticed I could not connect. When I look at the JDBC Gateway I noticed that at the Server Level it was down. However the page keeps timing out when ever I attempt to make any changes or start it, it will not respond.
I thought I had found the Cache command to start it but it will not start. Is the following steps correct?
.png)
As we all know, Caché is a great database that accomplishes lots of tasks within itself. However, what do you do when you need to access an external database? One way is to use the Caché SQL Gateway via JDBC. In this article, my goal is to answer the following questions to help you familiarize yourself with the technology and debug some common problems.
First of all thanks for your time and help reading this question:
We would need some help:
The use case is: to add a rule inside a EnsLib.HL7.MsgRouter.RoutingEngine, where we iterate in a EnsLib.HL7.Message to find a specified value inside all OBXs segments. It should return a Boolean
Is there any recommended way, or standard function inside Ensemble, that we could use, without having to develop a new function?
We have read:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
Hi ,
I am Converting HL7 message into SDA3 format by using Ens.DataTransform Class but transformation is not happening while using this class and throwing the below error
ERROR <Ens>ErrException: <UNDEFINED>zTransform+1^Hosiptal.SDA3.DataTrans.1 *target -- logged as '-' number - @' Set target.Patient.Name=source.GetValueAt("PID:5")'
Let me know if any mistake please refer the below code
Class Hosiptal.SDA3.DataTrans Extends Ens.DataTransform
{
ClassMethod Transform(source As EnsLib.HL7.Message, target As HS.SDA3.Container) As %Status
{
Set target.Patient.Name=source.
Note: ********* The following is just a guideline! Every customer is different and will have different points ***************
Through our experience in Support helping customers, we have seen a lot of cases where not having a reasonable upgrade plan (documented) leads to unexpected problems with a Crisis priority. In some cases, we can fix the problem during the upgrade window, but not always, as some situations may require further investigation that can take days or even months!
Hi
I have a Zen toolbar which I want to share across many pages as common feature - I know it can be populated with a javascript clientmethod that returns a JSON on each page as per this example - https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
How do I define a common datasource for it so it can be one location and easily updated rather than have it on many pages?
Cheers