As Title!
Inspired by a Question from @Evgeny Shvarov and a Reply from @Ashok Kumar T
I have created a base for Global download as XML file
How to use:
just call the page like http://<your_server>/csp/samples2/dc.Gdown.cls?GBL=global_name
gbl-name without the initial ^ (caret)
The output has a default name <global_name>.XML Your choice is available.
Known Limits:
- you have to install it at your sourcing server
- it is not tested/working across namespaces
- there is no partial download
- error handling is just basic or missing
There is space for personal improvements.
and this is it:
Class dc.Gdown ExteI'm using the PEX framework to create non-polling Business Services in Python. Below is the code I've used to instantiate my Python Business Service from the application I have written:
conn = iris.connect(...)
IRIS = iris.createIRIS(conn)
#...#
pexserv = iris.pex.Director.CreateBusinessService(conn, "Demo.PEX.FlaskPEXService")
response = pexserv.ProcessInput(record_id)
IRIS.close() # Release IRIS obj
conn.close()The Service works fine, messages are received properly by the target Business Process as defined by my PEX service, however, every time I run Director.CreateBusinessService()

If one of your packages on OEX receives a review you get notified by OEX only of YOUR own package.
The rating reflects the experience of the reviewer with the status found at the time of review.
It is kind of a snapshot and might have changed meanwhile.
Reviews by other members of the community are marked by * in the last column.
I also placed a bunch of Pull Requests on GitHub when I found a problem I could fix.
Some were accepted and merged, and some were just ignored.
So if you did a major change and expect a changed review just let me know.
| # | Package | Review | Star |
|---|
I found the thread that discusses object mapping, in particular mapping a common global among more than one namespace. The example that is given is a simple one when it's ^global(sub1, ^global(sub2, etc. However I'm having trouble getting this to compile/work when the global has a fixed subscript amongst variable ones.
I have this global in namespaces LAB and ARK in the following format:
^CB(1,sub1)=....
^CB(1,sub2)=...
^CB(1,sub3)=...
Here is what I have for this. In it's current state it throws tons of errors:
If I remove the fixed subscript (like it's not even part of the global struct
Hi,
I'm currently looking to deploy a production with readymade auditing functionality. I can currently call user defined audit entries using $SYSTEM.Security.Audit() but I'm finding to display these posts properly I need to create User-Defined Audit Events on the management portal, otherwise they are displayed as "UserEventOverflow"/"AddedUnknownUserEvent" . My question to the community is, is it possible to create the User-Defined Audit Events (found in System > Security Management > User-Defined Audit Events) programmatically (and how can this be achieved) rather than manually creating t

Hi developers!
Could you please advice what is the easiest way to download globals from a particular server?
I have the access to it, I know which globals I need to download/copy (5-7 globals per name). This is to perform then analysis in IRIS BI.
We have this intermittent issue with a particular supplier message , just wondering if anyone has further insight around the two errors we get when we see this.
We use the out of the box TCP hl7 adapter.
We first seem to get this incomplete hl7 message resulting in an error like
Discarding leftover input 'MSH|
This is not unexpected as the final obx has not dot the description of OBX:2.2 ect.
OBX|53|TX|NCDAC^
The next message will have the error
| Status |
Error <Ens>ErrException: <NOTOPEN>zFlush+7^%IO.DeviceStream.1 -- logged as '-' number - @'' |
👁️🗨️ With the InterSystems IRIS Supply Chain Orchestrator, you can visualize your supply chain data in real-time and get actionable insights.
🌐 Start by exploring use cases and architecture of the InterSystems IRIS® for Supply Chain platform, then create KPIs and analyze supply chain issues(learning path, 1h 15m).
Looking for someone who has a proven resume with InterSystems and Ensemble Experience.
Ideal Qualifications: Ensemble Experience + working with InterSystems DTL for HL7 Transactions.
Work Type: Consultant at $50-$60/hour DOE
Job Location: Remote
Work Category: Healthcare
Responsibilities: work with InterSystems Ensemble Productions for HealthCare.
Qualifications: 3+ years working with InterSystems Ensemble.
US Citizens only.
If Interested: email pbrown@cybercodemasters.com with your latest resume reflecting InterSystems + Ensemble and provide your phone number.
It's time to announce the Winners for July! Please welcome our awesome Global Masters Heroes!
The storm of applause goes to these developers and their great contribution to DC in July:
🥇 @Luis Angel Pérez Ramos
🥈 @Muhammad Waseem
🥉 @Padmaja Konduru
Learn more about the competition and our awesome winners below.
Hey Community,
Watch this video to learn how to build and run machine-learning models using InterSystems IRIS Cloud IntegratedML using the example of 15,000 rows of data from New York City taxi rides to predict the tip for a given ride:
There is an exciting new Organizational Dashboard feature available within CCR. This new functionality allows users to get a wholistic view of the CCR usage within their organization, allowing things like:
- See warnings for when organizational usage patterns need to be adjusted
- View total CCR volume
- Explore the most active CCR Systems
- Identify DB version of various Environments
- Discover which Systems are no longer active and are candidates for Depreciation
- List the CCR Client Tool update dates to see what is out of date (to be released shortly)
- Examine number of active CCR users, their CCR activity volume and which of them are Perforce users
- Correct ItemSets which are troubled across all Systems
Developing with InterSystems Objects and SQL – IN PERSON September 11-15, 2023 9:00am-5:00pm US-Eastern Time
- This 5-day course teaches programmers how to use the tools and techniques within the InterSystems development environment to build high-performance transactional applications. Learners build a complex application using an IDE, object-oriented design, SQL and unit testing.
- This course is applicable for users of InterSystems IRIS Data Platform and Caché.
- Many benefits are offered by being physically in the classroom with our instructors for a more personalized educational experienc
Hi Guys,
below is a javascript sample code in one of my methods in a CSP page where I'm loading some data from a global to a Javascript arrays, the problem is that if I call the method with do (d ..mymethod()) everything works fine but calling it with Job (J ..mymethod()) it seems that the javascript part is not working, is there a way to fix this?
The reason why I'm using Job call because I need it to run in background and not to hold other processes.
&js<
Sensor='#(Sensor)#';
maindatafx[Sensor].push(ConvertArr((Fdte),'#(FXData)#'))
linechartdatafx[Sensor].push((Fnum),'#(XFData
Hey Developers,
Watch this video to learn more about the FHIR, how it came to be and the future of the standard:
⏯ The Concept of FHIR: A Healthcare Data Standard Designed for the Future
InterSystems Change Control: Tier 1 Basics - Virtual September 6-8, 2023 9:00am-5:00pm US-Eastern Time (EDT)
Hello Everyone,
Last month, we asked for input from the IRIS community regarding exam topics for our InterSystems IRIS SQL Specialist and Expert exams. We will close the window for providing feedback on the exam topics on Thursday, August 31st, 2023. Thus, if you would like to have your say in what topics are covered on the exam, this is your last chance!
To show our appreciation for helping us validate our exam design, we will hold a raffle where 15 survey respondents will be chosen to receive a $50 gift card. The gift card is a Tango Card that can be redeemed at any number of online retail
Hi Team,
Is there any way to take a clone object of executed query result of %SQL.Statement
Set statement= ##Class(%SQL.Statement).%New()
Set pre = statement.%Prepare("Select * From TableName")
Set result = = SQl.%Execute()
Write result.%ConstructClone(,.cc) ; ConstrcutClone was overridden in the class %SQL.StatementResultI can loop result.%Next() multiple times if clone was taken from the object
We are updating a C# module which creates consumes an OdbcConnection from System.Data.Odbc. This module used to create a DSN-less connection through the InterSystems Cache driver, and we are updating it to call the IRIS ODBC35 driver following migration of the target database.
The Cache connection was formed formatted as follows:
"DRIVER={InterSystems ODBC};SERVER=[server_address];DATABASE=[cache_namespace];UID=$uid$;PWD=$pwd$;"When trying to simply update the connection string to replace the DRIVER value to "{InterSystems IRIS ODBC35}" we get the following error:
Access Denied ERROR [H
hi, I followed the example of the system and wrote a method to connect to an external database to obtain a result set, but I couldn't get the result. can anyone please help on this.

/// correct
ClassMethod PersonSets(name As %String = "", state As %String = "MA") As %Integer [ ReturnResultsets, SqlName = PersonSets, SqlProc ]
{
// %sqlcontext is automatically created for a method that defines SQLPROC
// SQL result set classes can be easily prepared using dynamic SQL. %Prepare returns a
// status value. The statement's prepare() method can also be called directly. prepare() throws
/Hi Community,
Whenever I insert a decimal value with trailing zero(ex:12.0000) value in my JSON object dynamically through %Set method. It truncates the trailing zeros. However If I use literal constructors { } It working as expected. So, In my case the JSON will be generated dynamically. I can't go with "Curly Bracket { } " and the JSON schema not string as well.
Is there any way to fix this?
set json = { "decimal": 12.000}
zw json
set json1= ##Class(%DynamicObject).%New()
do json1.%Set("decimal", 12.000) ; this is consider as stringdo json1.%Set("decimal1", $FN(12,Hello,
I would like to do the following :
set name = $name(^A)
for i=1:1:10
{
set$qsubscript(name, i) = "TEST"_i //dream code that does not work
}
set @name = ""//will create ^A("TEST1", "TEST2", "TEST3", ... , "TEST10") = ""Unfortunately, unlike $PIECE(), $QSUBSCRIPT() is not bidirectional.
Is there a way to do what I described, in a clean way ? (something supported by the system)
I would like to avoid :
- using a custom made solution (eg: appending keys one by one to a string, adding commas when needed) unless it's failproof (eg: can deal with commas in keys, non string keys
Hi,
i'm starting to try to switch to VS Code with ISC integration plugins.
Everything seems fine until i get to and environment with CCR enabled. I can't open any class in RW and i don't know how to check the class out.
Is it supported? What do i need to do to use it?
Thanks
Pietro
As noted in the previous article Native API has some limits.
So I did some research on a more Terminal-like interface that
provides me with access like a console or the IRIS terminal
to allow my $QUERY over a global and other nice commands
that are not supported/mapped in NativeAPI for ObjectScript.
The basic tools are well-prepared and available.
- Connection() creates a fully operational and stable partition for me
- Function() allows calling any routine or method I need
- similar ClassMethodValue and ClassMethodVoid
There is just no method CommandLine and some already prepared code is neede
I have tried many methods from super classes of %CSP.REST but I can't find a method I can override that will run after the %response object is created so I can set a header that is common to each implementation method. It's one line of code in each method to set the header but it would like to make it super easy, simple and just have a method that runs on, before, after the implementation method to set this common header (we want to return the API version in each responses HTTP headers.
Any ideas? I know I tried OnPreHTTP, OnPage and a few others, but those all seem to be related to the %re
InterSystems IRIS Adaptive Analytics version 2023.2 is now available from the InterSystems Software Distribution site. This new release brings along some great enhancements included with our partner AtScale's Version 2023.2 including:
- Increased object sharing across cubes to make virtual data model development easier
- A simplified way to create common, but complex, model elements like time-relative measures, intelligent dimensions, and calculation groups
- Improved connector for Microsoft PowerBI
- Built in usage metrics dashboard to manage aggregates and queries
Hi All! For those of you who are early adopters of Health Connect Cloud, you might be interested in our latest video -- a tutorial on how to create firewall rules, as well as obtain important network addresses, in your Health Connect Cloud deployments. Let us know if you have questions or interest in learning more about Health Connect Cloud.
InterSystems Kubernetes Operator (IKO) 3.6 is now Generally Available. IKO 3.6 adds significant new functionality along with numerous bug fixes. Highlights include:
- Easily include Web Gateway sidecars for compute and data nodes.
- Kubernetes secret for Web Gateway authentication
- Define Databases in the Data section
- Define Namespaces in the Data section
- Ephemeral Web Gateways for cases where everything you need is in the container image
- Upgrade Horizontal Pod Autoscaler support to version 2 of the HPA spec
Follow the Installation Guide for guidance on how to download, install, and
If you hold the InterSystems HL7 Interface Specialist certification, you can potentially get recertified and have your certification expiration date extended by five years by beta testing our new InterSystems HL7 Interface Specialist Recertification project. The project includes hands-on exercises to validate core skills for developers who use InterSystems products to build and test HL7 v2.x productions. During the beta period, which extends until October 31, 2023, anyone who holds the credential is eligible to try the project, and the standard $150 fee is waived for candidates.
The passing s

