Question Ashok Kumar T · Jun 10 InterSystems Package Manager (ZPM) Installation errors Hello Community, I encountered the following errors while installing the ZPM module on version 2025.1. The ZPM install command failed on the Community Edition of IRIS for Health. #InterSystems Package Manager (IPM) #InterSystems IRIS for Health #Open Exchange 2 7 0 57
Question Ashok Kumar T · May 22 Subscript indirection behaves differently in if statement Hello Community, When I run the following code with x undefined in terminal, it throws a syntax error and returns control to the program stack. After issuing a GO command, execution continues, and setting the global variable ^zz1. code 1: #Globals #ObjectScript #Ensemble #InterSystems IRIS #InterSystems IRIS for Health 0 7 0 85
Question Ashok Kumar T · May 16 Take subroutines from the Deployed Mode Routine Hello Community, Is it possible to retrieve/find all the names of subroutines, procedures, or functions from a deployed routine?. in the routine below, how can I extract names like x2 and execsql? I’ve just tried using openId on %RoutineMgr but it didn’t help. #ObjectScript #InterSystems IRIS #InterSystems IRIS for Health 0 0 0 31
Question Ashok Kumar T · May 8 Embedded SQL result issues inside %ZLANGC routine Hello Community, I executed the below query in the %ZLANGC00.mac routine. It returns results when using dynamic SQL, but not with embedded SQL(returns 0). #ObjectScript #SQL #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 54
Question Ashok Kumar T · May 7 Actual Use Cases for %Stream.DynamicBinary and %Stream.DynamicCharacter Hello Community, #JSON #Object Data Model #ObjectScript #InterSystems IRIS #InterSystems IRIS for Health 0 5 0 74
Question Ashok Kumar T · Apr 29 WorkMgr execution issues Hello Community, I have a queue that I need to traverse and perform operations on. To distribute the workload across multiple processes, I used a Work Queue Manager do process and I'm not expecting any status from it So, I skipped Sync / WaitForComplete in my implementation #Globals #ObjectScript #Performance #InterSystems IRIS #InterSystems IRIS for Health 0 4 0 78
Question Ashok Kumar T · Apr 15 IRIS xDBC protocol is not compatible error while python execution Hello Team, I got xDBC protocol is not compatible while executing python script. How to fix this error C:\Users\ak\Desktop\lpyth\iris>C:/Users/ak/AppData/Local/Programs/Python/Python312/python.exe c:/Users/ak/Desktop/lpyth/iris/irisconn.pyAn error occurred: connection failed: IRIS xDBC protocol is not compatible py -m pip listPackage Version------------------ ---------intersystems-iris 3.9.2 #Python #InterSystems IRIS #InterSystems IRIS for Health 0 2 0 45
Question Ashok Kumar T · Apr 11 Subroutine execution issues in WorkMgr Hello Community, The subroutine ^routine is not executed while the queue is being processed in WorkMgr. However, it works when defined as a function. Is it mandatory to define subroutine^routine as a function for it to execute properly? #Globals #ObjectScript #Performance #InterSystems IRIS #InterSystems IRIS for Health 0 3 0 48
Article Ashok Kumar T · Feb 17 6m read JWT Creation and Integration in InterSystems IRIS What is JWT? JWT (JSON Web Token) is an open standard (RFC 7519) that offers a lightweight, compact, and self-contained method for securely transmitting information between two parties. It is commonly used in web applications for authentication, authorization, and information exchange. A JWT is typically composed of three parts: 1. JOSE (JSON Object Signing and Encryption) Header2. Payload3. Signature #API #Authentication #Encryption #JSON #OAuth2 #REST API #Security #HealthShare #InterSystems IRIS #InterSystems IRIS for Health 8 0 3 145
Article Ashok Kumar T · Feb 7 6m read IRIS %Status and Exceptions Part-2 In this article, exceptions are covered. Working with Exceptions Instead of returning a %Status response, you can raise and throw an Exception. You are then responsible for catching the exception and validating it. IRIS provides five main classes to handle exceptions effectively. Additionally, you can create custom exception class definition based on your needs. #Error Handling #Languages #Localization #ObjectScript #Python #SQL #HealthShare #InterSystems IRIS #InterSystems IRIS for Health 3 0 0 177
Article Ashok Kumar T · Feb 7 4m read IRIS %Status and Exceptions You may encounter errors during any point of program execution, and there are several ways to raise and handle these exceptions. In this article, we'll explore how exceptions are handled efficiently in IRIS. One of the most commonly used return types is %Status, which is used by methods to indicate success or failure. Let's begin by discussing %Status values. Working with %Status #Error Handling #Health Connect #HealthShare #InterSystems IRIS #InterSystems IRIS for Health 4 0 1 181
Question Ashok Kumar T · Feb 6 Track the global set location Hello Community, Is it possible to track or determine where the global variable was set (routine or class) in a form of like label+offset^routine? Regards, Ashok #Globals #InterSystems IRIS #InterSystems IRIS for Health 1 9 0 103
Question Ashok Kumar T · Jan 8 <MAXSTRING>CompileRtns+295^%occRoutine in SQL execution I tried executing the SQL JSON_TABLE query with large JSON string(more than 200000 characters) and I got the below error. I'm curious about this under the hood workflow and how does it reach reaches MAXSTRING. #JSON #ObjectScript #SQL #InterSystems IRIS #InterSystems IRIS for Health 0 2 0 80
Question Ashok Kumar T · Dec 16, 2024 Identify who terminated the process Hello Community, Is there any option or log is available to identify who killed/terminated the running process? Thanks! #InterSystems IRIS #InterSystems IRIS for Health 2 5 0 109
Question Ashok Kumar T · Dec 12, 2024 Permanently Deletes all the commands shows inline recall History (:h[istory] ) Hello Community, Is there any way to permanently clear all the commands displayed in the line recall History. The :clear deletes all the commands in that particular process/recall buffer. Thanks! #Terminal #InterSystems IRIS #InterSystems IRIS for Health 1 4 1 87
Question Ashok Kumar T · Dec 11, 2024 HTTP Message format from %Net.HttpRequest Hello Community, Is there any built in methods available to generate the both HTTP message format(request/response) from %Net.HttpRequest and it's response. Thanks! #API #Key Question #REST API #Caché #Ensemble #InterSystems IRIS #InterSystems IRIS for Health 0 9 0 188
Question Ashok Kumar T · Nov 6, 2024 Stream Compression Not Applied to Some Text Hello Community, I have a stream property which uses %Stream.GlobalCharacter and I set some dummy texts like "a1a2a3a4a5a6a7...."(more than 1024 characters) in to that stream and the stream values are not compressed. However, The streams are compressed If I use the Lorem ipsum is a dummy or placeholder text or other text "This is part four of a long memo." which length is greater than 1024 #InterSystems IRIS #InterSystems IRIS for Health 1 3 0 89
Question Ashok Kumar T · Oct 16, 2024 File generation issues while using $ZF(-100 asynchronously Hello Community, We use $ZF(-1 synchronous call to generate the pdf files. Now I want to change to asynchronously. So, I use $ZF(-100 with "/ASYNC" function. I use "/ASYNC" directly write $ZF(-100,"/ASYNC","notepad.exe") in windows/linux it throws the <NOTOPEN> error, However If I use $ZF(-100,"/ASYNC /SHELL","notepad.exe") it opens the notepad without issues. #InterSystems IRIS for Health 0 0 0 69
Article Ashok Kumar T · Sep 13, 2024 7m read Embedded python in InterSystems IRIS Part-2 In the previous article. Practices of class members and their execution within embedded Python. We will now turn our attention to the process of switching namespaces, accessing global variables , traversing and routine executions within embedded Python. #Embedded Python #ObjectScript #Python #InterSystems IRIS #InterSystems IRIS for Health 5 6 0 329
Article Ashok Kumar T · Sep 12, 2024 7m read Embedded python in InterSystems IRIS Hello Community, In this article, I will outline and illustrate the process of implementing ObjectScript within embedded Python. This discussion will also reference other articles related to embedded Python, as well as address questions that have been beneficial to my learning journey. As you may know, the integration of Python features within IRIS has been possible for quite some time. This article will focus on how to seamlessly incorporate ObjectScript with embedded Python. #Embedded Python #ObjectScript #Python #InterSystems IRIS #InterSystems IRIS for Health 4 1 1 307