Hi,
I am running terminal on Cache on a Mac High Sierria and going through the ObjectSript tutorials.
However there is no instruction on the Intersystems website as to how to open Studio.
Does anyone know how this is done?
Thanks
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi,
I am running terminal on Cache on a Mac High Sierria and going through the ObjectSript tutorials.
However there is no instruction on the Intersystems website as to how to open Studio.
Does anyone know how this is done?
Thanks
I want to analyze the journal, but the journal seen in terminal seems to be incomplete.
So how to transform journal into complete plain text.
My installation package is C2010_1_6_952_0_11445_x64.exe.
Where can I find CSP file in TRAKCARE. Seems i can find js file only but not CSP file in TRAKCARE T2017, may i know the path where store the CSP files? Many thanks.
Good afternoon everyone,
I hope you are well,
I am currently working on the below opportunity and if anyone here would like to hear more details please feel free to contact me on 01908 886 030 or teo.rusu@identifiglobal.com
Cache Developer – Leading Law Firm
Fixed Term Contract - Central London
Salary negotiable
The client is a leading City law firm with around 1,200 partners and worldwide staff, is regarded as one of the most prestigious law firms in the world.
or "Bonus Breakage"
In our last lesson, we added a relationship between 2 persistent classes. We are clearly going to need to start creating REST Services to expose CRUD operations for each of these classes, but before we do that, we should really finish defining our linkages. We added code to our Widget toJSON to spool off related Accessory data, so we should really do the reciprocal and allow Accessories to return all Widgets that are compatible.
The code we can use is essentially the same as we used on the Widget side.
Hello Guys,
Can you please guide me to create a RESTful API service in our cache (using intersystems cache kit) with CSP (Cache Server Pages ) object script.
Class REST.NativeDIspatcher Extends %CSP.REST
{
XData UrlMap [XMLNamespace = "http://www.native.rest.com/urlmap" ]
{
<Routes>
<!-- <Route Url="/:name" Method="GET" Call="displaySystem" Cors="false" /> -->
<Route Url="/:ostype" Method="GET" Call="externalFreeze" Cors="false" />
</Routes>
}
ClassMethod externalFreeze(Ostype as %String) as %Status{
set status = ##Class(Backup.General).ExternalFreeze()
WRITE "EXTERNAL FREEZE RESPONSE FOUND " _status
QUIT $$$OK
}
}I have already mentioned my project CacheBlocksExplorer recently in two articles

Now I would like to inform that this project can be easily run with docker.
Version for Caché and for InterSystems IRIS, now publicly available on docker hub.
Remember that you need the appropriate license key (for RedHat Linux) to be able to run this project.
docker run -d --rm \ -p 8080:57772 \ -v ~/cache.key:/usr/cachesys/mgr/cache.key \ -v /some/your/cache/db:/opt/blocks/db/test \ daimor/blocksexplorer:cache
Hi,
We maintain a few Zen reports that output in Excel format.
Recently we started to observe that some reports fail and return the following error.
CSP error occurred
Error: Error rendering: OS code =1Use $log=1 to check
ErrorNo: 5001
I have extracted the exception details from the log file
java.lang.OutOfMemoryError: Java heap space
at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createElementNS(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(Unknown Source)
at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.
Hi,
Somewhat weird behaviour in testing values in a resulting query.
I have a table where I need to read through a list of data, and apply a charge for matching occurrences. However, only ONE charge for one set of data. I have applied a DISTINCT function to the query, but as I cannot get a completely unique set, the DISTINCT function does not de-duplicate all of the sets.
I have therefore attempted to look for a value that if it repeats for the one data set, I can choose to skip the function that applies the charge.
Hi,
I am trying to start cache form the Terminal window and I get the following error:
$ csession cache
Invalid ownership for ./cache
However looking at the permissions it appears I do have execution rights:
-r-xr-xr-x@ 1 root cacheusr 24616 18 Sep 22:16 csession
Since I installed CACHÉ with mac, I can not use CACHÉ CUBE, so I put windows 10 in the virtualbox, installed CACHÉ and made cube usable. The problem is, When you press the cube mark, ·studio ·Terminal · Management Portal · Remote system access · Preferred connection server (F) [TRYCACHE 2] · Cache version management (b) · End (x) Inside of the above ·studio ·Terminal · Management Portal (P) Can not be selected.
Why?
The purpose of using CACHÉ is to refurbish existing projects.
You can change, repair, or delete CACHÉ by clicking on CacheClient_X64 and selecting an instance.
Open the studio of CACHÉ,
When you click something, A dialog for server connection is displayed, Please select CACHÉ server from the list. Although it is described, if you select Local [127.0.0.1 [1972]],
User name _system password
Will be input. In this case, what should I enter a password? Is there a default password? Or do you set your own password?
The following code snippet includes a class method "test" that runs code to find a class based on the class's name. "test" takes one argument, which is the name of the table:
Class objectscript.findTable Extends %RegisteredObject
{
classmethod test(name as %String="mytable")
{
#Dim result as %ResultSet
#Dim tName as %String
#Dim contain as %Integer
Set contain=0
Set result = ##class(%ResultSet).%New("%Dictionary.ClassDefinition:Summary")
Do result.Execute()
While(result.Next())
{
Set tName=$get(result.Data("Name"))
&sql(select position (:name in :tName) into :contain)
Write:contain'=0 tName, " ... ", name, " (", contain,")", !
}
Return $$$OK
}
}
Here's a link to the code on GitHub
Hello Experts,
I am working on SOAP WSDL, where I am getting below error, I could not figure out where the error is hitting in code. Error says,
"ERROR #6248: SOAP response is a SOAP fault: faultcode=Client faultstring=Badly formed SOAP Message faultactor= detail= <error xmlns="http://www.intersystems.com/trak/ws"> <text>ERROR #5002: Cache error: <METHOD DOES NOT EXIST>zXMLNew+1^Custom.ENXX.Integration.WebService.Schema.DemogData.1 *%New,Custom.ENXX.Integration.WebService.Schema.DemogData</text> </error>"
I don't have any method as such described in the error - "Custom.ENXX.Integration.
I installed the evaluation version of CACHÉ.
There is a CACHÉ launcher (gray), If you click it you can not select the terminal.
What is the cause of this?
First, set the preferred connection server · Server name IP address · Port: 1972 Telnet port: 23 · Web server port: 57772 · Web server ip adress CSP server instance ·comment Authentication method Password or kerberos
Does it become like the terminal can be used if setting it?
Please reply.
Hi All,
Is anyone using Veritas NetBackup 8.1 to backup Caché database? DB is on Linux 7.4 on host running VMware ESXI 6. Size of DB is about 1.5TB. Any advice on integrating with freeze/thaw.
Happy pro provide more info if needed.
Thanks in advance, Ashish
This code snippet determines the day of the week associated with a date. The class method "test" takes a date as a string in "mm/dd/yyyy" format, and returns an integer corresponding to a day of the week:
Class cartertiernan.getDayfromDate Extends %RegisteredObject
{
classmethod test(date) as %Integer {
//Set date = $ZDATE(date) // Looks like: mm/dd/yyyy
Set monthList = $LISTBUILD(0,3,3,6,1,4,6,2,5,0,3,5) // (Jan,Feb,Mar,Apr,...)
Set centuryList = $LISTBUILD(6,4,2,0) // first two digits divisiable by 4, then subsequent centuries. EX (2000, 2100, 2200, 2300)
Set dayList = $LISTBUILD("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") // Index goes from 0-6
Set day = $PIECE(date,"/",2) // get the day
Set monthVal = $LIST(monthList,($PIECE( date,"/",1 ))) // get the month value
Set first2DigsYear = $PIECE( date,"/",3 ) \ 100 // get the last 2 digits of the year
Set last2DigsYear = $PIECE( date,"/",3 ) # 100 // get the first 2 digits of the year
// Used for DEBUG perpouses
/*write !,"day: ",day
write !,"Month: ",monthVal
write !,"last2: ",last2DigsYear
write !,"first2: ",first2DigsYear
write !,"cen Val: ",$LIST(centuryList,(first2DigsYear # 4) + 1),!!*/
// Look here for formula explination (its the "Basic method for mental calculation")
// http://en.wikipedia.org/wiki/Determination_of_the_day_of_the_week
Set dayOfWeekVal = ( day + monthVal + last2DigsYear + (last2DigsYear\4) + $LIST(centuryList,(first2DigsYear # 4) + 1 ) ) # 7
Quit dayOfWeekVal
}
}
Here's a link to the code on GitHub
(originally posted to CODE by Carter Tiernan, 6/18/14)
Hi community members!
Please, I'm looking for any references or experiences using InterSystems technologies with MQTT (Message Queuing Telemetry Transport) protocol .
Thanks in advance!
I installed an evaluation version of Caché now.
The Windows version of the Caché client component kit is required to manage and operate Linux or Mac machines with Caché installed. The Windows version of the Caché kit includes client components. Although it is written,
How can I get the Windows version of the Caché client component kit? If you do not use the Caché client component kit, you can not use CACHÉ on Mac, right?
Is it better to install windows os on virtualbox and use Caché?
Please answer.
I would like to make the EnsQueue class visible to the Intersystems ODBC client. It appears it must be included in the SQL-visible classes first.
Hi All, Can any one please tell how to get the Windows SID number using Caché Command.
404 Not Found
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}I want to do something like the above sample from a Google Storage JSON API. I have a call to Write obj.%ToJSON() followed by return ..ReportHttpStatusCode(..#HTTP404NOTFOUND) however the HTTP Status code is always 200. If I remove the Write obj.%ToJSON() statement it returns a 404 status with no body. How do I return both?
Hi,
I have a working import routine, but I do get an error on properties based on another class
in this case [OrgType As ZenCrm.OrgType].
How do i set the correct reference?
Thanks
Unconferences have been described as “networking on steroids.” They are the ultimate peer-to-peer discussion experience, and have been a vital part of InterSystems Global Summit for the past few years.
To ensure that this year's Unconference at Global Summit is better than ever, we want to know what YOU want to discuss with peers and industry leaders. Please follow the link below to submit your Unconference topic for 2018! Feel free to submit as many as you would like. Keep in mind that topics should be technology-related and relevant to conversations your peers will also be interested in.
We are go to set up an odbc connection using data direct odbc on a linux redhat install, x86_64 gnu
I have downloaded the ODBC-2017.2.2.865.0-lnxrhx86.tar.gz and now need to set up the entry in the odbc
Problem is, what .so do I use??
./bin/cconnect.so
./bin/libodbc.so
./bin/libcacheodbcu.so
./bin/cgateu.so
./bin/libcacheodbciw.so
./bin/libcacheodbc35.so
./bin/libcacheodbcuw.so
./bin/libiodbc.so
./bin/libcacheodbcuw35.so
./bin/cgateiw.so
./bin/libcacheodbcu35.so
./bin/libcacheodbc.so
./bin/cgate.so
./bin/libcacheodbciw35.so
./bin/libcachedb.so
./dev/odbc/redist/unixodbc/libodbcinst.so
thanks
What I am impatient now is that after installing CACHÉ, CACHÉ Cube necessary for operating CACHÉ is installed as standard, and in Windows, if CACHÉ Cube's cube mark is displayed on the task bar, Although it is described in the case of Mac, there is no description on where the cube is located on the Mac + CACHÉ Cube is not found even in the PC.where is CACHÉ cube??????(CACHÉ Trial version)
I am trying to create a file from within a zen page but it keeps giving me a method does not exist error
in my page, i am taking the values and writing them to a file, when I do this :
set filename= ##class(%Library.File).New("E:\test\file.txt") it gives me an error
Would appreciate some guidance on this.

Introduction
Any election is a highly mysterious process, and when you look at its results, the overall picture is not quite clear. I decided to put them, region by region, on the map of Moscow using InterSystems technologies that offer both storage and data analysis functionality. In this particular case, I used InterSystems Ensemble, a platform for application development and integration, but you can also build this solution using the multi-model InterSystems Caché DBMS, as well as InterSystems’ new product called IRIS Data Platform.
I'm testing out the new %CSP.REST way of creating an api and having a problem with a POST getting a 405 error.
I get data returned when I do a GET, so I don't think it's a configuration issue or a class issue.
I have no problem with %CSP.Page when creating a REST type method. So what am I missing?
Can someone give me some advice?
Thank you.
Hi All, I tried to execute the ##Class(%SYS.LDAP).Binds(LD,"",$lb(Username,Domain,Password),$$$LDAPAUTHNEGOTIATE) but this command is returning the value as 7 only instead of 0,7 is an "Authentication Method Not Supported",How to recover it and why this error message is occuring Please help me