I need to convert dd/mm/yyyy --> yyyymmdd
example
Input = 25/03/1988
expected Output = 19880325
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.
example
Input = 25/03/1988
expected Output = 19880325
Hey Community,
Play the new video on InterSystems Developers YouTube:
⏯ Container Lifecycle - When is Your App Ready to Accept Work @ Global Summit 2023
I am trying to setup a OAuth2.0 configuration to connect to a server within our Network using OAuth2.0. My previous attempt worked, however forgot to capture the steps before I had whipped the System so please bear with me.
I have an SSL/TLS Client configuration setup as we use the setup for our LDAP configuration.
When I go through the following steps within the Terminal, I am getting the following error...
%SYS>kill^ISCLOG%SYS>set scope="openid fhirUser"%SYS>set jwt = ##class(%SYS.OAuth2.Authorization).GetAccessTokenJWT("EpicFHIRPOC","1fd8f5cc-18ee-4eff-990d-4606037b932e",scope,.pr.png)
Hi Community,
InterSystems Certification Program officially changed exam delivery platforms from Questionmark to Certiverse on May 6, 2024. We have made this decision in hopes of providing a better experience for our certification candidates. To take an exam on this new platform, you will be required to sign in with an InterSystems account, the same one that is used for the Developer Community, Online Learning, etc. If you do not have one, please register for an account.
Find more information about Taking InterSystems Exams on Certiverse here, and reach out to certification@intersystems.com
On IRIS version 2024.1.0.262.0 I have a table that store streams as %GlobalCharacterStream.
But depeding on the blob being saved I get the error: [Error: <<MAXSTRING>]
I had that with Caché, but to solve that I'd just enable the long strings on the page System Administration > Configuration > System Configuration > Memory and Startup > Enable Long Strings.
But for Iris I can't find that configuration, I looked on every config page from the portal and couldn't find it.
Btw this blobs are stored on Caché and the system using IRIS is reading from Caché and saving on IRIS.
Where, on IRIS, can I mak
Most examples I've seen so far in OEX or DC left the impression that VECTORs
are just something available with SQL with the 3 Functions especially around VECTOR_Search.
* TO_VECTOR()
* VECTOR_DOT_PRODUCT ()
* VECTOR_COSINE ()
There is a very useful summary hidden in iris-vector-search demo package.
From there you find everything you need over several links and corners.
Accessing Amazon S3 (Simple Storage Service) buckets programmatically is a common requirement for many applications. However, setting up and managing AWS accounts is daunting and expensive, especially for small-scale projects or local development environments. In this article, we'll explore how to overcome this hurdle by using Localstack to simulate AWS services. Localstack mimics most AWS services, meaning one can develop and test applications without incurring any costs or relying on an internet connection, which can be incredibly useful for rapid development and debugging. We used ObjectScript with embedded Python to communicate with Intersystems IRIS and AWS simultaneously.Before beginning, ensure you have Python and Docker installed on your system. When Localstack is set up and running, the bucket can be created and used.
Did you know that you can get JSON data directly from your SQL tables?
Let me introduce you to 2 useful SQL functions that are used to retrieve JSON data from SQL queries - JSON_ARRAY and JSON_OBJECT.
You can use those functions in the SELECT statement with other types of select items, and they can be specified in other locations where an SQL function can be used, such as in a WHERE clause
The JSON_ARRAY function takes a comma-separated list of expressions and returns a JSON array containing those values.
SELECT TOP 3Name,
JSON_ARRAY(%ID,%TABLENAME,UCASE(Name),Age,Home_State) "JSON data" .png)
I am trying to locate a method that would allow me to differentiate between InterSystems preinstalled/system namespaces and "our own" namespaces. I am interested both in Cache and Iris answers if they are different. Yes, I can list what to disregard, like if not HSLIB or if not DOCBOOK but hoping for a more universal and elegant answer.
In our previous article we presented the general concepts as well as the problem that we wanted to solve by using the task engine integrated in InterSystems IRIS, in today's article we will see how we configure an interoperability production to provide a solution.
First we are going to define the roles of the tasks that we are going to manage, in our example we are going to define two types:
.png)
BPL stands for Business Process Language.
This is an XML format for describing complex information orchestration interactions between systems.
InterSystems Integration engine has for two decades, provided a visual designer to build, configure, and maintain, BPL using a graphical interface.
Think of it like drawing a process flow diagram that can be compiled and deployed.
BPL components are added to Integration productions like any other built-in or custom business component.
Test example input and output
There can be a mixed reception

After upgrading your system, you may receive the error below when you try to open the Management Portal:
ERROR #5001: Server version of object does not match version sent from the client: %ZEN.Component.vgroupThis error is caused by outdated information remaining in your browser's cache.
You can resolve the error by clearing your browser's cache.
Hi, I hope this post helps.
The bottom line: MAXLEN is relevant mostly for odbc/jdbc connections and you need to specify an appropriate value within your tables (classes), otherwise the data might be truncated when you query it, or even fail when you try to insert data.
Long story:
the sql GUI in the portal is very lenient in reference to the MAXLEN , for example you can insert data into a table where there is data longer then the size of a column, if you're using fhir sql the columns in the tables are mostly MAXLEN =50 even if there is much larger data, additionally if you create a table
I'm trying to configure an SSL/TSL configuration in our test environment so we can send ADT messages to an external server. I've verified connectivity/firewall to the external server.
type is set to Client, Server certificate verification is set to Require.
I have received a certificate from the external supplier and linked that in the "File containing trusted Certificate Authjority certificate" field. (I've also imported it into the cert store and tried using %OSCertificateStore).
My client certificate is in PEM format, the decrypted key was extracted using SSLOpen. Protocol enabled is TLS
InterSystems has corrected an issue that can cause a small number of SQL queries to return incorrect results. See below for the specifics on impacted queries.
This issue exists in the listed versions of the following products:
As well as:
Impacted versions:
Only queries with
A few weeks ago I posted an announcement about a JavaScript-based interface for our mg_web WebServer interfacing addon module. mg_web isn't just restricted to use by JavaScript developers though. Many readers will be ObjectScript developers who are more used to using CSP as their web gateway. Some may even have much older legacy WebLink-based applications (and be wondering how to support them given that IRIS does not support WebLink).
This article aims to provide some more information on mg_web and to explain why it's worth a look for ObjectScript developers.
The first thing to understand
hi there,
I recently created a shell script to run the integrity check.
I used this as reference - Introduction | InterSystems IRIS Data Platform 2023.3
I found the example from above url having a line - "
kill ^IRIS.TempIntegrityOutput(+$job)it isn't working when I used in a script. it returns the pid of my iris session instead.
I had to simplify the example to run following lines instead -
Do CheckList^Integrity(,,,,5)
do Display^Integrity(,1,)
script runs fine and can see integrity check results as expected.
however, the output seems cumulative, and output includes all historical
Hi all,
When making a Business Process reusable, I needed to make the target of a <call> configurable as a business host setting. This can be done through indirection. Here's how:
Building my tech. example provided me with a bunch of findings htt I want to share.
The first vectors I touched appeared with text analysis and more than 200 dimensions.
I have to confess that I feel well with Einstein's 4 dimensional world.
7 to 15 dimensions populating the String Theory are somewhat across the border.
But 200 and more is definitely far beyond my mathematical horizon.
Hi Everyone,
We are using SQL based KPI's to display reports in IRIS dashboards. We have applied the filter functionality in these SQL based KPI reports.
I need your help for below scenario.
Below is my full report. Filter is applied on Name and Subject Name in this report.
Now I have used filter on Name and selected values 'Virat' and 'Big Show'
2 entries were displayed from 5 records.
Now when I look in Subject Name Filter, it still display all the distinct values of Subject Name.
I want this to display only Chemistry and Social (as Name filter got applied).
In documentation
.png)
While performing the IRIS upgrade on our backup test server I noticed the following error in the messages log after restarting IRIS: 04/26/24-16:28:36:788 (5701964) 1 [Utility.Event] (HSHCPRT) Failed to retrieve journal file #9567 from FCHHSHCPRTTX02/PRT: Failed to allocate a 33686036 byte tcp buffer for zlib compress.
Stumped on this one, I logged a WRC and looked at some things with support but was not able to resolve the issue. Any help would be greatly appreciated.
Hello Community,
I just go through the IRIS latest documentation and I found the openAPI property is "x-ISC_DispatchParent" was mentioned in sample swagger and its the actual property used in spec-first approach. However in some place the property was mentioned like "x-ISC_DispParent" and bit discrepant
/confused. So, Just want to ensure Is this is an issue in documentation?
.png)
Thanks.
Ashok.
Is there a way to exclude specific members from a class when exporting to an XML or UDL file? Bonus question: is there a way to import from that file without overwriting those members that were excluded?
The use case is to export an interoperability production class without the ProductionDefinition XDATA. We plan to source control the production items through the Ensemble Deployment Manager, but we still need to export any custom code in the class definition itself.
I am receiving an XML input to my router and in the routing rule I need to traverse through the xml data , apply a for loop and fetch data.
How can I do that ?
Input :
<?xml version="1.0" encoding="UTF-8"?>
<Input>
<data>
<Ids>
<Id>
<Type>A</Type>
<Value>123</Value>
</Id>
<Id>
<Type>B</Type>
<Value>456</Value>
</Id>
</Ids>
</data>
</Input>
I would like to read 123 from above xml in a rule ..
Hello Community,
I'm executing the same query with same column name but in different case. An unique cached query generated while query executed first time. The query preparser only normalize the keywords and send to the SQL engine generates the Hash. Eventually use the cached query next use.
Now my question, The hash values are same for both of the queries. Then why it creates two cached queries.
Query1: select * from MyLearn.Test where Name['Kev1'
Query2: select * from MyLearn.Test where NamE['Kev1'
.png)
Thanks!
Hi,
In Ensemble we have a http service that need to handle various ISO200022 xml structures .
We would want to use the Virtual Document message structures to pass this xml document on to the reset of the Production for processing.
The current jdbc driver version is 3.1.0, but it is not published in the public mvn repository, only the old version, see:
https://mvnrepository.com/artifact/com.intersystems/intersystems-jdbc
It is very bad to the Java Community. And why not publish IRIS Hibernate dialect in mvn repository too?
These actions are important to Java Developers.
I came up with a challenge for myself to come up with a way to make a variable watch itself for a certain value and do something when it hits that value without having to check it every time something touches it. Basically, a way to say "if at any point during the execution of this code, if x = 0 (or whatever the condition is) do this thing." The class I ended up with watches a %Status:
Class User.WatchedStatus Extends%RegisteredObject
{
Property sc As%Status [ InitialExpression = 1, SqlComputeCode = {set {*} = ##class(User.WatchedStatus).Reset({sc},{resetSelf})}, SqlComputed, SqlComputeOFor naming conventions, please check the respective document pages below.
About table name (class name): Identifier rules and guidelines - classes
About column names (property names): Identifier rules and guidelines - class members
As stated here, only alphanumeric characters and characters with Unicode code points larger than ASCII 128 can be used in column names (property names).
Is it possible to start a terminal attached to a process (JOB)?
For example, I have a 548 process being debugged by VSCODE.
I would like to start a terminal, attached to the process to check process global values by running the command "zw ^||MYGLOBAL"