Does anyone know where to find a cache.node that works with Cache version 2016.1.1.108.0? I am currently getting this:
Error: Unable to load shared library C:\InterSystems\TryCache\bin\cache.node''
I am using Windows 7 Pro + SP1.
Thanks!
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Does anyone know where to find a cache.node that works with Cache version 2016.1.1.108.0? I am currently getting this:
Error: Unable to load shared library C:\InterSystems\TryCache\bin\cache.node''
I am using Windows 7 Pro + SP1.
Thanks!
I would like to remove all the active locks and roll back all the on-going transactions.
Is there any COS command I could use?
By the way, any command I could see the current on-going locks and transactions?
Thanks.
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : go to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
The challenge today is about microchips and generators. A microchip belongs to one particular generator, and the two can be on the same floor, or in the same elevator. But if a microchip is with another generator on the same floor or elevator, it will get toasted, except if his own generator is also on the same floor/elevator.
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : go to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
In today's challenge, you have to execute instructions that control how bots are handling microchips.
Using the CSP Page Statistics
Application Performance Management
A key part of Application Performance Management (APM) is recording the activity and performance of user activity. For many web applications the closest you can get to this is to record the CSP pages or CSP based services being dispatched.
If the pages or service names are meaningful and they indicate the business activity being performed the CSP page statistics can be very useful in building up a historical record of activity, performance and resource usage.
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : go to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
Today's challenge is about decompressing input that is compressed in an experimental format.
In the format, markers indicate how much time a number of characters need to be repeated.
For example :
A(1x5)BC repeats only the B a total of 5 times, becoming ABBBBBC for a decompressed length of 7. (3x3)XYZ becomes XYZXYZXYZ for a decompressed length of 9.
I have a Cache-compatible sql script file and each query is separate by white space.
How could I ask Cache to execute all the queries in this file and dump the result to a specified file?
Thanks.
Hello, I'm looking for books on Caché / Ensemble.
I'm new and would like to learn more about native functions.
Thank you
Hello All,
what is the best method for search a portion of text in a non-indexed global?
I need to implement an autocomplete kind of search, in a global of >1M registers (text type, not $lb)
Maybe the best way would be use a SQL mapped class, with 'Bitmap' indexes?
Thanks in advance!
Hello,
Sorry for my epic english :(
I have a strange issue.
I have generated an encryption key with the tool (UI.Portal.EncryptionCreate.zen).
Then I activate my key for data encryption (UI.Portal.EncryptionManaged) and encryption work fine.
But when I reboot my server the key is removed from the data encryption key list (UI.Portal.EncryptionManaged) and I have to re-activate the key.
Perhaps somebody have an idee ?
Cache version : Cache for Windows (x86-64) 2016.2.2 (Build 853U)
Windows: Windows Server 2012 R2 Standard
Thanks
Sébastien
Hi all, This is a bit embarrassing, and not that critical. I have a local instance of Caché 2016 on my computer, for playing around with. I was attempting to set up two-factor authentication on this instance, and I thought I simply disabled all users except for my own user and enabled two-factor for this user. The next time I tried to login to the Management portal, I received a Server Availability Error:
http://localhost:57772/csp/sys/UtilHome.csp
Caché Server Pages Version 2016.1.1.107.
I am using a %GlobalStream to create as % stream.Object and writing that to a file but for some reason when I run that on the terminal I get <PARAMETER>zWrite^%Library.GlobalCharacterStream.1 and no file is created
I have tried the following here is my code and still get the same result any help appreciated
ClassMethod WriteNodes(myfile As %String){
set status=##class(%XML.TextReader).ParseFile(myfile,.textreader)
set ptemp=##class(%GlobalCharacterStream).%New()
//check status
if $$$ISERR(status) {do $System.Status.This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : goto to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
The input in today's challenge consists of an encrypted name, a dash, a sectorID, a dash and a checksum between brackets.
A name is real if the checksum is equal to the five most common letters in the encypted name.
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : goto to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
The challenge of day 5 is to calculate a password of 8 characters by finding the MD5 hash of the input and an increasing integer index.
The password is constructed by taking the 6th character of the first 8 hashes that start with 5 zeroes (in hex representation).
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : goto to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
In today's challenge, you have to repair the communication with Santa : messages are coming in, but jammed.
By using repetition code (see also https://en.wikipedia.org/wiki/Repetition_code), you can find out what's in the message : by sending the same message a number of times, you can calculate which characters are most frequent on each position and find the most likely message.
Hi, team
i configure my authorization server and client and i want define access rights for different users , how can i do it?
knowing that we have our own database with different users ID and access privilege ?
is there any one who can help us? thank's


This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : go to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
The challenge of today has nothing to do with real two-factor authentication ! (sorry if you came to this article by searching the real thing)
For the complete explanation of the challenge, go to http://adventofcode.com/2016/day/8.
Your input (http://adventofcode.com/2016/day/8/input) consists of a series of three basic instructions to control the display of a screen.
Is there documentation that states %Id() is supposed to be available in %OnBeforeSave()?
I am currently using it in this method without issues, but one of my colleagues is stating it is not supposed to be available for a new object at this point because the object has not been saved yet.
I tried to implement the Oauth2 in google,
I got authentication, But I unable to read response class.
I got an error as:
I unable to change response Class.

Anyone help me to Change response Class in Client Configuration
or
Is there any option to define response URL manually?
Thanks
Is there an option to configure Caché to start external apache instead of internal one on startup?
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : goto to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t…
Today's challenge on http://adventofcode.com/2016/day/7 is about checking for valid IPv7 addresses with TLS support. (No, it has nothing to do with real ip addresses which are at most ipV6 or real TLS, but just a way to keep you busy coding & hacking!)
The imaginary ipV7 addresses support TLS if they contain an ABBA sequence outside square brackets and no ABBA sequence inside brackets.
I am a newbie to Cache and we are using dBeaver product to query against Cache tables.
I have the following query which does a GROUP BY to aggregate the columns:
SELECT PtNumber,cpt4_OVR,CollDateODBC, COUNT(*)
FROM site.MGBILL_View
WHERE cpt4_OVR IN ('36415', '36416')
--AND ChargeFlags = '0'
AND CollDateODBC > DATEADD(DAY,-45,CURRENT_DATE)
GROUP BY PtNumber,cpt4_OVR, CollDateODBC
HAVING count(*) > 2
-This returns a count of 3 for each patient (aggregated)
But I need to display the actual 6 rows.
Hi I've created a word macro in order to convert doc to txt via the command line, this works fine via the command line by myself or another user but when I try as an the intersystems user which runs under LocalSystem it doesn't work.
So can I change the user, or set the $ZF to run as a different user?
Or do I have to try another way to convert doc to txt - it's looking like libreOffice?
I just wanted to stick with word because I could be guaranteed on the result being accurate.
Thanks
Regards
Richard
If you want to dynamically serve images as a property of JSON then there is no perfect encoding solution. One method used frequently is to Base64 encode the image. Whilst there are some negatives to doing this, such as data inflation, there are some positives to working with Base64 images inside the browser.
Let's say you have an image placeholder on a web page...
And you fetch a JSON message from the Caché server containing the image as one of its properties...
Hello, evrybody, I'm writing one project using CSP("OnPreHTTP"), and also REST angular. At the beginning I wrote purely on csp, then I decided to use angular for the flexibility of the client part. Now I can not design logging, I created a table App.
I work in a small development company that uses Caché as a database. In some support cases I have doubts about whether the client's infrastructure environment is not affecting Caché's response time. Reading a bit about comparing installations in different environments, both in production as testing and homologation environments , I understood that the TPC-E is a benchmarking method accepted in the market.
I'm reading the specifications of the TPC-E and I wonder if anyone has implemented or seen something similar in Caché.
Hello; We are managing several Ensemble instances on several servers. One server has 4 instances, and two other servers have one instance each (those are production servers). We encrypt all instances using the Caché encryption in the management portal.
Currently we are using two different encryption keys: 1 key on the server with 4 instances, which is used for all 4 instances, and a second key on single-instance server. ( I'm installing the newest production server now.)
What I'd like to know is what are the best practices for managing encryption keys for separate servers.
I get two methods below: I would run both methods concurrently.
However, the "testRead" would always read the uncommitted results from "testInsert".
Anyway to avoid that? Thanks.
ClassMethod testInsert()
{
&sql(START TRANSACTION ISOLATION LEVEL READ COMMITTED, READ WRITE)
&sql(insert into Test.Table(AttrA,AttrB,AttrC,AttrD) values(1,2,3,4))
hang 15
&sql(ROLLBACK)
}
ClassMethod testRead()
{
&sql(START TRANSACTION ISOLATION LEVEL READ COMMITTED)
&sql(select count(*) into :ans from Test.Table)
&sql(COMMIT)
w !,ans
}Is it possible to make the cache terminal available over a mirrored vip address for a healthshare mirrored environment? So that connecting to a terminal for a mirrored environment will always connect to the Live Node?
I'm looking to write a Powershell script to run against the system and need to connect to the Live Node in a mirrored setup. Is this possible or am I going to have to log onto each node to establish which is Live. Or does this even matter?
This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : goto to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-t… or look at the http://adventofcode.com/ website.
In today's challenge, you have to find out how many 'valid' triangles you find on the walls of the Easter Bunny HQ.
(you can find the input on the adventofcode website : http://adventofcode.