Currently what I have is:
set now = $now()
set ts = $zdt(now,-2) _ "." _ $p(now, ".", 2)Docs state (for -2 dformat):
Fractional seconds in the input value are permitted, but ignored.
InterSystems IRIS is a Complete Data Platform
InterSystems IRIS gives you everything you need to capture, share, understand, and act upon your organization’s most valuable asset – your data.
As a complete platform, InterSystems IRIS eliminates the need to integrate multiple development technologies. Applications require less code, fewer system resources, and less maintenance.
Currently what I have is:
set now = $now()
set ts = $zdt(now,-2) _ "." _ $p(now, ".", 2)Docs state (for -2 dformat):
Fractional seconds in the input value are permitted, but ignored.
This repository is a demonstration of IntegratedML and Embedded Python.
Hi everyone!
I am recruiting on a fully remote Intersystems Developer. This role will be a long term contract to begin with high likelihood of extensions or conversion permanent. Please check out the job description down below and feel free to send me an email with your resume: Spencer.Frey@insightglobal.com
The Healthcare Integration Developer is responsible for designing, developing, and deploying the complex near real-time and real-time data interoperability solutions using Healthcare industry-standard data formats/specifications (HL7, FHIR, EDI, etc.).
Hi,
I have a problem when starting the docker container that the collation is standard US
sample:
docker run --name iris1 -d --publish 1972:1972 --publish 52773:52773 containers.intersystems.com/intersystems/iris-community:2022.1.0.209.0 --check-caps false
After the installation I like to import existing classes and globals but it failed due to an collation error
We usually use DEUW = German3
if I change it manually - in the management portal / NLS. - to DEUW it works fine.
Consider the simplest possible CSP file upload/download page - you upload a file, it's saved in the database, and the file is immediately re-download via %CSP.StreamServer:
Class DC.Demo.CSPUpload.Page Extends (%Persistent, %CSP.Page)
{
Property stream As %CSP.BinaryStream [ Required ];
ClassMethod OnPage() As %Status
{
&html<<form method="post" enctype="multipart/form-data">
<input type="file" name="file" />
<input type="submit" />
</form>>
quit $$$OK
}
ClassMethod OnPreHTTP() As %Boolean [ ServerOnly = 1 ]
{
#dim %request As %CSP.Request
#dim %response As %CSP.Hi
I try to create an ODBC connection to MariaDB using SQL Gateway Connection. It works when testing with isql command at OS level but in the SQL Gateway Connection test is failed as this message :
Connection failed.
SQLState: () NativeError: [2002] Message:
And another way try to testing with this command
d $SYSTEM.SQLGateway.TestConnection("MariaDBodbc")I got the error message look like this :
INST01:USER>d $SYSTEMSQLGateway.Hi folks!
It's not an innovation, but often I saw not a very informative Error page for CSP apps and got it for myself. Something like that:

Hey Developers,
Meet the new video on InterSystems Developers YouTube channel:
In the previous articles, we learned the basics of using IMAP protocol to handle messages from mailboxes in an e-mail server. That was cool and interesting, but you could take advantage of implementations created by other ones, available in libraries ready to use.
One of the improvements to the IRIS data platform is the ability to write Python code alongside ObjectScript in the same IRIS process. This new feature is called Embedded Python. Embedded Python lets us bring to our ObjectScript code the power of the huge Python ecosystem’s libraries.
Credentials for a Productions are stored as plain text in ^Ens.SecondaryData.Password and exposed as plain text via SQL table Ens_Config.Credentials which is not ideal as only admins should know the credentials.
I can create my own adapter etc... to store and use encrypted passwords but does anyone know if there is a standard way to do this in a Production?
Alternatively, am I missing how to secure this so the production can run and someone can monitor and operate a production without access to the SQL table or global?
Hi Developers!
Here're the technology bonuses for the InterSystems "Sustainability" Interoperability Contest 2022 that will give you extra points in the voting:
See the details below.

Note sure if anyone would know this. But I presented my team with a Proof of Concept of running SAM to monitor our IRIS Development and Test Clusters. In talking with them we would like additional OS metrics that aren't provided by what is built into SAM. Looking at more OS detail I found node_exporter from Promethus. I added node_exporter to our server that we want to monitor, but then tried to config isc_prometheus.yml to use node_exporter.
Hi.
Why is %TimeStamp property not correctly imported with %JSONImport method - it doesn't take into account the time zone?
Regards,
Matjaž
Standalone Studio install includes UserImages.bmp image, with these contents:
.png)
I have never seen these icons anywhere in Studio, so where are they used?
Hello,
I try to realize a simple test in a BPL and i have this kind of error message. I don't understand why ! I have a simple CSV file in input with 3 columns (Nom, Prenom, Age) and a rule based on the age
ERROR <Ens>ErrBPTerminated: Terminating BP TestSiJeune # due to error: ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zevaluateRuleDefinition+18 ^User.Person.IsJeune.1 *Age,User.Person.TransfoTest.Context -- logged as '-'
number - @'
if (((pContext.Age)>(25))) {'
> ERROR <Ens>ErrException: <PROPERTY DOES NOT EXIST>zevaluateRuleDefinition+18 ^User.Person.IsJeune.1 *Age,User.Person.
Is it possible to use integer with a higher precision so that something like this works:
ClassMethod BigNumbers()
{
Set bigInt1 = 9223372036854775807
Set bigInt2 = 9223372036854775808
W !,bigInt1
W !,bigInt2
Set bigInt3 = 9223372036854775807123456789
W !,(bigInt3 # 2)
}9223372036854775807
9223372036854775810 // should be 9223372036854775808
0 // should be 1The docs say ". However, with extremely large numbers (larger than 9223372036854775807E127) it is not always possible to convert a numeric string to a Decimal value.
Hey Developers,
New video is already on InterSystems Developers YouTube channel:
Hi Guys
I have a table data in one namespace that I want to access from another Namespace - is that possible?
Cheers
Is anyone aware of how to find out if a UNICODE database has been installed on an 8-bit version of IRIS i.e. is there a way of checking and actual database rather than the IRIS instance version?
Hello guys,
Does anyone know what is a process status IPQW ?
We get it in jobs that do some SQL..
Thanks in advance.
Yaron Munz
Can someone help me on how the alter a table in Management table, I have tried the SQL and MYSQL way but it does not alter the table.
Thank you.
This GitHub is the simplest way to scrap using IRIS and Python, all of that already incorporated in an IRIS PRODUCTION.
From here you can build any IRIS production in full Python or in ObjectScript as this module is interoperable.
See for more information
Hello,
We have an IRIS installation on one drive "D"; the drive is a partition that is limited to 2TB in size; we want to move the entire D: contents to a larger partition-type not limited to 2TB.
The IRIS install is on D: as are all of the Databases the instance uses.
Are there any concerns or issues that should be considered or are not so obvious with doing this?
i.e. IRIS and all processes doing disk access to D: need be shutdown first (and a full-backup taken, all journals up to date for mirrors etc).
A new partition of E: created as say 3TB.
Do we have messages.log/cconsole.log projection in SQL?
I was sure we do, but unable to find it.
Hey Community,
In this video, you will learn how to use the Data Transformation Wizard in the Management Portal of InterSystems IRIS® data platform to convert messages to other formats:
⏯ Transforming Healthcare Messages in InterSystems Integrations
I was able to get SAM running with podman, but I am still unable to access the web page, and need a bit of help in troubleshooting as I am just trying this for the first time.
I verified the images were running by running podman ps
[xxxxxx@xxxxxx sam-1.1.0.107-unix]$ sudo podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
065776e769e8 localhost/podman-pause:4.0.2-1650363392 13 minutes ago Up 13 minutes ago 0.0.0.0:8080->8080/tcp d91a3f748861-infra
f78b9bc67c28 docker.
Hi, I am passing an EDIFACT file from a service to an operation using the super class. I would like to prepopulate the 'Source' variable with some information, but I’m not sure how to access this variable.
Any pointers much appreciated.
In this GitHub we fine tune a bert model from HuggingFace on review data like Yelp reviews.
The objective of this GitHub is to simulate a simple use case of Machine Learning in IRIS :
We have an IRIS Operation that, on command, can fetch data from the IRIS DataBase to train an existing model in local, then if the new model is better, the user can override the old one with the new one.
That way, every x days, if the DataBase has been extended by the users for example, you can train the model on the new data or on all the data and choose to keep or let go this new model.
Hi Developers!
Sometimes we need to import CSV data programmatically to InterSystems IRIS either from CSV or from URL. And we expect the class with proper datatypes to be created and the data to be imported.
I published a module csvgen on Open Exchange which does exactly that.
If you just need the CSV file be imported into IRIS you can do the following:
USER>do ##class(community.csvgen).Generate("/usr/data/titanic.csv",,"Data.Titanic")
Class name: Data.Titanic
Header: PassengerId INTEGER,Survived INTEGER,Pclass INTEGER,Name VARCHAR(250),Sex VARCHAR(250),Age INTEGER,SibSp INTEGER,Parch INTEGER,Ticket VARCHAR(250),Fare MONEY,Cabin VARCHAR(250),Embarked VARCHAR(250)
Records imported: 891
USER>Or if you have the CSV on the internet, e.g. COVID-19 Data on Github you can get the data in the following way:
USER>d ##class(community.csvgen).GenerateFromURL("https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/05-29-2020.csv",",","Data.Covid19")
Class name: Data.Covid19
Header: FIPS INTEGER,Admin2 VARCHAR(250),Province_State VARCHAR(250),Country_Region VARCHAR(250),Last_Update DATE,Lat MONEY,Long_ DOUBLE,Confirmed INTEGER,Deaths INTEGER,Recovered INTEGER,Active INTEGER,Combined_Key VARCHAR(250),Incidence_Rate DOUBLE,Case-Fatality_Ratio DOUBLE
Records imported: 3522
USER>