Question Flávio Lúcio Naves Júnior · May 19, 2021

Hello everyone,

I have a question, I am trying to use xecute command, but something wrong happen when i was using the command, and i don't know why hahahaha.
I created a file .mac with this code:

label(test) public{
       set routine="variable"
       set call="write routine,!"
       xecute call
       quit
}

But when i run the command, show me this message error:

<UNDEFINED>label+3^tstFJR3 *routine

After that i changed the code to:

label(test)
      set routine="variable"
      set call="write routine,!
4
1 337
Job Stuart Byrne · May 19, 2021

I'm moving onto a new role soon and my System integration lead post has become available.

So please apply to come and work for a challenging, hard working and dedicated solutions team as a System Integration Lead at East and North Hertfordshire NHS Trust.

At ENHT we're on an exciting digital transformation journey and in this role you'll be key to helping deliver this.

Please see full details on the link below:

https://www.enherts-tr.nhs.uk/careers/vacancies/#!/job/UK/Hertfordshire/Stevenage/East_North_Hertfordshire_NHS_Trust/IT/IT-v3153723?_ts=735

0
0 316
InterSystems Official Bob Kuszewski · May 18, 2021

Java Business Host is now retired

With the release of PEX in InterSystems IRIS 2020.1 and InterSystems IRIS for Health 2020.1, customers have a better way to build Java into productions than the Java Business Host. PEX provides a complete set of APIs for building interoperability components and is available in both Java and .NET.

The Java Business Host has been removed from InterSystems IRIS and InterSystems IRIS for Health as of their 2020.4 releases.  Customers using the Java Business Host are encouraged to migrate to PEX.

0
0 287
Announcement Evgenia Kurbanova · May 13, 2021

Hi Developers, 

It's time to announce the Winners for April 2021! Please welcome our awesome Global Masters Heroes!

The storm of applause goes to these developers and their great contribution to DC in April 2021:

🥇 @Dmitriy MaslennikovCo-founder, CTO and Developer Advocate, CaretDev Corp, Russia

🥈  @Lorenzo ScaleseSolution Architect, Zorgi, Belgium

🥉 @Robert Cemperex Senior Sales Engineer from InterSystems, Austria

     

Learn more about the competition and our awesome winners below.

5
0 256
Question Lucas Macori · May 7, 2021

Hello everyone,

We are trying out lists inside persistent classes. Because we may need to use them in a very close future.

So far, I managed to create a class that has a list property which has an indice.

Here is the class in question:

Class User.TestList.Data.
8
0 466
Question Martin Staudigel · May 12, 2021

Hello Community,

we read data from an Oracle database. The desired order is created by an 'order by' in the sql statement. The individual elements of the result set are converted into objects and inserted into a parent object using 'insert' on a property, which implements a one-to-many relationship with the result objects. Later, we iterate over the objects in a for loop and process the contents. At this point the order is apparently no longer identical to the order in which the elements were inserted.

5
0 432
Question Purushothaman Thirugnanasambandam · May 11, 2021

I have a requirement to update the Ensemble Host Settings Programmatically.  Mainly the "AlertOnError,QueueCountAlert,QueueWaitAlert,InactivityTimeout" settings.
I used Ens_Config.Item (persistent) class to get the settings (list object) and then update it. But for some of the Business Host's, I dont see the above settings in the table, but present in Settings of that particular Host in Ensemble Management Portal. So my logic is not working.

Why is that and how to write a code to update the above settings for all the hosts ?

Please let me know the way to achieve my requirement.

My code.

11
0 782
Question Mark Runyan · May 5, 2021

I'm looking for a SQL function equivalent for SQL server STRING_SPLIT.   I have records like this:

join_to_tx_history (key), ss_note_multi_dict_1_value (varchar)

64559.001 Assistant Principal, Case Worker, Client, Dad, Daughter, Mentor, Mom, Other, Principal, Psychiatrist, School Counselor, Teacher

and I like the field ss_note_multi_dict_1_value split to rows for each comma delimited value.  So I can get this:

64559.001    Assistant Principal
64559.001    Case Worker
64559.001    Client
64559.001    Dad
64559.001    Daughter
64559.001    Mentor
64559.001    Mom
64559.001    Other
64559.

2
0 998
Question Ruiyan Yu · May 14, 2021

Hello everyone, I can choose between RSA and DSA. ECC seems to be unsupported. Is there any workarounds without using external binary like curl?

Best regards RY

5
0 476
Question Daniel Bertozzi · May 14, 2021

Hi all

I'm trying to recreate this method below in Cache/IRIS. 

https://en.wikipedia.org/wiki/Luhn_mod_N_algorithm ISO-7812-1 (LUHN-10)

I've been following the javascript example. It seems simple in theory but i'm struggling with which cache methods to pick.

$LENGTH, $System.SQL.FLOOR() - seem ok

$EXTRACT - I think for .charAt (though may need to correct base)

$FIND - for .indexOf

Any suggestion which would be the best ones for the job?

Thanks

Dan

5
0 309
Question Robert Hildebrand · May 14, 2021

Hello,

I created a custom business operation to copy PDF files in Intersystems Healthshare. To copy the files I used:

$ZF(-100, "", "cp", "-f", tSource, tTarget)

tSource contains the source file e.g. "/opt/var/data/dir/1821008687135422926_5849146876.pdf".

tTargetSource contains the target file "/opt/targetdir/Müller_Jörg_1821008687.pdf".

Copying files without german Umlaute works fine (e.g Smith_Robert_1821081542.pdf), but when the string contains special characters like "ä", "ö", "ü" or even  "ß" copying is not successful.

3
0 480
Article Dmitry Maslennikov · Oct 6, 2020 6m read

Let's imagine if you would like to write some real web application, for instance, some simple clone of medium.com. Such sort of application can be written using any different language on the backend side, or with any framework on the frontend side. So many ways to do the same application, and you can look at this project. Which offers a bunch of frontends and backends realizations for exactly the same application. And you can easily mix them, any chosen frontend should work with any backend.

Let me introduce the same application realization for InterSystems IRIS on a backend side.

3
1 1062
Question Azezur Rahman · Oct 16, 2020

Hello there developers,

As I started to install the IRIS for community editing I came across this interface. (Image attached below)

Is there a major difference in these 2 types of installations and is there a place where I can refer with regard to this in detail please? 

Please let me know. 

Thank you in advance. 

2
0 539
Question Azezur Rahman · Oct 16, 2020

Hello Community,

On the installation process of the IRIS Community Edition I came across an interface as below (image attached.)

I would like to know what it means, what is the use of it, what it is and where can i know more on this? 

I tried the documentation page but was not successful in finding anything regarding it. 

I would like to know more on it please. 

Hoping to hear soon. 

Regards. 

4
0 843
Question Brian Schoen · May 14, 2021

We use the Category drop-down for other IT analysts to quickly see interfaces related to their application/group.  This drop0down fails to work (IDs get out of sync with Config Item IDs) if the Production is compiled.    There is no fix available (development was started, but stopped in favor of other items).

Has anyone else run into this issue?  Any custom work-arounds?

Example:

Thanks.

3
0 179
Question Adel Elsayed · May 14, 2021

I'm trying to connect to a database (outside Cache) using the examples here:

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…

and https://docs.intersystems.com/latest/csp/docbook/Doc.View.cls?KEY=BGOD_…

and i'm still getting an error on running the Connect method (Connect(pDSN,usr,pwd,0))

"0 "_$lb($lb(6022,"DSN/User Connect",,,,,,,,$lb(,"TRAK",$lb("e^zConnect+15^%Library.SQLGatewayConnection.1^2","d^zConnect+13^%Library.SQLGatewayConnection.1^2","e^^^0"))))/* ERROR #6022: Gateway failed: DSN/User Connect.

1
0 532
Discussion Utsavi Gajjar · May 13, 2021

Hello All,

Just wanted to acknowledge the fact that this community has become a great resource for help. I have had many wonderful people helping me out with my questions in last couple of weeks. Thank you to all of you :)

Regards,

Utsavi

1
0 222
Discussion Eduard Lebedyuk · Apr 2, 2021

Images for other languages are often build using multistage build process.

What about InterSystems IRIS?

Consider this Dockerfile:

FROM irishealth-community:2020.4.0.524.0 AS builder

# Load code into USER and compile
# Adjust settings, etc.

FROM irishealth-community:2020.4.0.524.0

# replace in standard kit with what we modified in first stage

COPY --from=builder /usr/irissys/iris.cpf /usr/irissys/.
COPY --from=builder /usr/irissys/mgr/IRIS.DAT /usr/irissys/mgr/.
COPY --from=builder /usr/irissys/mgr/user/IRIS.DAT /usr/irissys/mgr/user/.

The advantage of this approach is the image size.
The disadvantage is that on a final stage developer must know/remember all the modified places in the builder image.
But otherwise is this approach OK for InterSystems IRIS?
Have anyone tried to build IRIS images this way?

9
0 356
Article Sam Duncan · May 6, 2021 4m read

When you have been using cubes for business intelligence in a namespace for some time, you may find that there are many cubes in the namespace, only some of which are actively being used. However, it can be difficult to tell which cubes users are or are not querying, and maintaining unused cubes can be costly both in terms of storage and of computation to keep them up to date. This article provides some suggestions and examples for monitoring which cubes are in active use, and for removing cubes that you determine are no longer necessary.

2
3 647
Question Anna Golitsyna · May 12, 2021

There is an undocumented command, $preprocess, that can be called as below. In this case it takes the class name and converts its code into a text array. That includes comments as well. Two questions about it if you know:

  1. Is that the only job that $preprocess does?
  2. Why would it generally work for most classes except for a single class? This is probably a bug since it works in a later Cache option for this class too but I need to work with this Cache version as well. This class does not contain any control characters except for plain vanilla tabs, checked.
8
0 313
Article Eduardo Anglada · May 11, 2021 8m read

In this article we are going to show the results of the comparision between IRIS and Postgress when handling Astronomy data.

Introduction

Since the earliest days of human civilization we have been fascinated by the sky at night. There are so many stars! Everybody has dreamed about them and fantasized about life in other planets.

Astronomers have been identifying and classifying stars since many centuries ago. There are star catalogues compiled in Mesopotamia and Egypt from the 2nd millennium BC [1]. In modern times there have been two main catalogues: Hipparcos [2] and Gaia [3].

7
0 924
Question Scott Roth · May 12, 2021

Awhile back the Developer community helped me with a situation I was having... How to loop through a Repeating Segment and Single Filed, example OBX().5, within a Business Process Rule and compare it against a Data Lookup table.

Well now I need to take it a step further. I need a way to loop through OBR() segment, and loop through OBR().4() and the subfield 4.1 and compare it to a Data Lookup table.

So I thought I could copy my existing function code and add another level to it, but its not returning what I would expect.

ClassMethod DoesValueExistRepeatingSegmentFields(pHL7Msg As EnsLib.HL
2
0 558
Question ED Coder · May 13, 2021

I need some help. I have a requirement where HL7 messages will be sent through http. I am trying to read through the documentation & want some guidance.

The client is asking for a URL. So should I simply send the Ensemble url to them? Does the message structure change? How does Ensemble handle incoming http messages? Do I just create a http business service and it should come across fine?

Has anyone done a project with http? Would love some information on how it worked for you

1
0 353
Question Jenna Makin · Sep 5, 2017

Hi-

I have a REST client that calls a REST service and as a response gets a stream containing a JSON structure.  The service is placing some weird non-printable characters into some places in the JSON document that is throwing off parsing of a down-stream XML document.

What I would like to do is just remove the non-printable characters from the response stream that comes back from my call to the REST service.

Does anyone have a handy utility or method for removing all non-printable characters from a character stream?

10
0 2796
Announcement Anastasia Dyubaylo · Apr 26, 2021

Hi Community,

We're pleased to invite you to the online meetup with the winners of the InterSystems Developer Tools contest!

Date & Time: Friday, April 30, 2021 – 11:00 EDT

What awaits you at this Virtual Meetup? 

  • Our winners' bios.
  • Short demos on their applications.
  • An open discussion about technologies being used, bonuses, questions. Plans for the next contests.

4
0 294
Question Jude Mukkadayil · May 12, 2021

Hi ,

     I am trying to retrieve the contact type column data of a patient based on the recent date as shown below.

for instance

 contacttype      Datefrom

contact 1.       24/03/2020

contact 2.        20/05/2021

i need to retrieve the second contact2 based on the recent date.

i tried  like below but not working .

Case max(datefrom) >0 then contacttype

End as contacttype

Can anyone please tell me why this is not working.Any other options?

Thanks 

jude 

3
0 369