I'm trying to use the standard TSQL DECLARE syntax but I get the following error:
[%msg: < IDENTIFIER expected, @ found^ DECLARE @>]
How do I declare a variable? For instance:
SELECT TOP @numrecords FROM mytable;
I'm trying to use the standard TSQL DECLARE syntax but I get the following error:
[%msg: < IDENTIFIER expected, @ found^ DECLARE @>]
How do I declare a variable? For instance:
Is it possible to have CSV export option on dashboards in the same way as excel export.
I currently have an MDX query/calculated measure as per the below:
[DaysOnListRange].[H1].[DaysOnListRange].&[Days 91 - 180]+ [DaysOnListRange].[H1].[DaysOnListRange].&[Days 181 - 365]+
[DaysOnListRange].[H1].[DaysOnListRange].&[Days 365+]
however it currently doesn't sum when there is a blank in the data.
How can I amend this query to include empty cells/only sum cells with data?
I've tried using nonempty but it doesn't appear to work in this context
Good day! Can someone briefly explain or give me a link to documentation why in Linux Cache starts 8 Write Daemons (Main and 7 Slaves)? Thanks!
As stated in title, I want to log everything I type/get in the terminal to a log file, is there a setting like this somewhere?
Preferably I'd like to enable it once and that's it.

CLM is a tool for localization/internationalization/adding multi-language support to a project based on InterSystems Caché.
Imagine that you have a ready project where all the content is in Russian, and you need to add an English localization to it. You wrap all your strings into resources, translate them into English and call the necessary resource for Russian or English when necessary. Nothing tricky, if you think about it. But what if there are lots of strings and there are mistakes in Russian (or English)? What if you need to localize in more than one language – say, ten? This is exactly the kind of project where you should use CLM. It will help you localize the entire content of your project into the necessary language and retain the possibility to correct entries.
Those of you, who work with DeepSee, might have spotted, that when working with a date hierarchy, there are several functions, allowing you to select a time function for a given level. E.g. for extracting a year from a date/time property when building date hierarchy, you simply use Year function. similarly for month number, quarter and so on. Sometimes, you may wish to see the time - namely hour numbers. For this there is a HourNumber function available with DeepSee. Unfortunately, this function converts time into 12 hours format suffixed with AM/PM to indicate day part.
I saw in: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
How to add a Setting to a Host, BO , BS or BP.
But, how to set a beautiful name for a setting?
Ex for properties:
Property foo As %String;
Property bar As %String;
Parameter SETTINGS = "foo,bar";
I'd like something like:
"A foo property"
"A bar Property"
i have this error
DrawTableError : <MAXSTRING> zDrawTable+349^%CSP.Util.TablePane.2
perhaps i have the possibility of Deleting all history queries, but i think better to check the table where last queries were stored and solve it by deleting wrong registries. anybody knows where is the table 'QueryHistory'.
The Ens.Config.Production class has a property called SubProductions
Are sub-productions a work-in-progress within Ensemble? I'm not aware of any documentation or UI related to them.
Hi All,
I have configured my application with IIS 8.5 in windows server 2012.
I have tried to generate sample HTML report . The issue is
when the url is like 'http:\\192.168.1.2\test...mode='html'....' the reports are generated successfully.
but while using systemname like 'http:\\mysystemname\test....mode='html'...' the reports are not generated and throws error like
" The XML page cannot be displayed Cannot view XML input using XSL style sheet.
I get this on some queries in some namespaces. For instance, this query:
It works fine in HSBUS but in HSREG it throws the error.
Server closed communication device
Does anyone know what would cause this? Would it log something more useful somewhere?
I am pleased to announce the field test of Caché and Ensemble 2017.1, including many new improvements.
The product team at InterSystems looks forward to your participation in the field test and feedback over the coming months.
Some of the more significant changes in 2017.1 are the new RESTful APIs for iKnow, FIPS 140-2 validated cryptography for Caché database encryption, and improved DocBook search. As always there are a host of scalability and performance improvements to the core database and SQL. And hundreds of smaller improvements and corrections.
I have a soap webservice extended from
Lets say i have web method and have return type of following classes (either one of them)
Class ReturnTypeA
{
}
Class ReturnTypeB
{
}
Which return type class has better performance while in terms of xmL serialization ? A or B
my client application is in C#
looking for what the timeout value is for the connection for shadowing. and if it is known the timeout for mirroring also.
I'm currently getting this error and when we go to mirroring it would be good to know also, this way we can go back to our network vendor and give them as much info as possible.
10/19/16-12:19:40:696 (d30b6) 2 [SHADOWING] SHADOW SERVER (PRODSHAD): <ZREAD>ReadNone+3^SHDWUTIL;ERROR #1071: TCP read timed out - remote server is not responding (repeated 16 times)
thanks
Paul
The technology of load balancing between several servers with relatively low capacity has been a standard feature of Caché for quite a while. It is based on the distributed cache technology called ECP (Enterprise Cache Protocol). ECP provides a host of possibilities for horizontal scaling of an application, and yet keeping the project budget fairly low. Another apparent advantage of ECP network is the possibility to conceal its architecture in the depths of Caché configuration so that applications developed for the traditional (vertical) architecture can be fairly easily migrated to a horizontal ECP environment. The ease of this process is so mesmerizing, that you start wishing it was always this way. For instance, everybody is used to having a possibility to control Caché processes: the $Job system variable and associated classes/functions work magic in skilful hands. Stop, but now processes can end up being on different Caché servers…
This article is about how to gain as much transparency in controlling processes in ECP environment as in traditional (non ECP) one.
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.
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.
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.
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.
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
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: