🎉 🎉 🎉
Thanks to everyone who shares their applications!
And welcome to Open Exchange all who haven't done that yet.
🎉 🎉 🎉
Thanks to everyone who shares their applications!
And welcome to Open Exchange all who haven't done that yet.
Has anyone here successfully connected to a community edition version of IRIS through port 22 to localhost? I have been trying for hours and hours to connect a Mobaxterm terminal session to IRIS and am at a total loss. Im not sure if port 22 isnt opening at this point or if its a configuration issue on my part. I am seeing either "Remote side unexpectedly closed network connection" or "connection refused" when i try to run the SSH session. I have tried 22/51773/1972 etc port settings under add/edit server to no avail. Any help is appreciated. Thanks.
From time to time, we get the previous question in support, something or someone is using more licenses than expected, and we need to find what.
We have two scenarios. The first scenario is when we realize that the licenses are exhausted when the application does not work or when we try to connect through the terminal and get the "lovely"
<LICENSE LIMIT EXCEEDED> message:
.png)
The second scenario is when the end-user complains they could not use the application at some time, and we are late to see the problem when it is happening.
Hi,
I am not able to connect to the local web browser.
If I try to open documentation (http://localhost:57772/csp/sys/UtilHome.csp) I get
Caché Server Pages Version 2018.1.6.717.0
Server Availability Error
Server is currently unavailable
If I call up the log CSP.log I have the following:
Access Denied
Diagnostic
Failed to connect to 'LOCAL' - Reason: 0 (Connection successfully made but server not responding) (No Retry)
I cannot figure this out
Hi Team,
While converting FHIR JSON to SDA the file is being converted but, some of the data gets removed during conversion. Please help me out if you know the reason behind this.
Thanks in advance.
Harshdeep Acharya
Hi Community,
Our 1st InterSystems Portuguese Tech Article Contest ended. We received several interesting content in: 6 amazing articles 🔥
A great thanks to all that participated on our competition !
And now it's time to announce the winners ....
.png)
Meet the winners of the 1st InterSystems Portuguese Tech Article Contest and their amazing articles:
Hi guys,
We have created a utility to allow users to create a System task for a list of items the same way it’s done via SMP (attached below), the problem is that there may items and those systems tasks will grow a maybe exceed a couple of thousands so :
Hello
We have a solution with an EnsLib.EMail.InboundAdapter as services that scan a mailbox on incoming mail with attachments.
When a new email arrives, the service sends the request (with a property %Net.MailMessage) to the process. In the process, we try to loop through and retrieve part 2 which we assume is the file.
set Part = pRequest.Mail.Parts.GetAt (2)
We can read out the file name:
Set FileName = Part.FileName
But how, and is it possible, to save the attached file to disk drive?
I do not see any method that supports that in that class.
Or must we use% Net.POP3 to receive and store the file?
Hi guys,
I have a %Time filed with (Format=1) to allow showing hh.mm.ss and the field is showing fine in display mode eg:
it should show 00:07:30 but the seconds are cut off from it as below :
.png)
any ideas pls?
thanks
Hi everyone,
How do you alter primary key on a table that has data?
Any example much appreciated.
Cheers,
Tom
Hi guys,
How to find out the number of active connections (including SQL, http, tcp and all remote connections) of an IRIS instance? A core based license is used.
I've checked the document and find %SYS.ProcessQuery.
I'm currently using this sql:
select count(distinct Pid) From %SYS.ProcessQuery
where ClientIPAddress is not null
and ClientIPAddress <> '127.0.0.1'
and ClientIPAddress <> 'localhost'
and IsGhost = '0'
Is it accurate or do we have a better option?
Thanks in advance.
I wrote this COS script that I can run in a terminal session to get a view of the cache users:
set hdl = ##class(%Library.ResultSet).%New()
set hdl.ClassName = "Security.Users"
set hdl.QueryName = "Detail"
set sc = hdl.Execute()
while hdl.%Next() { do hdl.%Print() }
I know this is a bit rudimentary but this seems to be the correct script to get users. But looking at one of the clients AIX based instances there are about 3900 users. But this script returns no results. In fact, after the execute if I issue "w hd.%Next()" it returns 0.
Hi Team,
I am Working on one data transformation, In the data transformation the data transformation data needs to be saved in the globals.
Can you please help me to save the data into the globals in a Persistent class.
Thanks in advance
I have a .woff2 file I'm trying to serve over CSP.
If I set:
^%SYS("CSP","DefaultFileCharset")="UTF8"
Then it "just works" - but I'd rather not do something so heavy-handed/instance-wide, on principle. (This is for something that will ultimately be published on the Open Exchange.)
A more granular option, it seems, is described in the %CSP.StreamServer class reference:
if you need to define settings per extension (in uppercase) you can use ^%SYS("CSP","MimeFileClassify",$zcvt(ext,"U"))=$listbuild(type,bin,charset) where:
Hi All....
its possible get all extended classes from abstract class?
Could someone tell me a method that does this? or will I have to implement something by reading the data dictionary?
I am use cache 2018
Hi Community,
Below Query is returning boxes in place of values, I want to list all tragetconfigs , IP addresses, and ports for each business hosts components.
Could you please help me, Otherwise I need to do manually will take a long time to prepare list?
.png)
Hi everyone, how do you run multiple quires?
I have tried couple of different ways, but not working.
SET sql = 2
Set sql(1) = "UPDATE QUERY"
Set sql(2) = "UPDATE QUERY"
Set sqlStatement=##class(%SQL.Statement).%New()
Set sc1=sqlStatement.%Prepare(.sql)
If $$$ISOK(sc1) {
Set tResult = sqlStatement.%Execute()
}
else{
$$$LOGERROR("Failed")
}
To Programmatically Edit Productions (interfaces) you can use a combination of the interoperability apis and SQL queries.
At a high level, it is important to know the namespace and production you are working in at the moment.
// Object script
// The active namespace is stored in this variable
$$$NAMESPACE
// Print namespace
Write $$$NAMESPACE
# Python
import iris
# The active namespace is returned from this method
iris.utils._OriginalNamespace()
# Print namespace
print(iris.utils.Hello, good morning
First thank you for your time in reading and answering our question.
We have been reading, inquiring, researching about how to make multiple dispatches from 1 Process of type "DICOM.BP.QueryProcess" to several target Operations.
I have a linked procedure class and SQL gateway setup and I can't seem to get any response, status or error from using the stored procedure, I think it must be something big I'm missing to not even get a status.
Can someone see what my problem is please, any help would be very much appreciated.
Class generated by linked procedure wizard:
Include %occInclude /// Class dbo.
Hey Developers,
What is the best way to containerize your InterSystems IRIS application? Discover your options:
A question has come up that I am not finding the answer for. Does the daily purge process re-index EnsLib.HL7.SearchTable or other SQL tables? In looking at the purge process documentation I am not seeing anything that mentions EnsLib.HL7.SearchTable. Do we have to manually constantly re-index tables that we create? For example I created another search table based off of EnsLib.HL7.Search table, will I need to constantly watch this as it grows?
Since the ObjectScript plug-ins for VS Code use web services to connect to IRIS, is it possible for a VS Code user to authenticate against IRIS using OAuth?
I am referencing the documentation here: https://docs.intersystems.com/ens201815/csp/docbook/DocBook.UI.Page.cls…
I have embedded html within a <script language="cache" runat="server"> block. Within that I'm defining and using a macro, but it doesn't display at all. Something like:
<script language="cache" runat="server">
s stringData=obj.Hi
I'm using an embedded SQL statement with a a cursor-based Embedded SQL query that uses host variables in the where clause, however, what I'm doing doesn't seem to work. Can anyone help?
The code I'm using is
set tMessageName = "AssessmentsMessage"
set tIdentifier = "SectionCode"
set ID = 0
&sql(
Declare IDs Cursor For
select %ID
INTO :ID
from GMECC_DocmanConnect_Tables.I tried to convert IRIS globals to pandas dataframe.
I can do it as follows if there are no Japanese included in globals,
USER>zw ^ISJ2
^ISJ2=4
^ISJ2(1)=$lb("Name","Age","Address")
^ISJ2(2)=$lb("Sato","50","Tokyo")
^ISJ2(3)=$lb("Kato","40","Osaka")
^ISJ2(4)=$lb("Ito","30","Kyoto")
USER>do $system.Python.Shell()
Python 3.9.5 (default, Jan 31 2022, 17:55:36) [MSC v.1927 64 bit (AMD64)] on win32
Type quit() or Ctrl-D to exit this shell.
>>> mysql = "select name,value from %library.global_get('user','^ISJ2',,2,2)"
>>> resultset = iris.sql.exec(mysql)
>>> dataframe = resultset.Hi,
i have made a testing package (name "test.a") and want to move it now into an other new package (f.example work.a)
is that possible?
Michael
Hi,
Is it possible to use the IRIS' Interoperability's Foreground Window option for Business Operations when IRIS is running in a docker container ?
Thanks -
Steve
How can I get the Python error object(exception return value) from the embedded python method?
I have an embedded Python method like as below;
ClassMethod test2() As XXX [ Language = python ]
{
try:
a=1/0
except Exception as ex:
print("Exception: %s" % str(ex))
return ex
}I'm not sure what kind of return type to set for this classmethod. "As XXX" <--
I tried to set "ClassMethod test2() As %Exception.PythonException [ Language = python ]"
However, I got the following return value when I run the method in the IRIS terminal.
USER>set st= ##class(User.PythonTest).