would like to know how to execute deployments through cache terminal..Are are there any function or scripts available for deploying ? Is there any direct cache command similar to GUI-deploy that will deploy ?
Please let knoe
InterSystems Caché is a multi-model DBMS and application server. See more details here.
would like to know how to execute deployments through cache terminal..Are are there any function or scripts available for deploying ? Is there any direct cache command similar to GUI-deploy that will deploy ?
Please let knoe
I have multiple namespaces in a Cache environment say NS1 & NS2. I want to add some restriction so that a routine running in the NS1 should not access any resource(global/routine) belongs to namespace NS2.
The above restriction need for few of the clients only, so we do not want to write any custom logic in code.
We are looking for some solution provided by Cache where we can restrict the namespace access.
Can somebody please help me on this.
Hi,
I am placing Cache instance in backup mode by using the command:
csession <INST> -U%SYS "##Class(Backup.General).ExternalFreeze()"
and I see in the console log a message similar to follows:
"Journaling switched to: /cache/mgr/journal/20170330.002"
Now, is there a way to programmatically find out this journal file name? In fact, I am interested to find out the journal file that is switched. For example, in the above case, that would be "20170330.001".
Thanks,
Raghu
Tried to access the forum over on google, its been taken offline because google has detected
The group that you are attempting to view (Caché, Ensemble, DeepSee) has been identified as containing spam, malware or other malicious content. Content in this group is now limited to view-only mode for those with access. Group owners can request an appeal after they have taken steps to clean up potentially offensive content in the forum.
Hello, Thanks in advance for all replies. I have been practicing setting up mirroring between two development servers in preparation for mirroring our production server in a few weeks. I started by setting the servers up with minimum security which worked easily, then I set it up in lock down mode again without any issues. Now I am setting it up in lockdown mode with encryption and this one is testing me. I have everything setup but my async dr member cannot connect to the primary.
from cconsole.log
Hello,
I'd like to know if there is an easy way to get result from a $ZF(-1) into a varaible to use it in HS code.
Thanks
Kindle Edition of Caché and MUMPS – Part II is released
All data is present and readable, albeit with some minor formatting issues.
Thank you for your patience in waiting for the kindle edition.
Hello,
We are working on creating a metadata file to accompany PDF documents produced by one of our third party systems for ingestion into our DMS. One of the pieces of data that the metadata file must contain is the number of pages of the PDF document.
In Cache ObjectScript does anybody know if there is currently a way of counting the number of pages within a file (specifically a PDF) without invoking a non-Caché ObjectScript program/function from within Caché ObjectScript?
Hi,
I am exploring a simple restore procedure for a Cache instance and would really appreciate any help.
Basically, I have a CentOS machine with a Cache instance and let us say I backed up all the mount points where Cache data is located (install dir, DAT files, journals, WIJ etc). On another identical machine (without Cache installed), I mounted all these file systems exactly using the same mount points so all the data is back with the same paths.
In the previous article, I had just started working with Arduino, and got a meteorological station to show as a result. In this article, let's go further: we will set up authentication via RFID cards and Arduino against the InterSystems Caché application.
Does there exist a User Defined Language pack for Caché ObjectScript for use in Notepad++? I'm hoping some friendly developer somewhere may have created one . http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files
Hi everyone,
I've created an Identicon Generator inspired on Fabio GonçalvesCaptcha Validator.
This sample can be used to create Identicons for users of app for example, it can be useful to use in Zen Mojo applications, generating an identifier image based on name of the user by example, but it can be used in others kind of applications too(Zen, CSP etc)
Examples:
First one:
Will generate this:

And this:
Will generate this:
See my Github project: https://github.com/AndreiLN/Ikon
Best regards,
Andrei L. Nenevê
InterSystems is pleased to announce the simultaneous release of 2017.1.0 of Caché, Ensemble, and HealthShare Health Connect v15.02
Some notes for Caché and Ensemble, including highlights, are:
Hello us !
I want to use webservice CLS in Netbeans and use PHP development tool.
I create this
try {
$wsdl_url = '[URL].ClassPatientServices.cls?WSDL=1&CacheUserName=[USER]&CachePassword=[PWD];
$client = new SOAPClient($wsdl_url);
$params = array(
'ClsINOUTContext' => array('AccesCode'=>'CWP','username'=>''),
'strINPatientIPP' => "91005573",
'ClsOUTInfosPatient' => "patient",
);
$return = $client->GetPatientInfo($params);
print_r($return);
} catch (Exception $e) {
echo "Exception occured: " . $e;
}
Can you help me to use this webservice ?
Inspired by the article "Declarative development in Caché" that's still trending on the dev com. The OP explored a functional style of iterating over a collection. A comment today suggested "Caché would need syntax support for anonymous functions".
With Macros you can kind of get anonymous like syntax using dot notation.
This is not production code, but it does work. First the macros...
Several years ago everyone got mad about BigData – nobody knew when smallish data will become BIGDATA, but all knows that it’s trendy and the way to go. Time passed, BigData is not a buzz anymore (most of us missed the moment when Gartner has removed BigData term from their 2016 buzzword 2016 curve http://www.kdnuggets.com/2015/08/gartner-2015-hype-cycle-big-data-is-out-machine-learning-is-in.html), so it’s probably a good time to look back and realize what it is (what it was)…
In the prior part of this series we have provided introduction to Google MapReduce approach, but still not covered their possible ObjectScript implementation. Which we will start to explain today.
Let's say I need to process these urls in one REST method:
http://host:port/REST/arg1/arg2/arg3 http://host:port/REST/arg1/arg2/ http://host:port/REST/arg1/arg2 http://host:port/REST/arg http://host:port/REST/
Currently I need to define URL Map like this (assuming /REST web app):
XData UrlMap
{
<Routes>
<Route Url="/:arg1" Method="GET" Call="GET"/>
<Route Url="/:arg1/:arg2" Method="GET" Call="GET"/>
<Route Url="/:arg1/:arg2/" Method="GET" Call="GET"/>
<Route Url="/:arg1/:arg2/:arg3" Method="GET" Call="GET"/>
</Routes>
} Is there a way to get all these URLs in one route:
After a five-part series on sample iKnow applications (parts 1, 2, 3, 4, 5), let's turn to a new feature coming up in 2017.1: the iKnow REST APIs, allowing you to develop rich web and mobile applications. Where iKnow's core COS APIs already had 1:1 projections in SQL and SOAP, we're now making them available through a RESTful service as well, in which we're trying to offer more functionality and richer results with fewer buttons and less method calls. This article will take you through the API in detail, explaining the basic principles we used when defining them and exploring the most important ones to get started.
This earlier article already announced the new iKnow REST APIs that are included in the 2017.1 release, but since then we've added extensive documentation for those APIs through the OpenAPI Specification (aka Swagger), which you'll find in the current 2017.1 release candidate. Without wanting to repeat much detail on how the APIs are organised, this article will show you how you can consult that elaborate documentation easily with Swagger-UI, an open source utility that reads OpenAPI specs and uses it to generate a very helpful GUI on top of your API.
Can you create ad-hoc Caché relationship objects that are not part of the original Caché class definition? One of the drawbacks with relationships is that that the more relationships you have defined, the more difficult it can be manage. I was wondering rather than having all your relationships defined in the Caché class, could you programmatically create relationships between classes as and when they are required? We mostly use parent-child relationships in our classes. It is not uncommon for us to have 4 parent-child relationships defined in a single class and each of those children have
Hi,
I have a xml stored in a globalCharrachter Stream.
I would like to get a full node parts of the xml to store it in an other file.
Exemple of an Xml store in cache
<doc> <header></header> <product></header> <market></marker> <doc> </aaa>
I would like to generate new xml from this one like
<product></product> to product.xml
<market></market> to market.xml
s xml = ##class(MyExemple.test).%OpenId(1) --> my object with XML <doc> store s doc = ##class(%XML.Document).%New() d doc.GetDocumentFromStream(xml.TXML)
Dear InterSystems Community! Do you control your Caché or Caché controls you?
Recently, I decided to start the project about control of Caché instance. The control is based on communication with chat bot.
For example, below text message shows current statistics of the certain Cache instance.
/stat <cache-instance>
Another example (start the certain Caché instance).
/start <cache-instance>
One more example (stop the certain Caché instance).
/stop <cache-instance>
What do you think about the project? What do you think about additional functionality?
Please, feel free to share your thoughts.
Hi Community,
This article assumes that you are familiar with Zabbix and SNMP monitoring, if not, there are some very interesting posts on the Community, especially this one (https://community.intersystems.com/post/creating-custom-snmp-oids) which contains a lot of information on how to configure and request an SNMP Cache server.
I have a 100% ZEN application combined with 100% ZENReports and am also using IFind which is part of the solution.
Our application is a cloud hosted solution where we lease a server which does not have a website, only Cache configured under IIS. Connectivity to our site is premised on a URL string such as u12345.usa-server.com/csp/namespace/Cache.cls
Given location in INT code, as Cache usually reports on error (zWriteReport+25^SomeFile.1), is there any programmatic way to determine corresponding place in original source code?
Jiri
Hi All,
We using cache 5.02.We have some problem regarding license usage.
Hi,
English word ="Other anemias" It is converted to french as printing "Autres anemies".But correct word is " Autres anémies".I wrote a program in the cache. But did not get the correct output.So How to solve this issue