Is there compatibility with java language in the studio?
I was approached recently by and end use who wanted to perform analysis of their databases and see how they could save some space by picking data good for deletion without harming the application. As part of investigation, they wanted to know sizes of globals within datasets. This can be achieved by various means but all of them provide data in text form only.
I thought I might be a good tool for database administrators in general - to see global sizes in a graphical way.
I have several stored procedures that when I execute them they will only return a single snapshot. In my BP I have been setting this to a Snapshot variable then looping using a WHILE through the snapshot variable just to get that single value.
Since it is only a single row, is there an easier way where I don't have to do a WHILE loop to pull the values out of that row? Can I call First Row or something like that to get me just the row into the Snapshot variable?
How to download or send images to excel
I need to embed an image in excel when exporting a report, but I can not.
Can anyone help?
Is there a way to add event listener for a zen control?
I have a custom text control and I want to add 'change' event listener for it.
Is it possible to do not using 'onchange' property?
Hi community!
Is there any way to create new method keywords?
For example:
ClassMethod TestOne() [ MyKeyword = MyValue ]
{
// Implementation
}Another doubt (maybe another topic)
How can I generate new methods at compilation time for the same class?
I tried method generators, but It only gets compiled when I compile for the second time.
I also read this comment but I could not find out how to generate the methods and get them compiled in the first compilation.
For example:
Class util.Test
{
ClassMethod TestOne()
{
Write 1
}
ClassMethod TestTwo()
{
Write 1
}
}
Expected:
Hello,
I want to know if there is any possible way to use the same query for different ODBC schemas.
Thanks.
When you hear people talk about moving their applications to the cloud, are you unsure of what exactly they mean? Do you want a solution for migrating your local, physical servers to a flexible, efficient cloud infrastructure?
Start of Professional Activities!
The Institute of Space and Information Technologies of Siberian Federal University with the support of InterSystems International Corporation hosts the International Summer School "Start of Professional Activities" from July 9 to July 27, 2018 in Krasnoyarsk, Russia and invites all students majoring in IT to participate.

Time after time on CSP Session page of our Cache 2017.2.1 installation I see that all licenses are consumed by CSP sessions of /csp/sys, /csp/sys/op/and /csp/sys/mgr applications which I assume are sessions of Management Portal. The problem is that there are only few of us accessing the Portal and as we test by browsing Portal, we can't reproduce the problem.
Is there any way to see client IP of CSP session? Any other way to approach the problem?
The problem looks very similar to the Forefox-related one but we don't use Forefox.
Hi guys,
is there any way to configure Ensemle Web Service (EnsLib.SOAP.Service ) to accept HTTP Basic authentication instead of SOAP security headers?
Thanks.
Help, after a day of coding, I wanted to backup my files. I found out that alle of my 3 instances of caché refuse to start.
the error says: cstart-exe-fout (112 Service for Caché instance did not start).
Is there a way to solve this? (off course the management portal does not work either.)
I think there has been a power interruption as the battery from my laptop does not work, and the power went off before
shutdown.
Thanks in advance!
New Book, Caché and MUMPS – Part II
By Paul Mike Kadow
Edited by Deborah Graham and John J. Mitchell
Go to http://cosmumps.org for a download of just the examples of the book and the table of contents.
From the Forward
InterSystems, from a humble beginning, has grown into a worldwide company with its flagship product, Caché, leading the way.
First, this book chronicles and explores some of the many areas InterSystems has grown into and has influenced over the years.
Next, turning to the Caché and MUMPS developer, this book has multiple chapters on Globals, Classes, SQL/Query, etc.
Hi,
I want to splice a PID segement returned from a query, so I can use it in a DTL:
<assign value='context.pidSegment' property='target.{PIDgrp.PID}' action='set' />
I need to set the value of 'context.pidSegment' to something I can use in the DTL objectscript expression
but I'm not sure what method (or property) to use to get the class EnsLib.HL7.Segment segment into a datatype that can be used in the DTL?
I've tried the following to no avail;
Hi,
I was wondering if there is any way to count elements from an array. I guess not as an array could be multi-dimensional and that would be a problem to return the number of elements inside the array.
As an example:
Information about arrays: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
Thanks
I have a server with rusw locale but in my cube the time dimension shows dates such as "JAN-2018". Is there a way to either localize that (preferably) or just output numbers like "01-2018"?
Architect:
Analyzer:
Also in architect, in level settings there is a "Time Format" property, what's that? Tried setting it to 3 but it didn't help.
Note: with support for Overlay storage driver for InterSystems IRIS containers this article is no longer relevant. The article is left here for archive purposes.
Does anyone have any sample code for updating Caché users (and specifically Full Name and Comments) via SQL?
Bonus points for knowing specifically what security resource needs to be assigned to allow someone to run the SQL.
Thanks in Advance!
Ben
I have a cache client with a list of several servers.
One of the server is working with an IIS server that is not the Cache DB server.
The connection to the IIS server is only through https (SSL)
I tried to define the Web Server IP Address to https://some.server.name but it didn't let me to specify the https
So I tried to define Web Server Port to 443 but when I chose the SMP it's trying to open http://some.server.name:443/csp/sys/UtilHome.csp
and the same for documentation it tries to open http://some.server.name:443/csp/docbook/DocBook.UI.Page.cls
I'm working on a task where I need to apply journal file records to another database. I can't use Journal.Restore class methods as I need to perform some data transformation, therefore I'm reading journal file record by record using %SYS.Journal.Record API.
It seems that there are only few journal records that I need to process, namely:
Type TypeName 6 SET 7 KILL 8 KILLdes 9 ZKILL 10 RemoteSET 11 RemoteKILL 12 RemoteZKILL 14 BitSET
No problem, while I'm just curious: which COS command could provide KILLdes record? I've met it only once in the context like this:
Without installing Kerberos has anyone Authenticated a SQL JDBC connection? Currently we are using local SQL Accounts to sign onto External SQL Databases, but we are being told that we need to switch to Service accounts that live on a Active Directory Domain.
I wrote with a little help a ZAUTHENICATE to do the Authentication for Ensemble, can I use something like that to connect to an External SQL Database using a Service Account on a Active Directory Domain?
Thanks
Scott
Hi Everyone!
New video "The FHIR Gateway" is available now on DC YouTube Channel:
Hi - has anyone successfully used the python binding on a mac. I carried out the install instructions per InterSystems documentation and it fails completely. 204 warnings and 9 errors. Obviously this was never tested by InterSystems. Is it even worth pursuing?
Thanks
Hi, Community!
This is just a short announcement what we did to make life better on DC for June Release.
What's inside?
Better tables formatting, anti-spam, better email notifications and bug-fixes.
See the details inside!
I need to send a PATCH call from the server to a given url.
Until now I was using %Net.HttpRequest to issue calls for get/post/put but today I had to make a PATCH and I can't find a way to do it.
Hi Guys,
have a file located in \\servername\Myfiles\pull.csv but for some reason my cache routine can't file, but can when using the local drive C:\servername\Myfiles\pull.csv.
FYI I can access \\servername\Myfiles\pull.csv via Win explorer with no problems.
anyway how I can fix this?
Thanks Guys
Hi, Community!
$CASE is a fine syntax sugar for "Ifs" with one-line/one-word expressions, like in docs:
SET daynum=$ZDATE($HOROLOG,10)
WRITE $CASE(daynum,
1:"Monday",2:"Tuesday",3:"Wednesday",
4:"Thursday",5:"Friday",
6:"Saturday",0:"Sunday",:"entry error")But if my expression for a current case is a multi-line business logic? Can I use "{}" somehow or better go with "IF" instead?
Hello community, simple question. I've been able to use a ternary operator equivalent by using $select for inline if statements using this pattern:
set x = 1
set result = $select(x = 1: "true", x = 0: "false")
These can be nested and can have a lot of options. But I'm curious if there is a native way of using ternary operators in ObjectScript?
Thank you
Hi Community!
Save the date for InterSystems Global Summit 2018! This year Global Summit is Sept. 30 – Oct. 3, 2018 at the JW Marriott Hill Country Resort & Spa in San Antonio, TX.
Registration for Global Summit is now open!

Is there a datatype class with validation for global references? I can't find one in a brief scan of the documentation / class reference.

