Hi!
Is there any ARM64 ODC driver available for InterSystems Caché?
It would be really very useful!
InterSystems Caché is a multi-model DBMS and application server. See more details here.
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
get(request
I call the above methods from terminal:
d ##class(betradar.uof.api).getSportsPerDate("en","2017-11-10")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
I am trying to secure a rest service but I lack the understanding of how to achieve this if anyone will explain in details how I could achieve the following:
Securing The REST Service with Basic Auth (username and password)
if any one has a sample code on this will appreciate
Hello,
First the question then the background:
Can you increase the amount of read operations that are being performed simulatiously to the hard drive where the cache.dat file is located.
Alternatively: Can you increase the amount that is being read with every operation?
Background:
The database is setup with 8k blocks of data that are being read. I'm currently struggeling with a bottleneck concerning the read operations from a disk.
I'm assuming this based on the fact that the same routines when run twice in row perform vastly different.
In toolbar, by default, all items show on one line and when menu items do not fit on visible part of screen, invisible items hide and appear two buttons - last item and previous item.
I want, in that case, items, which do not fit on visible part of screen, go on second line. In other words, I want all items to be visible.
Is it possible to configure toolbar for behavior I want?
Hi ,
I am trying to transform CSV file into SDA3 format by using Studio code. I am getting "No Stream contained in StreamContainer Request" Error at the business operation after converting CSV file to SDA3 Format but not able to generate the file in business operation
Hi,
My routine contains embedded SQL including this:
&sql(DECLARE C1 CURSOR FOR
The error "SQLCODE=-52 : Cursor C10 already declared" comes up on compilation in Studio. Does anyone know a way around it please?
Bob
In this article I'll show you how you can easily convert between many different document formats, these to be precise:
and many more, check out this table. We'll use LibreOffice as a conversion engine.
Hi team,
I have a PDF file which has come report data and images (like XRAY) in it. How I can read text from a PDF file in cache
Hi ,
How to Convert Excel message into a SDA3 format in Ensemble?
In my Python script I import intersys2.pythonbind3 to create the connection and define a database object as db
I execute the method
res = self.db.run_class_method("%Library.GlobalEdit", "GetGlobalSize",[<db>, allocated,used])
This executes correctly as I loop through a list of databases.
Upon success I see that the return arg of "res" contains the string "status(0,)" which I interpret as successful. This is verified by the returned values of allocated and used being accurate.
I have a REST Service that I want it to receive a json string request I have set up my URLMap as follows the top URL when populated and requested works fine but I would like my request to be a json string and that is not working I am getting a 500 error am I missing something please advice.
XData UrlMap
{
<Routes>
<Route Url="/:emailAddress/:sendUserEmail/:password" Method="POST" Call="ResetPassword"/> this works fine
<Route Url="/test" Method="POST" Call="test"/> I would like this to receive a json formatted string for the above
</Routes>
}
Hi community,
I have to do a development that should to connect with a external REST API and it throws different HttpStatus and a body content with the description of the problem.
I'm using the following code:
set..Adapter"POST"If the external API responses throws a 400 Status (Bad Request)
.png)
the tSC values is an error status and the value of tHttpResponse is empty, so I'm not able to check what is the Status Code and the content.
tSC="0 "_$lb($lb(5002,"<WRITE>zSend+120^%Net.HttpRequest.1",,,,,,,,$lb(,"MYAPP",$lb("$^zSend+120^%Net.HttpRequest.1 +1","$^zSendFormDataArray+64^EnsLib.HTTP.OutboundAdapter.1 +1","$^zCallService+61^MyApp.BO.REST.Base.1 +1","$^zSearch+1^MyApp.BO.REST.Providor.1 +1","$^zMessageHandler+6^MyApp.BO.REST.Providor.1 +1","$^zMessageHeaderHandler+23^MyApp.BO.REST.Providor.1 +1","$^zOnTask+42^Ens.Host.1 +1","D^zStart+62^Ens.Job.1 +2","D^StartEnsembleJob+6^|""%SYS""|STU +1"))))/* ERROR #5002: Error de cache: <WRITE>zSend+120^%Net.HttpRequest.1 */Hi Guys
Is there a zen control that exposes the "Copy code to clipboard" functionality , as seen in the code sample of this page?
Cheers
Hello All,
I have a class method on the DocRepo server that needs to query the data value of a global variable on the Edge server.
I have looked at the documentation for 'Global Structure,' but I didn't find anything that helped.
Global Structure | Using Globals | InterSystems IRIS Data Platform 2022.1
I am able to access this global easily from the Edge server using the $Get function, but I need to access it from the DocRepo server.
Any suggestions would be greatly appreciated!
Thanks!
Craig
Hi All
I'm building a ZEN page that will dispay HL7 from a database, and am currently displaying it an textarea.
Is the HL7 viewer that is displayed when HL7 message is selected in a visual trace available as an out of the box tool I can plug into a webpage?
Andy