In DeepSee we have a field that is numeric but is used as a dimension. In DeepSee it sorts this field in the following order. 10, 11, 15, 2, 3, 5, 6, 8, 990. Is there a way to have DeepSee sort it numerically instead of treating it like a character field? We would want to see it show up in the dimension as 2,3,5,6,7,10,11,15,990.
Hi,
I try to programmatically create a parameter for a dataCombo ZEN Component (which is in turn created on the server side at runtime).
Set tParm = ##class(%ZEN.Auxiliary.parameter).%New()
Set tParm.id = "pRegion#"_pExamContainerCount, tParm.name = "pRegion#"_pExamContainerCount
Set tExam = ##class(%ZEN.Component.dataCombo).%New()
Set tExam.id = "Exam#"_pExamContainerCount, tExam.label = "Untersuchung", tExam.queryClass = "Inventory.ServiceCatalog", tExam.queryName = "QGetExaminations", tExam.showEmpty = "false", tExam.size = "52", tExam.onchange = "zenPage.updateExamDescription(zenThis.getValue()
Hi
I'm trying to use the ##class(%File).RemoveDirectory utility to delete a windows folder. The folder has nothing in it, but it is not getting deleted.
I've tried doing Set sc=##class(%File).RemoveDirectory(file,.return) and return is returning a -2. I've also tried changing it to .Delete in case that worked, but I got the same.
I've tried it on my local instance and on a customer site on an older version of Cache that doesn't have the return parameter, but it also fails to delete the folder on there too.
file is the full filename and path and the .Delete works fine when used on files.
Any ideas
Since now i have been working from external connection but i want to work with the SQL utility of Management Portal
i dont know how to do with several instructions like in other editors like this example
update Prod.Articulos set Alto = 1646, Ancho = 16, Fondo = 80 where CodigoNum = '100' and Empresa = 'CO' update Prod.Articulos set Alto = 1646, Ancho = 16, Fondo = 400 where CodigoNum = '101' and Empresa = 'CO' update Prod.Articulos set Alto = 1646, Ancho = 16, Fondo = 400 where CodigoNum = '102' and Empresa = 'CO'
it returns
ERROR #5001: 25: SQL ERROR #25: Input (UPDATE) enco
Hi,
How to change READ ONLY Database to READ/WRITE Could not find an option to edit it.
PS: Cache 2016.1.0.656
Thanks, Sansa.S
Can Cache Monitor (^MONMGR) and System Monitor be configured to also send 'OK' messages? With the first bad email, you still wonder if things are still broken, when in-fact normalcy has been restored, some even within some seconds.
typical examples : -
------ - - - -- - - - -- - -- --- - -- -- -- - - - -- -- -- - --- - - - -- - - -- - - -- --- - - -- -- -- - - --- - - - - --- -- --- - - -- -- --- - - --- - --- -- - - -- -
Sent: Monday, 14 November 2016 11:51 AM
To: Email
Subject: [CACHE SEVERE ERROR :ENSEMBLE] CP: Pausing users because Journal Daemon has not shown
11/14/16-11:50:43:430 (3455) 2 CP:
Many of us installed Ensemble a few years ago, estimated space to be sufficient and now run into surprise - hard drives are getting full!
Hi,
I have a process that is importing lots of data from an external file, but every now and then I come across a STORE error.
I know that the STORE error is occurring in the %Save method of the class but I know very little else and I think its something to do with a lage amounts of Related Objects.
Is there a method of finding out more information regarding this error i.e. which actual object was being saved etc etc.
Thanks
Jim
I just received this email:
Which shows I created the post 3 minutes ago. It was actually 9 months ago.
In the post, you'll see the following answer and my response:

It shows the answer was posted 1 hour 12 minutes ago, but I responded 8 months ago.
¯\_(ツ)_/¯
Hi All,
I have SourceControl utility class as in sys namespace
Class %MW.Web Extends %CSP.Page {... }Previously with Cache 2010.1 and below there was no problem accessing it through
localhost:57772:/csp/myns/%MW.Web.cls
But now with newer version at least with 2016.2 I' ll get Forbidden message from it.
With Web Gateway HTTP Trace Facility
GET /csp/ipanax2/%MW.Web.cls HTTP/1.1 --> HTTP/1.1 403 Forbidden
How can we make it accessible again?
Mikko
Hi All,Can you please any one tell me how to find the last compilation date of routine.
Running TuneTable accounts among other the parameter named Block Count. In documentation, we see that this is an approximate numbers of 2K-blocks in which SQL-maps are stored. Databases in recent Cache doesn't support 2K-physical blocks so SQL-blocks are not physical blocks as it seems. So two questions:
- what are these blocks?
- how knowledge about count of blocks can help in SQL optimization?
Thanks for intelligent answer to stupid questions!
My SOAP Operation is returning an error "ERROR

The DeepSee TroubleShooting Guide helps you track down and fix problems occurring in your DeepSee project. A common problem is finding less records than expected in a DeepSee Cube or a related Subject Area. The DeepSee TroubleShooting Guide suggests starting your investigation by checking the following:
A new Health Connect customer has a few experienced Java folks on their interface team. As they get more into Health Connect and learn Caché ObjectScript they thought it would be useful to have a list of common Java statements with an equivalent statement in ObjectScript. They mentioned string manipulation as an example, but would be interested in other areas as well.
This seems like something that is probably already floating around somewhere. Does anyone have something like this or other "COS jumpstart for Java devs" materials?
Thanks,
Marc
Question:
Where can I find the openssl command line tool for Windows?
Answer:
The openssl command line utility comes with Unix, but not with Windows. It is used for working with security certificates.
The main site is
There are no binaries on this site but in the Community section there is a link for binaries which leads to:
https://www.openssl.org/community/binaries.html
This contains a link to "An informal list of third party engines":
https://wiki.openssl.org/index.php/Binaries
At the time of writing this had two entries for OpenSSL for Windows. I chose th
I'm working on a REST service which will include a binary stream as a request property. I'm currently encoding the stream as BASE64 and passing it as a string value, but I was wondering if there is anything in the Caché JSON support that may be a better fit for encoding this data? Thanks Chris
Lets say i have a record "Person". If i want to access the "Name" property of that object which one of the following best option performance wise
1. Option 1
set record = ##class(Test.Person).%OpenId(1)
write record.Name
2. Option 2
write ##class(Test.Person).NameGetStored(1)
Microsoft Office has components for using in third party applications: COM Objects for C++ and Interop Assemblies for .Net programming.
Many Cache projects used to include calls to those libraries. However, recently this solution started being problematic.
There are two main reasons - legal and technical. Let’s check the details.
Microsoft technology support
Microsoft is supporting Office Automation only for desktop computing.
It shall not be used for server computing, as they offer Sharepoint for this scenario. Have a look here:
"Microsoft does not currently recommend, and does not support, Autom
Hi all,
We've found that in most cases when we open a new CSP session the CGI varaiable %CGIEVAR("HTTP_COOKIE") contains the client name.
It looks like that : "state=SYSADM%3A0; Username=Urish; CSPWSERVERID=Cache for Windows (x86-64) 2013.1.1 (Build 501_1_13062) Sun Aug 11..."
In some other cases this CGI only contains $zv - like "CSPWSERVERID=Cache for Windows (x86-64) 2013.1.1 (Build 501_1_13062) Sun Aug 11 2013 23:20:33 EDT"
We are searching for a way to get the username (we need to stop using activex controls, like WScript.Network-->dNET.UserName), and this might be a good solution, if we c
Index
This is a list of all the posts in the Data Platforms’ capacity planning and performance series in order. Also a general list of my other posts. I will update as new posts in the series are added.
You will notice that I wrote some posts before IRIS was released and refer to Caché. I will revisit the posts over time, but in the meantime, Generally, the advice for configuration is the same for Caché and IRIS. Some command names may have changed; the most obvious example is that anywhere you see the
^pButtonscommand, you can replace it with^SystemPerformance.
While some posts are updated to preserve links, others will be marked as
strikethroughto indicate that the post is legacy. Generally, I will say, "See: some other post" if it is appropriate.
Capacity Planning and Performance Series
Generally, posts build on previous ones, but you can also just dive into subjects that look interesting.
- Part 1 - Getting started on the Journey, collecting metrics.
- Part 2 - Looking at the metrics we collected.
- Part 3 - Focus on CPU.
- Part 4 - Looking at memory.
- Part 5 - Monitoring with SNMP.
- Part 6 - Caché storage IO profile.
- Part 7 - ECP for performance, scalability and availability.
- Part 8 - Hyper-Converged Infrastructure Capacity and Performance Planning
- Part 9 - Caché VMware Best Practice Guide
- Part 10 - VM Backups and IRIS freeze/thaw scripts
- Part 11 - Virtualizing large databases - VMware cpu capacity planning
We are trying to understand how websocket connections from a javascript client may timeout in cache. Does anyone know if and of the session timeout or any other timeouts apply to any synchronous websocket connections? I have not been able to prove that they do timeout at all.
Hi,
I have a requirement to convert uname -n (Unix comamnd) with its equivalent Cache class. Can anyone help on this please
Thanks & Regards,
Sadagopan TS
I tried using the DeepSee Troubleshooting guide but the suggestions weren't working. Let's say that the source data we are using to build the cube on has a value out of range. This would cause the cube build/update to fail. How do I see the error log that explains which field has the value out of range? Please be detailed on exactly what command I should enter and where I should enter it in.
I assume that I go into a terminal session and to the correct namespace that we are building/updating the cube on, but the DeepSee Troubleshooting guide doesn't give that detail. I also tried the commands
This article explains the basics of OpenVMS file structures, from a Caché prospective, and what you need to know to read and write any OpenVMS file with Caché, even the files with difficult file structures.
On UNIX and Windows all files are just a stream of octets (eight-bit bytes). Assigning meaning to those octets is done entirely by convention. Those conventions are rather simple, even if slightly different on UNIX and Windows. Meanwhile, the authors of OpenVMS thought that file structure was so important, they built it into the Operating System in the form of the Record Management Services
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|
|
|
||
|
|
||
|
|
||
|
|
|
|
|
|
Hi All,
We are accessing the InterSystems`s cache database via UNIX ODBC and displaying the data in PHP website . Recently we have upgraded the PHP version to 5.6. We are getting the nondisplayable characters (�) for only strings. But the numbers and date fields are displaying correctly.
While querying the database via ISQL everything working fine (No Special characters).
I have looked around the internet and found the PHP 5.6 changed the default character to UTF-8.
For this issue anything, we can do from cache side.
cache version :
Cache for Windows (x86-32) 2016.1 (Build 656) Fri Mar 11 2016 17:
Is there any alternate way to run .exe in Ensemble without using $zf command?
Hi All,
We are accessing the InterSystems`s cache database via UNIX ODBC and displaying the data in PHP website . Recently we have upgraded the PHP version to 5.6. We are getting the nondisplayable characters (�) for only strings. But the numbers and date fields are displaying correctly.
While querying the database via ISQL everything working fine (No Special characters).
I have looked around the internet and found the PHP 5.6 changed the default character to UTF-8.
For this issue anything, we can do from cache side.
Thanks in advance.

