Hi,
just want to know if indexes in IRIS / SQL are autobuilding.
I define an index in a table and then i costantly do a lot of insert/delete in that table. Will i face index problem? Do i need to rebuild it often?
Thanks
Hi,
just want to know if indexes in IRIS / SQL are autobuilding.
I define an index in a table and then i costantly do a lot of insert/delete in that table. Will i face index problem? Do i need to rebuild it often?
Thanks
Being a programmer nowadays is basically the geek version of being a polyglot. Of course, most of us here, in the InterSystems Community, “speak ObjectScript”. Howeever, I believe this wasn’t the first language for many people. For instance, I had never heard about it prior to getting the appropriate training at Innovatium.
The most fascinating part of this is that even though we are able to learn any language and become fluent in it, we will always have our favorites – the ones we feel more comfortable and familiar with, and, as a rule, it has a lot to do with the
Methods written in ObjectScript can use pass-by-reference arguments to return information to the caller. Python doesn’t support pass-by-reference arguments, so Embedded Python in IRIS doesn’t support them either. That's it, that's the end of the post, hope you liked it. 😉 But wait, what about the Classic Rock & Roll?
Actually, since returning values in method arguments can be useful, this post demonstrates several ways to do this, between ObjectScript and Embedded Python. So let’s start with the simplest example: calling an ObjectScript method that already has a pass-by-reference argument from
Hi,
i'm working with an instance of IRIS that does a lot of integration (HS) and i need to schedule all the cleaning jobs for the productions.
Is there a way to "clone" the purge task for all the namespaces?
Is it possible to abort system start during SYSTEM^%ZSTART?
If some conditions are not met, I want to shut down IRIS instead of continuing with the startup.
Hi Community,
Watch this video to learn about the new and future changes to the security framework in the HealthShare product suite. Topics include OAuth 2.0, SSO, and the Universal Login Page:
⏯ Updates in Security in the HealthShare Suite @ Global Summit 2022
Good afternoon,
first thank you from heart and mind, mind and heart; for reading, thinking, reflecting, responding, and above all explaining a possible solution and/or documentation to address this doubt.
We would need a way to get inside a SOAP Web Service the SAML Assertion, and then, send it directly to the endpoint throught a SOAP Operation.
Currently we have researched and developed how to get the SAML Assertion with the following code:
Class Servicios.RESNS.ConsultaRecetas Extends EnsLib.SOAP.Service [ ProcedureBlock ]
{
/// This is the namespace used by the ServiceParameter NAMESPACEWhen developing interoperability productions, it might be useful to have settings outside of a Business Host. The primary reason is when you need a setting to affect several different Business Hosts and want to guarantee that the value is the same. While System Default Settings can be used to propagate settings for Business Hosts, they can be changed by overriding the value on a BH level (although the advantage of Business Host settings set via SDS is that they don't need custom code which our current approach requires).
Another reason is when you need to affect non-setting parts of the Business Host configuration (PoolSize, Enabled, etc.)
We will be adding an env setting to a production.

In this article, I will show you how one can easily create and read Microsoft Word documents using InterSystems IRIS with the leverage power of embedded Python.
First things first, let’s install the Python module called python-docx. There are a lot of modules to write MS Word files in Python. However, this one is the easiest one to use.
Just execute the following command on the terminal:
!pip3 install python-docx
If you are working with Docker, like I do, just add the following line to a Dockerfile
ENV PIP_TARGET=${ISC_PACKAGE_INSTALLDIR}/mgr/python RUN pip3 install python-docx
Let's have a round of Code Golf!
String rotation is when you take a word and move some of its letters to the end of the word, so the first letter becomes the second letter, the second letter becomes the third, and so on. Last letter becomes first. Rotation can happen only in one direction →. Your task is to write a method that will receive two strings. It then must return an integer value of how many times needed to rotate the strings to be equal. As usual shortest solution wins.
"hello", "llohe"
3
The signature of the contest
I have a problem with connecting to IRIS via ODBC on Apple Silicon.
I installed unixodbc with brew, and downloaded ODBC-2023.1.0.229.0-macos.tar.gz from the community github repo.
After setting up odbc.ini so that libirisodbcur6435.so that was just downloaded is used as the driver, isql fails as follows:
$ isql -v sampleodbc[08S01][unixODBC][Iris ODBC][State : 08S01][Native Code 459][libirisodbcur6435.so]Connection via irisconnect failed:getaddrinfo(, , 0, 0) failed in s_TCPConnect, reason = nodename nor servname provided, or not known.[ISQL]ERROR: Could not SQLConnect
Can anyone
Hi,
I trying to find out the procedure to kill off a currently printing Cache job.
The user wants to cancel the job as they put the wrong start date. The start date was set to be generated from the default date of 1 Jan 1900.
As the start date was such a long time ago, the report generation would take a long time.
I think the printing uses this "production" on the print server:
Report.Print.Service.CachePrintService
-> Report.Print.Process.Request
-> Report.Print.Operation.PrintCacheReport
I think the printing part is "production" "Operations", Report.Print.Operation.PrintCacheReport.
Have just deployed IRIS in Azure and when accessing the filesystem through SSH I just can't see the ISC folder through the WSL ubuntu user, what am I missing here?
.png)
As I want to create new folders and use the same in test productions.
the needed directories are created in /home/azureuser but the same is not visible in IRIS file system.png)
.png)
Example:
Method Execute (args...) As %Status {
...
#dim statement as %SQL.Statement
set statement = ##class(%SQL.Statement).%New(2)
set statement.%Dialect = "CACHE"
do statement.prepare(query)
#dim rs as %SQL.StatementResult
set rs = statement.execute(args...)
My questions are: 1) how do I get the size of **args **2) how to get all values of **args **3) is it possible to modify the args?
Any suggestions on a way to indicate when a patient encounter is in an ‘Observation’ status** in Clinical Viewer? Clients would like to be able to distinguish between true ‘Inpatient’ or ‘Emergency’ status and ‘Observation,’ especially given that encounters often cycle between various statuses.
HealthShare only allows for the following ‘encounter type’ values, and anything that does not match will be translated to Outpatient by HealthShare
**CMS
In over a decade of using Ensemble/HealthShare, we have been able to use a single message type (doc type) for all HL7 ADT event types. We now have an application for which the HL7 segment sequence is different for A03s than it is for other ADT event types. The content of the segments is the same across event types; only the segment sequence differs. The data transformation has to do some custom logic, so we can't just use the "copy" variety of the transformation Create property.
Because a different message schema has to be used for A03s, the only way I can think of accomplishing this is to
Hi All,
I am trying to create a production from a script(routine).
I am using the below way to create an empty production
Set oProd=##class(Ens.Config.Production).%New()
Set oProd.Name="Test.NewProduction"
Set oProd.ActorPoolSize=1
Set status=oProd.%Save()But when i tried to start the production, i am getting an error as "Test.NewProduction" class does not exists.
Is there any other way to create the production via routine or terminal using commands as above?
Hi everyone,
Is there a way to convert svg to jpg or png? thanks.
Hi Jeff,
I reviewed the Ensemble 2018 support documentation
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
And I did not find a restriction on the use of Ensemble 2018 installed on Docker with Openshift, but I received information that Intersystems would not support this installation case. That is true?
This would help us with the transition to IRIS as I carry out the migrations.
Thank you very much for your help

We're super excited to share with you all the latest improvements we've done over the last couple of months!
📌 emojis forever!
📌 embed YouTube videos
📌 left side menu of the post
📌 official InterSystems news
Let's have a closer look at all these updates.
Hey guys!
I'm looking for good people to give a feed back about my article, just access the link below, translate from Brazilian Portuguese to your language if necessary and leave your feed back
Link: https://pt.community.intersystems.com/post/veremos-seguir-como-o-inters…
Don't leave your feed back here, leave it in the article.
We are very eager to learn what kind of feedback you might have for InterSystems.
We hope you had a chance to download and install one of the kits that show how the new process works. If not, you still can do it, following the instructions on these posts:
Our target release is InterSystems IRIS 2023.2 (and InterSystems IRIS for Health 2023.2) and will be available in a few months.
Provide your
Exported contents of a namespace on one server (classes, include files and lookup tables). Importing that code into a newly created namespace on another server. Both servers Ensemble 2018.1, same build. Export was via InterSystems Studio. Export is around 18Mb in total (XML file sizes).
When importing and compiling on the new server, getting errors as below - with #6301: SAX XML Parser error prominent - on a number of the imported files, all containing data transformations or business processes.
When I try and open the transformation or the business process through the management portal I get a
I have a production with a HLv2 HTTP Listener. For demo purposes, I need to send HL7 messages directly from a browser. Here is an example (React/typescript):
const message = "MSH...";
const args: RequestInit = {
method: "POST",
mode: "no-cors",
body: message
}
const response = await fetch(IRIS_SERVER_HL7_HTTP, args);
// await checkResponseAsync(response);
return await response.text();
Technically it works, and Chrome network monitor lets me know that operation completes successfully (response code is 200 and I see the ACK), but the browser restricts fetching the response
I would like guidance on the most effective approach for converting UTC time, such as "2023-11-24T14:00:00.000Z," to the format "202311241400," while taking into account the 1-hour time difference during UK summer time. Any suggestions or advice would be greatly appreciated.
Hi Developers!
Often solutions with InterSystems IRIS BI can turn into a quite big solution with dozens of pivots and dashboards.
With every new IRIS BI solution release we can add changes that could influence the behavior of existing pivots or dashboards so they stop working. For example if we change the dimension or measure name, forget deploying some cubes or subject areas, conduct refactoring via mass renaming of cubes and its elements etc some widgets could stop functioning.
The solution is to test (manually?) every widget in every dashboard if the MDX queries are working.
Today I want to
Good morning:
Thank you very much for reading the doubt and above all thank you very much for answering.
Given the following use case:
If we have a Destination Service that through a HTTP GET by REST gives us a certain JSON response, where it should be noted that it is a list of objects where each object in the list does NOT have a key:
Hello,
We have recently encountered an issue which requires us to define a new identity field (named xMDA in the attached example), instead of using the default ID field.
We need to run an SQL query which unfortunately overrides the ID field (see attached image) but we still need to be able to access the ID field in said query.

We are however unable to get the attached solution to work. Is there a way to get around this issue?
Class TafnitCore.System.MDA.USER.caghoNybdWE1x0wt0DpyXVMhA5Yx2x2 Extends %Persistent [ ProcedureBlock, StorageStrategy = MainStorage ]
{Property xMDA As %Integer [ Id
I'm trying to extract data from an IRIS database into SQL server with SSIS using the ODBC driver: InterSystems ODBC35 (ODBC-2023.1.0.229.0-win_x64.exe)
I have Unicode turned off in the ODBC settings.
I'm getting strange results - with some tables the SSIS ODBC connector will work but the ADO.net connector - using the same ODBC driver will. For other tables it's the other way round. The ADO.net sees the data as unicode and won't allow me to insert it into a non unicode table but ODBC will be fine.
In some cases I'm getting data that just looks screwed up .png)
Anyone had similar issues?
Dear experts,
Please, could you help me?
Im trying import a global:
ACB> K ^GlobalManualSend
ACB> D $System.OBJ.Load("C:\Users\BNAPC\GlobalManualSend.xml")
ACB> Set sc = ##class(%Studio.Project).InstallFromGbl("^GlobalManualSend","fv")
But is returning a error about version:
.png)
Please, could you help me about it?
Thank you.