In case of system exception (missing property, method etc) Cache Studio's debugger stops at the line throwing it. Unless the line is in try/catch block.
Is there a way to make it break also in try/catch case?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
In case of system exception (missing property, method etc) Cache Studio's debugger stops at the line throwing it. Unless the line is in try/catch block.
Is there a way to make it break also in try/catch case?
There is a large file that needs to be processed, with over 500 000 rows. Each row needs to be verified for various data and then all the results collated and reported into a single report. What is the most efficient way to do this? I tried calling the processing function with Job , where each function jobbed off would report results to a different node of a common global. But the jobbed functions are not updating their respective rows even though I am passing the global name and root node. What is the most efficient way to process this large file? Any Cache/Ensemble ideas are appreciated.
Hi All,I got an error when i compile one class. the error was objects of class are (classname) instantiated in 1 processes.how can i recover the problem. my cache instance is Cache 5.0
I have done Python - Cache binding setup following the guide from http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…. I have also run test.py from sample3 folder and it able to run and complete successfully.
However, when I try to run the same test.py code via $zf, it gives error with exit code 1.
I've tried running help("intersys.pythonbind3") via $zf and also running from Cache terminal as follows:
which gives me the following output:
problem in intersys.
Hi All,I have an error when I try to openId via terminal and studio.
If "classname"'=class Quit $zobjclassmethod(class,"%Open",oid,concurrency,.s
^
c)
Any one know how to recover this problem
Hi!
Sometimes when I have Zen page in a browser (e.g. Management Portal page) and when my Internet connection interrupts, I see the alert window on the page, something like this screenshot:
Is there any setting for the CSP web app to prevent this alerts from popping up?
Hi,
Terminal says "Unable to open Registry key 'SOFTWARE\Microsoft\Windows\CurrentVersion\CommonFilesDir.1" when I execute $$Register^SNMP().
For monitoring purposes I want to use SNMP in Ensemble. One of the steps I have to do is to use the method $$Register^SNMP() in the terminal "%SYS" namespace. This is mentioned in a Intersystems Docs page.
Monitoring Caché Using SNMP
Caché expects the SNMP service to be installed before you install Caché, so it can add iscsnmp.dll to the proper Registry keys.
Hello,
I have been involved with using terminal scripts lately (I use GE Centricity Business), that usually do not go beyond 'send:' and 'wait for:' commands. Notwithstanding, I have been stuck with the message boxes since the script recorder does not record over this whenever I need to click 'Yes' in a given message box prompt which aggressively stops my scripts/macros from continuing. I know that this commands are labeled 'Extended Escape Sequences', but I have been looking all over at the Intersystems document repository with no luck in finding anything of the sort.
Hi,
is there a way to implement the behaviour for a zen dataCombo? Let´s assume the dataCombo retrieves it´s data via sql query, lets say 50 records. Now the user type into the input of the datacombo 'a', which shall auto select the first entry beginning with character 'a'. If the type 'a' again, the next item from the list is selected. What I am looking for is an approach to implement such an behaviour. See a simple <select> component which support the desired functionality out-of the box.
I´ve found an old google group entry on this (https://groups.google.com/forum/#!
To set up Web Application, I need to turn on the DeepSee flag using Caché ObjectScript. How can i do it?
Hi All,
Am attempting to run sample unit tests as per
and getting an ERROR #5007:
The Terminal detail is as follows:
SAMPLES>Set ^UnitTestRoot="C:\UnitTests" SAMPLES>write ^UnitTestRoot C:\UnitTests SAMPLES>do ##class(%UnitTest.Manager).
Sometimes I observe people scrolling manually down to the bottom of the Console Log document when they want to see the most recent messages. So I want to draw attention to the handy link that does the job for you in a single click:

If you deal with multiple instances of Caché / Ensemble / HealthShare and sometimes have to work at the Terminal command prompt, did you know that you can easily add extra information to that prompt which may help prevent you running a command on the wrong instance?
Based on user request in zenpage, i am running the method ConvertMDXtoJSON in background and loading the status in progressbar.
D ..%RunBackgroundMethod("ConvertMDXtoJSON",MDX)From this background method ConvertMDXtoJSON() i want to return the value(sjson) and store it into session.
How can i do this?
Below is my code.
ClassMethod ConvertMDXtoJSON(pMDX) As %String
{
Try
{
Do .%SetBackgroundMethodStatus("Started",0)
set Params = ""
set pStatus = $$$OK
set RS = ##class(MS.Deepsee.MDX2JSON.ResultSet).where is the search functionality in cache studio IDE of InterSystems ? Please let know
Maybe someone has a logger for incoming CSP requests and willing to share? Debugging high traffic HTTPS application and wireshark just doesn't cut it sometimes. So I thought I'd ask here. I'm especially interested in getting raw stream of incoming request.
I know there's a whole chapter on the subject but I would love a super simple video demo or sample configuration or training course. The myriad menu of options and unfamiliar prompts can make it a bit daunting. The challenge is simple. Send an email notification if the license usage exceeds n% LU consumption. Why? A recent software change seemed to be responsible for causing the LU total consumption to reach 100%. That means users can't get logged in and support staff can't access the System Management Portal. A pretty daunting situation I am sure you all would agree.
Hello,
is there some kind ZEN component available (e.g. tree or anything), which can display raw JSON string data nicely on ZEN webpage ?
JSON string contains primary nodes, subnodes, arrays.
Hi,
The command "##Class(Backup.General).ExternalFreeze()" switches journal files as can be seen in the following log message:
"Journaling switched to: /cache/mgr/journal/20170331.003
Backup.General.ExternalFreeze: Start a journal restore for this backup with journal file: /cache/mgr/journal/
20170331.003"
It is not clear to me whether the data files are updated with all the transactions from journals prior to this new journal file, before write daemon is suspended.
Here is a screenshot from my 2016.2 FT instance of Studio and Ensemble:

I don't recall having seen the highlighted "+" suffix on document names previously. Who can tell me what it denotes?
I originally posted this in the Field Tests group but it turned out to be a 2016.1 feature that I hadn't previously noticed. So I subsequently moved the post to the Cache group.
Hi,
After restoring all the Cache related files on a machine, I am performing journal recovery using the command "^JRNRESTO". It works as described in the document and the recovery succeeds. However, the command is interactive. Is there a way I can run it in a programmatic way? I don't want to just supply a text file containing answers to all the prompts. I am wondering if there is way I can pass all the information upfront to the command.
Thanks,
Raghu
Is there a way to generate or create a WADL or some form of service definition for a class containing REST services or on a specific URL?
here is my $ZV string "Cache for Windows (x86-64) 2016.2.1 (Build 803) Wed Oct 26 2016 12:43:35 EDT"
two questions
1. How do i convert any Persistent object to JSON String ?
2. How do i convert an y Register object to JSON string ?
3. Do i need to extend from any adaptor class for 1 & 2 ?
Hello everyone. I have some problem with selecting my own globals from namespace. My task is select only globals created by me. Follow my code, I get all globals from given namespace.
Please help me with excluding system globals. I need work only with my own globals.
During startup a Caché/Ensemble/HealthShare instance must consult a parameter file to get some information it needs at the early stages of startup. By default it uses the file called cache.cpf, but by adding an extra argument to the ccontrol start command you can make it use an alternative file.
how to exclude weekend(Friday) in sql statement i trade use select datediff(WK,date1,date2) but not working even i chose (Dialect mssQL)
Thank You
I've got an issue trying to write a code which should add some global mapping to already existing namespace. Here is its skeleton:
We are planning to use Caché users on a SOAP web-service, so the WS-security tokens will be used.
It will be username and password only for now.
The passwords should expire on a regular basis and this will be configured in the system-wide security settings.
The consumer of the web-service should be able to change their password on-demand or when it has expired, via a web-service call.
For the on-demand change, I can create a service method which can be called by the consumer to change the password.
I'm moving *D globals from DatabaseA to DatabalseB.
After importing globals I need to rebuild indices for all the imported persistent classes.
Colleagues, maybe you know one command which does it for all the classes in Namespace?
Hello, we have a few hundreds of triggers to port from Oracle to Cachè for a migration project, and many of them have to change (for example, normalize a value, null it, etc) the value which is being inserted.
The documentation says "You cannot set {fieldname*N} in trigger code." , so we're unlucky.
Is there a good workaround for this ?
SqlComputeOnChange doesn't seem the best way, but I'm not totally sure: for example normalization and validation could have a better place somewhere else than a trigger.