Why i am receiving more than 20 SHDWCBLK process running background when i try to shadow 5 namespace ?
Hi guys!
Was coding today with InterSystems IRIS in a docker container and decided to share with you the commands you may find useful in everyday coding.
# docker-compose build
command to build a container. Remember, it is useful if you have dockerfile in the repo.
if the build is successful call the following to launch it:
# docker-compose up -d
Find IRIS management portal on:
localhost:port/csp/sys/%25CSP.Portal.Home.zen?$NAMESPACE=%25SYS
where the port is what you set in docker-compose.yml - 52775 in this case.
Run the following if you want to launch a terminal session inside IRIS container:
# docker-compose iris iris session iris gfhj gj sdfdsfsdf USER>
And run the following to shut down the container:
# docker-compose down
Troubleshooting
This article will provide tips and tricks on customizing Ensemble business hosts with configurable settings.
Ensemble production Settings are configurable values that control the behavior of a production and its hosts.
The documentation for adding and removing Settings and specifying categories and controls for Settings is provided at the link:
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=EGDV_prog#EGDV_prog_settings
“To provide new settings for a production, a business host, or an adapter, modify its class definition as follows:
- Add a property for each configuration
Can health Connect create a file in a directory, than add data (HL7 messages) to it?
Currently one of our applications, coded in Cache, performs web service API calls out to one of our vendors. We now need to be able to send a Client ID in the portion of the Soap envelope.
I think I have a clue of what I need to do but not 100% sure. We were thinking we could use the method %SOAP.WebClient.SetHttpHeader(field name, value) but when I have tired using this method and looked at the Soap log to see what is sent, the field is never showing. I realized I could be setting the wrong object using the method.
I have been looking at the documentation but I have not found what I
Hi Team,
When I use below statement , I got SQLCODE=0.
SET rs = ##class(%SQL.Statement).%ExecDirect(, "SELECT * FROM LISDB.ExternalUsers WHERE UserId = 83")
If I display above query using Write (rs.%Display()) it gives me below result but (rs.%Get("Prefix")) method give me null value.
.png)
Please help
Hi Everyone,
Are you ready yet? Have you packed all you'll need for the summit? And don't forget the needed power-socket adapters if you come from outside the US!
Have you signed up for the Container Bootcamp on Sunday? Or one of the various Experience Labs, the many informative sessions and one of the symposia on Wednesday afternoon?
Again, there is a mobile app for attendees that should help you keep it all under control and even allow you to book time with InterSystems personnel for a one-on-one deep-dive on whatever you need.
I just wanted to highlight some of the Containers, Kubernetes &
We often have troubles with performance when joining tables with about 10 million rows together.
Sometimes we can't say what the cache engine is doing, it's just sucks and never finishes.
Then we have to rebuild the query and loop first on Orders and then on OrderPositions.
this is what we want:
EDITED: the join was only forgotten
select p.hpos,p.upos,p.spos, p.Fa,p.Auftnr,a.AA, p.art
from
auf.aufpos p ,Auf.Auftrag a
where a.Fa=1 and a.Fa=p.Fa
and a.AuftDat > ($HOROLOG-1000)
and a.Auftnr=p.Auftnr
this query does not finish...
then we rebuild and work with
select o.col1, o.col2,
from orders o
where
My fantasy didn't go beyond periodically running %SYS.Journal.System:Progress() class query, while I'd prefer to use an event handler of some kind. Any ideas?
Is there a system function/method which can create a GUID ?
ENSTEMP was addressed already some time ago;
Article: Preventing Globals From Getting Journaled (Continued from How do I Minimize My Journals)
and is also in public documentation
Where InterSystems IRIS Stores Temporary Production Data
Though I'd like to understand if this is just naming a non-journaled DB
or are there also typical features of CACHETEMP / IRISTEMP related to it:
- automatic clean-up at system startup
- keeping Global Buffers in memory as long as possible
- late writing to the storage file
In other words is it a 2nd, 3rd, .. fully feature blown IRISTEMP ?
I've just been tempted to the option exchange (curiosity) and when browsing, I often right-click, and open links in a new tab, eventually ;-) I have enough interesting open tabs to go off and read the tabbed articles,
I can't do this in open exchange, it will only allow a direct click to open the url.
even worse, when I come back (to where I left off) It starts from the top of the page.
any chance of changing the url's to allow us to right click and open in a new tab
I'm guessing that this applies to may other URL's around the intersystems community, but it's the first time it annoyed me.
kev
Hi Developers!
InterSystems Package Manager (ZPM) is a great thing, but it is even better if you don't need to install it but can use immediately.
There are several ways how to do this and here is one approach of having IRIS container with ZPM built with dockerfile.
I've prepared a repository which has a few lines in dockerfile which perform the download and install the latest version of ZPM.
Add these lines to your standard dockerfile for IRIS community edition and you will have ZPM installed and ready to use.
To download the latest ZPM client:
I'm happy to announce the latest Python Gateway release.
This is not an InterSystems product, it is community supported open source project.
Download new release from GitHub.
Now for the new features.
Fast transfer. Pass globals, classes and tables from InterSystems IRIS to Python with ease and speed (10x faster than old QueryExecute). Documentation.
Proxy Gateway allows generation of ObjectScript classes for Python classes. Instantinate objects, call object and class methods using familiar ObjectScript code (docs).
set module = "random"
set sc = ##class(isc.py.gw.Generator).Generate(module)
set scWhat's the best way to replace character groups?
I want not to remove character groups as $zstrip does but to replace them with whitespaces.
$translate needs explicit character list.
Effectively I want to remove any characters besides letters, numbers and a small (known) subset of punctuation characters, replacing everything else with whitespaces.
Hi Everyone!
New video, recorded by @Stefan Wittmann, is already on InterSystems Developers YouTube:
JSON and XML persistent data serialization in InterSystems IRIS
Is it possible to create a task that will initiate a Business Service that is dependent on the completion of a separate EDI data process?
I have a complex data flow with multiple EDI processes where one process must run and produce one or more files that get deposited in the source folder for the next EDI process. The entire process is currently set up where 2 of the EDI processes execute at a specific time. The problem with that is when a network or server interruption occurs at the time they are supposed to start, it causes a complete failure of the entire process.
I can't just set them to
Is there any way to remove the Count measure from a pivot table or more importantly, a DeepSee widget.
Even if I do not add it as a measure in the Analyzer, the column "All" shows up.
Anyone have an idea on how to hide or remove it in a Dashboard Widget?
Thanks,
LG
1. Purpose
This is a 10-minute simple step-by-step guide on how to quickly set up various flavors of HealthShare docker containers from scratch on a Win10 laptop.
For example, we can build a couple of HealthShare "global edition vs UK Edition" demos as shown below.
There are a couple of frequently asked questions from HealthShare colleagues and partners:
- "I am no Docker guy, but is there a quick way to build various flavors of HealthShare containers simply for demo/PoC/dev/training or troubleshooting purpose?"
- "I just can't make "Docker for Windows" work on my Win10 laptop - how did you
If you’ve ever wondered whether there is a way to regulate access to resources in Caché, wonder no more. In version 2014.2 special classes were added that allow developers to work with semaphores.
Hi all,
I recently discovered the Monitoring Activity Volume feature in IRIS and I was amazed by it. So, I put it to work in one of our productions. It is nice how easy it is to set up and all the possibilites that came with it.
But there's something weird: the numbers. Actually, one of the BP is stating a time of more than 6 seconds to process:
.png)
But it is not really possible, as our production is running at a pace of about 40 msg/second, being this one the first step. So my question is: how is this avg. duration calculated? What does this time include? Is it in seconds?
Thanks a lot,
Hi,
I am implementing free search text box, which can search data in all columns of tables.
I have created DisplayName column by concatinating two column data with space.
SELECT TOP ALL FirstName||' '||LastName AS DisplayName, UserType, IsActive, RoleName, DOB FROM LISDB.ExternalUsersNow, in where condition I want to do like search in DisplayName column but it not working.
I have tried both fn CONCAT and || in like query but both are not working for me.
If ((RefineSearchText'="") && ($Length($ZStrip(RefineSearchText,"<>W",""))>0)) {
Set args($Increment(args)) = RefineSearchTextAfter upgrading I ran a $SYSTEM.OBJ.CompileAllNamespaces("u"). What I got in return was kind of a shock.
In reviewing errors I am seeing code being referenced but no longer applies. It is referring to stuff that might of been defined in the Context , Formal Spec ,Thread , etc.
ERROR #5373: Class 'osuwmc.CPD.DataStructures.TblPharmacyDEA', used by 'osuwmc.CPD.BusinessOperation:SelectProviderTempDEA:FormalSpec', does not exist
ERROR #5373: Class 'osuwmc.FeederPat3BPLTest4', used by 'osuwmc.FeederPat3BPLTest4.Thread1:compileafter', does not exist
ERROR #5373: Class
We have a rest service that collects production status information like whether a connection is disabled, enabled, etc.
I would like to present that data in a DeepSee dashboard but do not know how to create a pivot that accesses the data gathered by the service.
Does anyone have any information or documentation about how a dashboard would be configured to use use a Rest service?
Thank you
Hello everyone,
I am trying to use @() and SYSTEM() from Cache Terminal. I am searching for blinking text . I have found -5 as a Screen Display Option but not aware like how to use on terminal. Can any one please help ?
Thanks, Gunwant
Hello Everyone,
I want to Know Caché or IRIS has some way to communicate with DDE or RTD from Excel?
Att. Flávio.
I am new to cache programming language . I am facing below issue . please assist.
Question: One persistent class ID column is a combination of its properties (Roll No and Marks) [ Exact: RollNo||Marks]. When i am running the query from Management portal it is displaying data in the same format and data is there. But in the code if i am making below statement, i am getting null value.
Set ExistsID=##Class(User.School).%ExistsId(RollNo_"||"_Marks)
set ID=##Class(User.School).%OpenId(RollNo_"||"_Marks)
ExistsID showing 1, but ID is always displaying as Null but data is there in class with that ID.

Hi Community,
There are a couple of new activities planned for this year's Global Summit that you won't want to miss:
1. Meet the Experts in the Tech Exchange
Schedule one-on-one meetings with implementation team members or developers of a product feature in our Tech Exchange area. LEARN MORE
2. Not Your Random Table
During our Monday and Tuesday lunches, you'll get to interact directly with InterSystems product managers, who are moderating conversations about such topics as master-data management, the HL7® FHIR® standard, and server-side languages. PICK YOUR TABLE
So have you registered yet for
Trying to modernize tasks I have to do on cache like change global variables on different servers, different namespaces....
Actually, I have a bash script doing ssh on each server and running bash script on each server like this
echo "zn \"namespace\"
s ^Var=1
"|csession ensapp
But this is not clean/modular/..... I was thinking about using Ansible - as it is exactly what I need to do all the git pull. But I am not sure how to interact with cache. A shell ansible module - no way as it does not manage state...... Is there a way to interact with cache in a command line other than csession?
Any
Introduction
Since version 2019.2, InterSystems IRIS has provided their Native API for Python as a high-performance data access method. The Native API allows you to directly interact with the native IRIS data structure.

