I am trying to write an application that will take some information on the database make a call to the Google API distance matrix and get the information to use with rest of the application without using the ensemble part of the development is this possible and how can I do my communication with the API from a cache class thanks in advance
Last week, we announced the InterSystems IRIS Data Platform, our new and comprehensive platform for all your data endeavours, whether transactional, analytics or both. We've included many of the features our customers know and loved from Caché and Ensemble, but in this article we'll shed a little more light on one of the new capabilities of the platform: SQL Sharding, a powerful new feature in our scalability story.
We have noticed in the course of the last 18 days our CACHE.dat has grown by 20 GB. Is there a way we can break down the data in CACHE.dat to see what could be growing in size?
Let me state it another way.....Is there a way to see what space an Operation/Service/Process is taking up within a certain Production?
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
As I was going though and trying to figure out why our CACHE.dat has increased in size over the past 18 days, I found that EnsLib_HL7.Message is still retaining messages dating back to 2014 even though we have our purge set to 10 days. Has anyone else experienced this?
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
Hello,
I have a property which I need to move from one class definition to another as follows:
Old definition:
Class SCHED.SchedEntry
{
Property Experiment as %String;
Property ScanSlot as list of TracerEntry;
}
Class SCHED.TracerEntry
{
Property Tracer As %String
}I want to move the Experiment property to the TracerEntry class so that there is a different Experiment allowed for each ScanSlot, like this:
Class SCHED.SchedEntry
{
Property ScanSlot as list of TracerEntry;
}
Class SCHED.Looking at the documentation expalining the use of client side menus, including the drop down menu.
I was messing around trying to get the "Open", once clicked, to use javascript to open windows file explorer to open/pick a file.
I've got it to partially work... Using keystrokes Ctrl-O will open the file explorer yet clicking on the drop down's File/Open does nothing.
Not sure what I'm doing wrong here.
NOTE: I had commented out the two &html lines in the Testing Method... and doing a Ctrl-O still work.
Why?
/// Created using the page template: Default Class PublisherDB.NewClass1 Extends %
In part of this post in 2016 @Eduard Lebedyuk asked if anyone knew what is meant by an "expanded class", as referred to in the text that appears when we run the ShowQualifiers classmethod of %SYSTEM.OBJ thus:
SAMPLES>DO $system.OBJ.ShowQualifiers()
...
Name: /checkuptodate
Description: Skip classes or expanded classes that are up-to-date.
Is there any possibility to implementing a custom TCP Operation (or any other possible way) which can enable/disable (readonly) the controllers such as ipaddress and port. This need to be done based on the role of the user logged in to the management portal.
Appreciate if anyone can provide sample code around this...
Hi,
I am working on a custom service that reads from a file and import content into a global. The problem is that global is also used by other processes. I have been trying to find any way to stop/disable a process from cache code so after reading the file, process is stopped, global updated and then process is restored. But I could not find anything, just to start/stop the whole production
Do ##class(Ens.Director).StopProduction()
Any ideas if this is something that can be done in ensemble?
Thanks
We will be transitioning from a server running HP OpenVMS to one running RHEL 7. The main question some of the team had was what would be the best method for moving the globals to the new system.
Also, I was wondering if any others have transitioned from OpenVMS to RHEL. If so, were there any kinks that we should be aware of prior to transition?
Does anyone know where the default port comes from when installing a new instance on Windows Server 2012 R2?
It constantly picks up the wrong default which is already running on the server (probably swapped over after installation) and the install fails and rolls back.
I installed again and this time without rollback but still allocated the wrong port so at least was able to manually update the cpf and then start the instance.
Would like a simpler solution to the issue and assume they are traversing some windows registry entry that may need updating.
Hi community ,
i use postman for testing my request , i need to extract access token from it (i put it inside the "Get url" using post man before sending my request).
i use the GetAccessTokenFromRequest of (%SYS.OAuth2.AccessToken) class , but in my rest code party , when i send request from post man , i can't extract my access token, it's empty.
can please give me help?
thank you
On the homepage that we get when we go to https://community.intersystems.com/ there are three views, controlled by a set of buttons in the upper right:

Above is with the default view (the "house", i.e. the "home").
I think the text "Top posting" would be better expressed as "Top posts" (plural), or maybe even just "Posts" (because what does "Top" mean when I'm viewing, say, "most active" or "most viewed"?).
Also, when I pick the tag summary view ("tags" icon to the right of the "home" icon), the page doesn't offer me a way of switching to one of the other views ("home" or "compact"):

I have a query would run very long time and I get always timeout error from SMP.
Thank for your help.
Hello to all my fellow Cache Developers/Experts:
My question has to do with how I would go about changing the image file size when loading (saving) an image file (i.e. JPG, BMP, GIF, PNG, etc...) to a Cache Database Table.
Here is my business scenario:
- The user will save various image files (could be different types, such as JPG, PNG, BMP, GIF) to an operating system directory.
- Then our application has a background job that monitors the image directory and will load (save) the image into a Cache Database Table into a property of data type %Stream.
Is it possible to have a, b, c, d, e, and f as a counter instead of the counter being numeric? See below...Epic would like us to set OBX.4 using a alpha numeric combination.
OBX|4|ST|69548-6^Genetic Variant Assessment|1.a|Mutation IDH1:Not Detected||||||F OBX|5|ST|69548-6^Genetic Variant Assessment|1.b|Mutation IDH2:Not Detected||||||F OBX|6|ST|69548-6^Genetic Variant Assessment|1.c|Mutation NPM1:Not Detected||||||F OBX|7|ST|69548-6^Genetic Variant Assessment|1.d|Mutation RUNX1:Detected||||||F OBX|8|ST|69548-6^Genetic Variant
I am trying to come up with a way to decode the Base64 we receive in an HL7 message into a PDF file and save it in a directory on our AIX machine. I thought I had the following working at one time but I am having issues. Has anyone done this before?
{
set Oref = ##class(%FileBinaryStream).%New()
set Oref.Filename = Ancillary
Do base64.Rewind()
While 'base64.AtEnd {
set ln=base64.ReadLine()
set lnDecoded=$system.Encryption.Base64Decode(ln)
do Oref.Write(lnDecoded)
}
Do Oref.%Save()
quit 1
}
Thanks
Scott
Hi,
My doubt is about the SQL Query in Caché:
I don't want to take all results from the table and orgainze them manually, for example: I have a table with 50 records, but I only want to select 10 records, being from tenth until the twentieth and this without knowing their IDs.
So, how can I do this, without losing performance, there is any way?
NOTE: In other SQL languages I can do, for example, SELECT * FROM extbl Limit 10 OFFSET 10
Thanks,
Andrei L. Nenevê
Hi guys,
I have a technical question. I have a Ens.BusinessOperation which contains a main method with parameters "In" As Ens.StreamContainer and Output "Out" As Ens.StringContainer. Return type is %Status.
Can this method just do "Quit $$$OK"?.
Currently this BO is used for see messages in Full Trace View.
It is a correct way to proceed?
Thank you
I'm looking at an issue where I need to grab an ID number from an external SQL table when it doesn't exist in a HL7 message, and then add it to the HL7 message.
I have built the logic within a BPL which checks for the lack of ID, and then pulls the ID from the SQL table (and storing its value using the context functionality within the BPL) however I am at a loss as to how I then take the ID and add it to the HL7 message before passing it to a router.
I am currently trying to add a condition to a routing rule that uses the %Source property of a routing rule. Unfortunately I am getting compile errors when I use the "%", and if I get PROPERTY DOES NOT EXIST if I try and use any of field. I have tried referencing the messages as "Message." , "Record.", "FullRecordMapClassName." , "Document." . Does anyone know how to reference the properties of a record map in a routing rule, or if it is even possible? Thanks!
Hi
Is it possible to include the ≥ or ≤ in a ZEN select component? i.e.
<select id="condition" label="Condition" valueList="<,>,=,≤,≥" displayList="<,>,=,≤,≥"/>
I have tried ≥ and ≤ but these also do not work. If I inspect the options in the browser and edit with these characters they display correctly but just not when loaded in the zen page.
Cheers
Iain
Just wondering which table holds detail for SQL Gateway Connections.
Hello all, I created a web service and I am trying to access it using SoapUI but I get this error:
<text>ERROR #5002: Cache error: <PROTECT>zGetMsgClass+3^%SOAP.WebService.1 ^oddCOM("TestWeb.Service.TestWebSoap",85,"P",0,"soapAction","http://127.0.0.1/csp/dev5/Utils.TestWebService.testNow"),h:\dev5\</text>
It appears to be trying to make an entry in the ^oddCOM global, but is getting a PROTECT error.
I also tried a .NET app where I added the service using the WSDL. In .NET I get "Internal Server Error" so I'm assuming it's the same error.
Any ideas welcome.
Thanks, Malcolm.
I have a class to track data changes.
As it becomes slower and slower to find last changes I think I need an index.
The 2 classes are just simplified reality.
HowTo ?
{
Property Subject As %String;
Property Author As %String;
Property Change As %TimeStamp;
}
and
{
Property Title As %String;
Property Changes As List Of Rick.ChangeItem ;
/// where & how create the index ?
}

Come to Barcelona and join us !!
How suitable is Docker for standalone deployment of an Ensemble version and Ensemble application together?
The context is deployment by an application partner of an integration application and the supporting Ensemble version as a single package (single file ideally), to multiple environments and to multiple customer sites.
I don't have experience with Ensemble on Docker so I'm wondering what gaps and pitfalls may exist.
I'm having trouble with a vb6 application attempting to connect to a Cache 2017 release. It uses the older Cacheobject.dll instead of ActiveX. The application currently works with a 2010 release of Cache. Is Cacheobject.dll supported in later releases?
I looked through documentation and posts and did not find an answer.
Thanks in advance for any response.


