Hi,
I want to list the source if a class in an 'iris session'.
I know I can get a list of all classes in a namespace:
iris session <session> -U "%SYS"
DO $SYSTEM.OBJ.ShowClasses()
===
Is there a similar sinmple command to get the source of a class?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi,
I want to list the source if a class in an 'iris session'.
I know I can get a list of all classes in a namespace:
iris session <session> -U "%SYS"
DO $SYSTEM.OBJ.ShowClasses()
===
Is there a similar sinmple command to get the source of a class?
I'm running a query, joining nine tables together. When I run it with a SELECT COUNT(*) I get about 200,000 rows. When I run the SELECT with the columns I want, I get about 2,700 rows. Is there something inherent with the queries that limits the result set size, or anything I can do to make sure I'm getting back all the results? Rather, than trying to run it about 100 times limiting all previously gotten accounts.
What table would I find the MRN in? I'm trying to write a crystal report and pull that field, but I cannot seem to find it in any of the tables, to be able to add to the report.
Thank you in advance for any help.
Hi! I am trying to export Cache data to my SQL database and am trying to export the schema as well.
The Data Export wizard on the Management Portal only allows me to export the data but not the schema. Is there anyway to get the schema exported as well?
So I know we can run routines using both XECUTE or @
However both of them run slower than just running the routine without it. (that is because as far as i understand, XECUTE command for example will re-compile before running?)
the question is: how can I run a routine by name - and keeping the performance as good as possible?
we've set up a new RHEL server 7.9
I was able to get the portal to work partially from running this command
[root@facsp1 DSA200]# firewall-cmd --zone=public --add-port=57772/tcp --permanent
success
though as I said it was partial. any idea where else I need to change to make this work?
thanks
Paul
.png)
Hello,
I am using the following:
s status = $SYSTEM.OBJ.Load("myClassName," "c")
and while trying to compile it i get an error that a property or method does not exist, more specifically:
Method or Property 'basicToolbar' does not exist in this class.
it's important to say - basicToolbar DOES EXIST! If i manually compile this class through the studio, it will work and is runnable.
only when using the Load command i get this error.
what could possibly be wrong?
i also tried combination of different flags but fail to understand how is this possible.
Hello Experts ,
Could you help to search message details based on MRN in intersytems iris.
We have created 100+ interfaces and currenly in live (interystems cloud) . Now I try to search message details based on MRN using below query. it is working fine in DEV. but in prod it is taking ages.
SELECT Header.SessionId, Header.SourceConfigName ,Body.RawContent
FROM Ens.MessageHeader AS Header
JOIN EnsLib_HL7.Message AS Body ON Header.MessageBodyId = Body.ID
where Body.TimeCreated BETWEEN '2023-03-15 13:10:22.993' AND '2023-03-15 13:10:25.993'
AND Body.
I’m trying to connect to an InterSystems Caché database from my local development environment using an IPv4 address. Most examples I’ve found show how to connect using the ODBC driver with the localhost or the default IP address (127.0.0.1). However, I want to know how to connect using my local IPv4 address.
Here’s what I need help with:
Hi Folks,
I would like to visulaize the tables and data on Power BI, so I try to connect the romote server to Power BI to access the tables and data of remote server. I can able to connect that remote server to our Studio also able to view class files.
But I couldn't able to connect the remote server to power BI. I'm getting the below error while click on the tables
"Expression.Error: This native database query isn't currently supported"

So now I'm in need of help
Thanks,
Vikram
Hello,
I'm trying to carry a custom error from one business process to another.
BPL:LookupClass fails it's lookup and a custom error of "Lookup XYZ" is generated.
The class quits with that error, but upon quitting, the custom error gets wrapped in an Ensemble System error:
ERROR <Ens>ErrBPTerminated: Terminating BP LookupClass # due to error: Lookup XYZ
This means, when I use the %LastError property to get the error message, it's not got the value I want to use. In this case, "Lookup XYZ".
I am experiencing an issue while executing a stored procedure in InterSystems Cache. Here’s the procedure I created
CREATE PROCEDURE Silk.
Hi,
I try to generate JWT tokens in Cache (not in IRIS).
In IRIS I managed to generate tokens using ##class(%OAuth2.JWKS).AddOct("HS256",secret,.jwks).
But In Cache there is no such routine.
Could you provide me a place to find an example how to use JWT, please ? I am interested to generate a token in Cache, send it to javascript client, and read a token provided by the client and check it is valid.
Kind regards,
Alin Soare.
Good morning
We are looking for a Senior Database Manager for a contract position with a health agency. It's a two and a half year contract, fully remote.
Please review the opportunity by clicking the link below and if you qualify, please let me know if you are interested in speaking about the opportunity.
More info here: https://teckpert.applytojob.com/apply/okkPyvcJn5/Senior-Database-Manager-Intersystems
Need to be based in the US and have work authorization.
Please apply to the link above.
Best,
Gabriel
We've just made a change to Server Manager with the aim of it coping better when a stored password is no longer valid, for example because it has been changed.
We plan to include this in the next published version (no release date yet set), but if you'd like early access please download the v3.6.3-beta.3 VSIX and install it, for example by dragging it from your file explorer onto the Extensions view in VS Code.
If you encounter problems with this beta you can easily revert to the most recent published version (3.6.2) by means of the "Install Specific Version.
Can InterSystems IRIS Data Platform 2019 be Integrated with Snowflake?
From InterSystems Do we have any predefined packages or Adapters available to Connect with Snowflake?
Can InterSystems be Connected with Snowflake through Web Gateway Management?
How to enable the SSL protocol and be able to capture the SSL protocol interaction traffic when connecting using DBeaver?
If convenient, could you please provide an ssl package with fake data? ths!!!
Hi Community!
Suppose you have a working system on 8-bit Caché database and need to transfer the solution to Unicode database.
How do you manage that?
Good morning, everyone
I purchased an HP LaserJet M101-M106 printer, and I'm trying to print via the Windows cache device, but I can't get it to work.
I can send it, but it doesn't print.
Physical device name: |PRN|HP LaserJet M101-M106
Type: Other
Subtype: P-DEC
Open Parameters: “W”
Could someone help me with what might be happening?
Otherwise, thanks
Davidson
Hi,
I try to create a tab delimiter file with bold header, when I convert the file into Microsoft Excel, it has a bold header. The file can be in text or CSV exension.
Thank you.
Alan
I've got a select statement bringing back one value, I want to combine all rows into one comma delimited string. So for example:
SELECT First Name
FROM mydb.People
I get a list of names:
John
Fred
Sarah
Carl
Jane
Julie
Instead of having 6 rows in the result, I want one row, with one cell that has "John,Fred,Sarah,Carl,Jane,Julie"
Is there a way to do that?
hi everyone,
I'm trying to make some use of AI to help with coding. To achieve this I've moved to VS Code linking to a cache instance, and installed the "Cody" extension from Sourcegraph that talks to Claude Sonnet.
In theory Cody can view, and send to the AI, the file I'm currently editing. However, it does not seem to "see" Cache server items, and only works for stuff in ordinary files that I have open. Is this an issue with "isfs" ("InterSystems File Service" that implements the "filesystem provider API" )? Is anyone else using Cody or any other AI extension successfully?
Thanks,
Mike
This story has followed me for more than 20 years.
In the early days of ObjectScript, the volume of $Functions was limited.
You had to write it as part of your program.
But the functionality was often implemented. It just had no name.
To use it, you had "system" calls using $ZU() functions. See Reference
Over time most $ZU() became deprecated and replaced by "official" $Functions.
But how to find then over a thousand lines of code written over decades
by an uncounted number of programmers that were gone with the wind.
Studio was something fresh and not so performant.
I created and then compiled a routine using the %Routine library
s routine = ##class(%Routine).%New(fileName_"."_extension)
d routine.Write(parsedRule)
//s status = routine.Save()
s status = routine.SaveStream(,.refresh)
if ($$$ISERR(status)) throw status
Now the routine compiles successfully and as a result it is saved on the database.
I can now use from anywhere:
set r = ##class(%Routine).%New("myGeneratedCode.mac")
w r.SizeGet()
and it would output the size.
but for the question: How do i run a method in that file?
See the new team members in action:
Try them online for yourself:
https://gitpod.io#snapshot/b31bdf9c-4657-402a-a2d
Get it from the Extensions view inside VS Code, or here in Marketplace.
Vote for it here in the current Developer Tools 2024 contest (voting ends: 29 Sep, 2024, 11:59:59 PM EST).
Discuss it below.
Most of all, enjoy DX Jetpack with its added booster rockets!
Hi, Support Team
I´m working with Cache for many years, currently i have running version cache-2018.1.7.721.0-win_x64.exe
However we are facing some compatibility/requirements challenges, in that way i´m hereby request your support to provide next version/build of Cache 2018.1 (e.g cache-2018.1.9.xxx.x-win_x64.exe )
Nevertheless , I already downloaded IRIS for testing purpose if can also provide trial/limited licence for detail testing will be apreciated.
Thanks in advance for your attention.
Regards
Rajendra
Hi
I was wondering whether there are any best practices or guidance around converting a HL7 message in to XML stream which will then be delivered to an end-point. Any help would be much appreciated.
Kind Regards,
Salma
Hi.
We are going to have basic patient demographic data coming in to Cache via a webservice. I thought that I should define the input as XML something like the FHIR format (with UK extensions).
In the past we've input XML streams and used the
I'm trying to authorise my app using OAuth 2.0 i Cache. Sadly I'm unable to exchange the authorization code for an access token.
I am able to redirect user to the /authorize page, where the user can login and approve my app. The user is then correctly redirected back to my app and a ?code parameter is sent back.
Hello to my fellow Cache Gurus:
I ran into two issues with Cache to XML Export and Cache to JSON Export in regard to array sequences. So before I waste time opening a WRC ticket, I figured I would poll the Development Community, since there is always so much wonderful feedback and suggestions via this Developer Community! So much thanks in advance for everyone's input! Go Team!
I have multiple classes that extend from %RegisteredObject and %XML.Adaptor.