How do I detect that sync mirror backup is caught up to primary? Or at least close to caught up.
I'm executing the code on a backup.
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.
How do I detect that sync mirror backup is caught up to primary? Or at least close to caught up.
I'm executing the code on a backup.
Many password requirements can be enforced using a password validation routine which is available to implement in System Management Portal. But how about this one:
Check that at least 50% of the characters changed from old password to new password.
We need to have access to the old password to check this, currently password validation routine only gets the new password.
We can create a new form to update the password where user must enter the old password and new password. I think I can block users from changing the password the usual way by having a password routine reject all passwords.
Hey Developers,
Don't miss this hands-on session hosted by @Don Woodlock, Vice President of InterSystems Healthcare:
⏯ Machine Learning 201 - Neural Networks and Image Recognition
I am trying to investigate whether the SAM component will give us metrics that we are looking for when it comes to # of messages, etc. I have IRIS 2022.1 running on Red Hat 8, but noticed that SAM was bundled as a docker-compose image. REL 8 doesn't install docker off the bat, but has podman which reading podman 3 versions and later, I should be able to call docker-compose.yml images. After installing Apache and making some modifications to docker-compose.yml, I tried executing the start.
After almost four years on hiatus, my CI/CD series is back! Over the years, I have worked with several InterSystems clients, developing CI/CD pipelines for different use cases. I hope the information presented in this article will be helpful to someone.
This series of articles discusses several possible approaches toward software development with InterSystems technologies and GitLab.
We have an exciting range of topics to cover: today, let's talk about things beyond the code - namely configurations and data.
I have a SOAP web service on an IRIS system. From within the code of the WebMethod I would like to log the remote IP address of the client. Is there any way to get access to the client's IP address from the ObjectScript code in the SOAP service? This will save me some headaches correlating logs from IRIS with web server logs.
Hi all
I'm testing migrating our existing installers (without ZPM) using the docker dev template as a basis with a commercial image and licence key.
So far everything builds as I expect, but the one issue I have is the production doesn't apply itself automatically.
In my iris.script I have custom installer that uses this manifest below but it does not observe the last three steps
<Namespace Name="${DataNamespace}" Create="no">
<Invoke name="Credentials" Class="GOJ.IrisApp.Install.AtScale pulls data from the IRIS database.
The AtScale product forms a virtual OLAP cube on the intermediate layer, which external applications can access using standard SQL and MDX (Multidimensional Expressions) languages. The solution includes three main components.
Design Center is used for designing OLAP cubes, forming links between metadata and dimensions of a virtual cube. Along with the task of designing a data schema, the issues of access policy to certain data and security are also solved here.
Im playing whack a mole importing an IG (which is a fairly typical exercise with fhir packages) through FHIR packages, and getting at some parts I cant seem to work around with some store errors...
Im getting MAXSTRING on `hl7.terminology.r4`:
Saving hl7.terminology.r4@3.1.0
Load Resources: hl7.terminology.r4@3.1.0
Resource Used in Multiple Packages: http://terminology.hl7.org/CodeSystem/dicom-audit-lifecycle|20100826(hl7.fhir.r4.core@4.0.1,hl7.terminology.r4@3.1.0)
Set sc=rsrc.%Save() Throw:('sc) ##class(%Exception.Hey Developers,
Enjoy watching the new video on InterSystems Developers YouTube channel:
I am new to zen framework. I wanted to use Angular with in Zen framework.
If we can integrate both frameworks. Please help me in finding some resources to refer.
Process Mining( http://en.wikipedia.org/wiki/Process_mining) is becoming more and more popular in IT industry. I wonder that since all processes are stored and managed in IRIS/Health Connect, any one hs developed similar functions on IRIS? Thx!
Anyone have a X12 schema for 852 types concerning supply chain?
I running a query and get the results inside a result set. Now I have to iterate through the result set many times. From the doc I've seen only the Next() method. Is there a way to reset the cursor? Otherwise what is a good data structure to save multiple rows of a table?
My code in this case is something like this:
set sql = "SELECT * FROM MY_TABLE WHERE X= '"_Y_"'"
set status = ..Adapter.ExecuteQuery(.rs, sql)
// somehow iterate the rs more than one time
I am aware that we have 5 License Units on Community Edition. But I have issues figuring out how it's working.
I have Community Edition
USER>write $system.License.KeyCustomerName() InterSystems IRIS Community
Freshly started system, only terminal session open, so, only one license units used, and 4 left. As expected
USER>write $system.License.LUConsumed() 1 USER>write $system.License.LUAvailable() 4
Quote from documentation - $SYSTEM.License.MaxConnections() returns the maximum number of connections a user can make while consuming one license unit.
USER>write $system.License.MaxConnections() 25
I am trying to avoid parsing the SDA3 stream in each process. I am doing some section wise validation in different processes so i need to pass the SDA3 to each process.
When i pass that SDA3 stream that takes a lot of space in HD and takes a lot of time to parse the SDA3 object.
Is there any way that once i parse that SDA3 i can pass the same object to other processes, and i can save my storage and process that fast.
I cannot pass this by default to other process as non persistent object cannot be passed to another job(as per my finding).
Any leads will be great.
Hi all
I have a pair of servers configured as a mirror, each server sits in a separate data centre.
I have noticed that occasionally, the primary will report that the backup is disconnected in the Mirror Monitor, and I believe this to be due to connection conditions between the two data centres.
What I want to do is log the status of both servers from the primary on a regular basis using a service. I know %System.Mirror can return the status of the current member, but how can I log the get the status of the other member as well?
Cheers
Hello, new user here ! My admin granted me all access to the domain I'm working on. Nonetheless, I'm unable to perform simple SQL queries such as creating a table or an index.
Creating a table : within the namespace I've been granted access to, I'm trying to create a table with 2 methods :
CREATE TABLE test.hello_world (col1 INTEGER, col2 VARCHAR)
This raises the error :[SQLCODE: <-400>:<Fatal error occurred>] [%msg: <Exception caught during dSQL statement %Execute: <PROTECT> ^rINDEXCLASS("HS.JSON.
Has anyone had any success reading barcodes from PDFs or images in a Cache/IRIS application? I've been looking at some possible solutions for this, including the open source ZXing libraries. I know we have the ability to create them in Zen and Intersystems Reports, but as far as I know, there's nothing built in to actually read data from a barcode. If anyone has suggestions on how to go about this, I'd love to hear them.
In our specific case, we print reports with a Code 128 barcode on them.
Hi,
I have a problem with the recent update 4.9.4 of the WebTerminal.
This message appeared after the loading of the page :
New update is available. Click here to install it now. Changelist:
4.9.4: No longer require /terminal to be at the root of the URLSo I installed the new version. Unfortunatly, after refreshing the page, I have this message again and again :
WebTerminal lost connection with server (code 1006).
Attempting to restore session in 10 seconds...
Please, refresh the web page to start a new session.
WebTerminal lost connection with server (code 1006Hi,
I have a question about deleting journals at the OS level(Linux) without corrupting the IRIS DB or it’s mirror copies.
The reason for deleting journals is the filesystem it lives on frequently fills up.
I don't have enough disk space to further expand the journal filesystems.
When the journal filesystem fills up then the application stops.
I have the following IRIS nodes(mirror status)
LIVETC01 Backup
LIVETC02 Primary
LIVEDR Async Copy **OFFLINE**
ARBITER
LIVEDR is currently offline but IRIS software has been installed.
I am doing a HL7 data transformation with object script but need to only write a substring from the first "(" of the NTE-3 field to the end.
example
Input: NTE|1|||Some text (HI) (321)|ABC
Desired Output: NTE|1|||(HI) (321)|ABC
Basically I'd like to delete "Some text ".
If I were writing a shell script I would use sed 's/^.*(/(/' with perhaps a modification to get only the first.
I use the function wizard but can't seem to get the right code.
This is the fourth in a series of releases that are part of the developer preview program for 2022.2 Future preview releases are expected to be updated biweekly and we will add features as they are ready. Many updates, fixes and enhancements have been added in 2022.2, in SQL management, cloud integration, Kafka and JMS adapters, the SQL Loader, and other areas. Please share your feedback through the Developer Community so we can build a better product together.
The Early Access Program (EAP) is still active for the Columnar Storage.
Kindly help me on the below points
1)Concatenate the Date column and Time column.
2)Get the current date only without time.
3)Find the current age using DOB column.
Hey Community,
See how data integration features in InterSystems IRIS data platform enable you to easily connect your systems, processes, and people:
Hi team,
I'll start with an apology as I am trying to wrap my head around the architecture of how InterSystems IRIS database management works. I am attempting to connect to the platform remotely through say a JDBC or ODBC connection in order to run queries, searches (through SQL statements) on my laptop and was trying to understand whether this would be possible? It is possible to setup an inbound client connection and wanted to better understand the architecture of how the database association works for IRIS database management. Does it use it's own internal SQL database or are we able to connect to our own database and which databases are certified to run against the platform?
Hi,
Is there a way to access the logs of a specific run of a task from the management portal task manager? I'd like to retrieve the output of a given run without going into the entire task history in an output file.
Thank you!
How to convert from internal date format to JSON/Web date format: YYYY-MM-DDTHH:mm:ss (example: 2012-04-23T18:25:43)?
Hi
I'm trying to add multiple rows at a time to a SQL table for a persistent object, but I can't seem to get the syntax correct. When I try the below it doesn't work.
INSERT INTO Sample_Table.Accounts (Account, AccountName, Bank)
VALUES
('123456', 'AccountNameOne', 'BANK1'),
('654321', 'AccountNameTwo', 'BANK2')Thanks
Peter
Hi, we are trying to run a dynamically generated Oracle Insert SQL script using Do $SYSTEM.SQL.DDLImport("Oracle",""," sql.txt",[Error Log]) to insert multiple rows into a Linked Table within HealthConnect to an Oracle database.