Explain data expression and selection expression?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Explain data expression and selection expression?
Hello all,
In my ZEN login page, I found a way to bypass the submit button and force a user to click on the Sign In button, thus forcing the code to call my OnSubmit(), like this:
<!--ondefault="return true;"--><!-- this removes the ability to use "return" to login - forces button click to login -->
<loginForm id="loginForm" ondefault="return true;">
After Microsoft updates my Cache Cube has stopped working. I checked my cconsole.log and corrected my journaling errors. However, I still receive Native Code 450 errors but now I am receiving Network Errors. However, now there do not appear to be any errors logged in my cconsole.log.
I have reinstalled Cache Cube multiple times without success. Can anyone please provide some assistance?
Thank you,
Nancy Grimes
903-786-2590
Hi!
When trying to receive xml response
set sc = ##class(%XML.TextReader).ParseString(str,.reader)
I'm getting error bellow:
Invalid character (Unicode: 0x1A) while processing Anonymous Stream at line 2 offset 281
How I can ignore this error? Thank you.
In $system.SQL.Shell(), it would also report the number of global references for a given query.
Is it possible that I could also get this statistics from the %SQL.Statement interface when I launch a dynamic sql?
Thanks.
Quite a few enhancements have appeared over recent months in QEWD for easing and simplifying the creation of REST-based services. It's now even more slick and powerful, allowing you to very quickly create very high-performance, highly-scalable REST (and Web) services that make use of Cache.
I've therefore updated the training presentation deck (Part 31 on developing REST Services with QEWD). It describes all the new features with worked examples. See:
https://www.slideshare.net/robtweed/ewd-3-training-course-part-31-ewdxp…
Here's one way to determine if a class is mapped (i.e. it is in a package whose definitions come from a database other than the default code database for the current namespace):
SAMPLES>w ##class(%Library.RoutineMgr).IsMapped("Cinema.Film.cls")
0
SAMPLES>w ##class(%Library.RoutineMgr).IsMapped("%iKnow.Objects.Source.cls")
1
SAMPLES>If you pass a by-ref second argument to IsMapped you can also discover what database the class definition is stored in:
I want to retrieve all the names of classes which are %Persistent in a namespace by COS.
Any suggestion, Thanks.
Hyper-Converged Infrastructure (HCI) solutions have been gaining traction for the last few years with the number of deployments now increasing rapidly. IT decision makers are considering HCI when scoping new deployments or hardware refreshes especially for applications already virtualised on VMware. Reasons for choosing HCI include; dealing with a single vendor, validated interoperability between all hardware and software components, high performance especially IO, simple scalability by addition of hosts, simplified deployment and simplified management.
Has anybody defined their own Cache ObjectScript (COS) commands and symbols? Is it even possible? For a list of currently used commands and symbols please use the following link.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=RCOS
TablePane1 is populated when a %ZEN.Component.button on a form is clicked from a JavaScript onclick method.
<button caption="Search" onclick="zenPage.onSubmit();"
TablePane1 also has a JavaScript onselectrow method zenPage.onSelectRow() that gets the currently selected RowID.
onselectrow="zenPage.onSelectRow()"
This JavaScript method gets the RowID and feeds it into ClassMethod GetAuditLogs(ByRef pRowId) [ ZenMethod ] to get the audit events for that record.
I'd like to access and view the soap log. Apparently there is a global for that (^ISCSOAP) (http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…), but insofar I have been unsuccessful finding the exact cache command for viewing the soap log or changing it so that it logs both incoming and outgoing traffic. Can anyone enlighten me?
I.e. I am trying stuff like:
set ^ISCSOAP("Log") = io
write ^ISCSOAP("Log)
but those don't work.
I use %SQL.Statement. The original column names are not contained in the metadata.
Sample query:
SELECT column1->name as name, column2 age FROM sample.table
How to get:
Hi
I've got a Service that get ACK Messages originated by another system.
I want to get the details of a Message when the ACK is CE (Failed Message).
I don't know whether this is the best approach but, at the moment, I have a DTL and I would like to search the Cache Database for a Message with the Control ID on the ACK in the MSA segment.
Any help with this would be great.
Tks.
Please excuse my ignorance. I am trying to identify what areas would be best to review in the System Dashboard (for Cache 2010.2) for performance issues with the database. It seems to be running slower than usual, but I am trying to find out the best way to go about identifying what the issue is.
The following are captures from the System Dashboard.
As always, thanks a lot for your help.
Hi,
I am new to coding web services and trying to connect to an API that returns its format in xml or json.
I have a class as follows.. when I run I get back a 6059 in my status - Unable to open TCP/IP socket to server
Can someone help me identify what I am missing? Thanks
Hello!
Intersystems is a fascinating yet niche marketed. We are using it, but we struggle to find good developers to join us to work on Caché or Ensemble products.
Who is interested into joining us? the job will be in Geneva, Switzerland!
For more information, please drop me an email to: erika.stegagnini@ch.randstad.com or call me directly +41 58 2015408.
Thanks! Erika
Hi all, I'm running into an issue with the installation, it seems like almost everything is working alright but upon trying to actual access the Management Portal, the site cannot be reached. I've noticed that the terminal indicates that Sign-on is inhibited.
DC readers running Caché etc on Windows, configuring the Telnet service to use SSL/TLS, and using the Caché Telnet client (CTerm.exe) to make the Telnet connections may like to know that there's a fault in 2017.1 and 2017.1.1 which prevents CTerm.exe from establishing the secure connection.
Workaround is to use a pre-2017.1 kit to install on your client machines (e.g. 2016.2.2), or to fetch the bin\cconnect.dll from an earlier version (I used 2016.2.2) and use it as a replacement for the 2017.1 / 2017.1.1 copy.
Hello -- Is there a way to load a JSON from a file.
I have a "JSON" file which has a sting 1035164 long with the following format:
Good day, every process in my software is about to update 3 specific globals in row when the process is called to do some job. I need to guarantee that during updating of those globals with multiple processes there is only one process that is actually working with those globals. Moreover I need my globals unreadable if other process is in critical area.
Example:

(for example globals: ^data1, ^data2, ^data3 are critical area)
An installation or upgrade of Caché, Ensemble, or HealthShare on Windows could fail with the titled error if a newer version of the Microsoft Visual C++ Redistributable 2013 (x86) or (x64) is installed instead of version 12.0.30501.
How to we count no.of nodes in global.
There is method:
$System.OBJ.New( ClassName As %String = "" )
If class with name ClassName exists - everything is OK.
But, when class does not exist, there is error - <CLASS DOES NOT EXIST>
How can I check before calling $System.OBJ.New() if class witn name ClassName exists?
Greetings!
I'm new to Zen reports and I'm wondering if what I'm trying to do is possible. I have a classmethod that accepts three parameters to generate an xml file from a global. I've set up my Report Definition to call the ClassMethod that generates the .xml file; however, I'm trying to figure out how to pass the parameters to that ClassMethod from the Report Definition. The example in the documentation shows parameter passing using SQL (which I'm not using), so I'm curious if this will work.
Hi Guys,
We need to print html reports, in the server side, to a specific printer that is installed on the Cache Server , and using the Internet explorer that is installed on the Cache Server to do that .
Hi!
While i am trying to write a data i am getting a error as "<PROPERTY DOES NOT EXIST>zFile+15^User.zKQRest.1 *value,%Collection.ListOfObj" but there are values stored in it. How can i break it write it separately.
Hi,
I am new to Cache' MV but have extensive experience with other Pick flavors especially Unidata.
I need to determine the impact of adding several indexes to a large file with over 51,000,000 records.
On other systems, I could use FILE.STAT, ANALYZE.FILE and shell to the OS to determine how large the index file was.
None of those seem to be available in Cache' MV. Shelling to the OS just tells me the size of CACHE.DAT.
What is the best way to determine what the disk impact would be if I added an index (CREATE-INDEX) to a file?
TIA,
Steve
Hello,
I have a DB server (ser-app-db) where cache is installed as server.
I have a Web server (ser-app-w) where cache is installed as web server and configured as CSP gateway.
I followed the configuration guide (https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…) and ser-app-w perfectly display the CSP and CLS pages.
But that's not working for my REST service, for exemple with the REST sample:
http://ser-app-db/csp/samples/docserver/request(GET): work and show the request
http://ser-app-w/csp/samples/docserver/request(GET): return a 404.
Hi
1. Is it possible do define an index like that :
create index UIX on MyTable (Column1) where Column1 is not null
2. What happens if we add an index on a property that is NOT required, meanning that not all records will be indexed because we do not allow null subscripts ?