See
http://www.datasciencecentral.com/profiles/blogs/ten-top-nosql-databases
What will it take before Cache begins to appear on (or at the very least be considered for) such lists?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
See
http://www.datasciencecentral.com/profiles/blogs/ten-top-nosql-databases
What will it take before Cache begins to appear on (or at the very least be considered for) such lists?
hi,
1. Created a class(test) and added a classmethod(checkdata).
2. Assigned a object with xml.
3. Created a new class for response and initialized in classmethod(checkdata).
4. Created a new class for request parsing with list of object parameter.
5. While parsing xml in request for list of object, the result count is "0". But the xml has value for "2" object list.
6. XML has follow:
<Request>
<party>
<to name=""mohan"" address1=""India"" />
<to name=""sujay"" address1=""USA" />
</party>
</Request>NewBie's Corner Session 22 Parameters Part III
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Parameters
In Sessions’ 20 and 21 on Parameters we saw how to call one routine from another with parameters as well as calling one Label from another with parameters. In these examples, the data was passed through the parameters from the calling routine or label to the called routine or label.
Now suppose you wanted the called routine or label to pass data back?
There are two ways** of doing this.
1) Returning a Status through a User-Supplied Function
2) Using Passed by
We are finally planning to migrate some ancient Caché applications that are run on Caché 5.0.21 to a new server with Caché 2016.2.0 or so.
I wonder if we could use Shadowing between those to keep the data on the new server up to date?
We would copy the Caché backup from the old environment to the new and do a RESTORE there and then start shadowing.
I know than 5.0.21 is no more officially supported by ISC.
After reading Stephen Wilson's article "Windows 7 performs shutdown too fast for Cache to close and so it gets forced down" I've recalled another solution that was based on Local Group Policy, which allows to control extra actions that should occur on computer startup or shutdown. How to add a computer shutdown script is well documented in MS Technet article. In short:
I'm working with a custom code in Studio and I'd like to know where a Class is being used.
The standard ctrl+f search only in current file.
Explain Class(set) Operators and the `(Grave) Operator in Normal and Pattern Expressions? With Example.
Hi All,
I have a general query in regards to developers experience on extracting data from cache databases and the most efficient way to do so. I work with a number of clients who have applications with cache databases and require the data off the host system and onto data warehouse platforms for research and analysis. Often they require the data in source state which means the extracts are often simply a table scan of the entire database table without any aggregation or manipulation.
Hi All
When using a select :
{type:'$input',id:'Table-Alert-Alert', key:'Table-Alert-Alert', inputType:'select', children: [
{ type: '$loop', value: '=[AlertTList]',children: [
{type:'$option', value:'=[id]', selected: '=[selected]', $content: '=[AlertText]'}
]}
]},
I can get only value & text of the selected object :
$("#Table-Alert-ID").val($("#Table-Alert-Alert option:selected").val())
$("#Table-Alert-Text").val($("#Table-Alert-Alert option:selected").text())
There are some more properties in the AlertTList I would like to present on
We at George James Software recently released a new version of Deltanji, the native source code management tool for Caché, Ensemble and HealthShare.
Version 6.1 includes several enhancements, including easy creation of labels. Bulk transfer of large codesets is also now available from the browser UI.
A perpetually free "install and go" Solo Edition of Deltanji is available. Licenses can be purchased for other editions that provide more advanced code management and deployment features.
Deltanji is compatible with Atelier. It can also manage external files.
Please visit http://georgejames.com/deltan
Hello,
I'm a beginner in HealthShare, and I start to develop with caché some dataflow.
Some of my business process exist in java code.
Is-it possible to call these packages from caché classes ?
If it is, how can I do it in Caché classe ?
Thanx
I had default csp application: /csp/<namespace> for a namespace.
Later I created another application: /csp2/<namespace> and made it default.
Yet all namespace-specific (Ensemble, DeepSee, SQL, etc.) links in management portal still point to/csp/<namespace>.
Is there any way to make the links in management portal point to /csp2/<namespace>?
NewBie's Corner Session 21 Parameters Part II
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Parameters
In the previous session we saw how to call RtnB from RtnA with Parameters.
We also defined Parameters as another name for Variables when used in passing data from one Routine to another, or, from one Label to another.
Calling a routine from a Label, or to a Label, from within a routine is very similar to calling a routine itself.
To call a Label in the current routine would look like:
Do MyLabel(Parm1, Parm2, Parm3) ;
I am happy to share the news that Zen Mojo 1.1.2 has been released. This release includes a critical fix for Firefox that we had to get out as fast as possible. No other changes are included to allow easy upgrades. We recommend upgrading to this release if you are running on Zen Mojo 1.1.1.
All upcoming Caché and Ensemble releases will ship with Zen Mojo 1.1.2.
You can download Zen Mojo kits from the WRC distribution page: https://wrc.intersystems.com/wrc/Distribution.csp
Any fix or enhancement that was previously planned for Zen Mojo 1.1.2 will be included in the next upcoming release 1.1.3.
Hello,
does anybody know how to differentiate ZSOAP failures when using %SOAP.WebClient? I would need to know what error condition occurred, e.g. authorization failed, endpoint timeout etc.
All I get on failure is an ZSOAP exception which does not seem to explain anything specific.
Thanks
Jiri
Context:
mirrored configuration with one primary member and one async member (without failover/backup member)
Purpose:
replace the CACHE.DAT of a mirrored database on the primary member.
Steps to follow:
The following script use the
This tells me that there is no timezone offset on this table/field:
Select TOP 1 GETDATE() as Now, TimeCreated FROM ens.messageheader ORDER BY TimeCreated DESC;So why is TimeCreated in this resultset 4 hours less than OneMinuteAgo when I'm clearly requesting only records with a TimeCreated greater than OneMinuteAgo?
Select TOP 1 DATEADD(mi, -1, GETDATE()) as OneMinuteAgo, TimeCreated FROM ens.messageheader WHERE TimeCreated > DATEADD(mi, -1, GETDATE()) ORDER BY TimeCreatedHi,
When we write unit test cases for cache object script code using %UnitTest.TestCase, what is the best way to write code to identify code coverage?
So, let say my unit test case hit all 10 lines of code of a method for a given class. So, unit test coverage should be 100% for that. But, using line-by-line coverage [(%Monitor.System.LineByLine] getting wrong percentage, because it also includes code comment/documentation as part of code. So, practically we can not ever achieve 100% of code coverage by using this API.
I'm not sure, if am able to describe the problem properly here.
Hi All,
We created CSV file in cache.
There was one problem, how we insert "," comma in values.
Thanks,
sansa.
How to open a HTML Report using HTTP through Cache and How to Sending HTTP Request and Response from the Report?
I was wondering how you could take an exported obj and have it converted to an int/mac.
It would be convenient to be able to fetch the whole query result in one operation instead of looping through every row. A fetch_all() method or something similar would provide this functionality I guess. Is there a reason why this is not implemented?
I have a persistent class where I am logging each CCDA I receive. I want to store all of the providers associated to that CCDA (many to one). In a relational database, I would have a child table with a foreign key to the primary table. I'm guessing the equivalent to Cache would be
1. Create a custom class (ProviderList) with the properties I want to store.
2. Add the class as a property of my CCDA persistent class.
Property Providers as Array of ProviderList (SQLProjection = "table/column";
Am I on the right track?
Hello community; this may seem odd, but I need to know if there's any way we could be using callin functions from a C application without knowing? e.g. if other developers created some C programs that call in to Caché that we don't realize are running. Is that possible? If so, where would I look to see these programs? Perhaps the server's task manager?
Thanks --Laura
Here you have an easy way to write and execute COS code from your unix scripts. This way one does not need to write routines or even open Studio or Atelier. It can be an option for simple and small actions for instance things like installation tasks or compiling.
See sample bash script (compile.sh) to compile classes:
#!/bin/bash ##################################################################### # Script to compile classes # $1 = NAMESPACE # $2 = ClassName # # For example: # ./compile.sh "SAMPLES" "Sample.Person" #####################################################################
Thanks for all replies in advance.
Is it possible to modify a users security from a batch script? If it is possible can someone point me to some examples or documentation?
With a routine like this one, you can quickly calculate how many lines of code you are working with. And it is not only for routines, it works for classes because remember that classes generate routines !
Here you have the routine source code:
LinesOfCode ;
new SQLCODE,tRoutine
set tTotalLOC = 0
&sql(DECLARE ROUTINES CURSOR FOR
SELECT NAME
FROM %Library.RoutineIndex
WHERE TYPE = 'MAC'
ORDER BY NAME)
&sql(OPEN ROUTINES)
&sql(FETCH ROUTINES INTO :tRoutine)
while (SQLCODE=0)
{
write !,$j($i(tCount),5),": ",tRoutine
set tLOC =InterSystems is pleased to announce that Caché and Ensemble 2015.2.5 are now available as maintenance releases.
For a complete list of the corrections in 2015.2.5, please review the release notes.
Caché and Ensemble are available for the same platforms as 2015.2.4. The complete set of supported platforms, including specific point releases and patches, is detailed in the Supported Platforms document.
The HealthShare team will announce availability of its products separately.
The build corresponding to this release is 2015.2.5.953.0
At Global Summit back in April, in his keynote speech, John Paladino mentioned that improvements to our documentation search were being made. You might have wondered, since things seemed to go quiet, whether anything was really happening. Well, we had an internal demo of some of the upcoming features recently, and the new capabilities look really cool – searching documentation has been frustrating for InterSystems staff too! So, I thought it might be good to pass on a few details to give a taste of what is coming.
Interesting anecdote I want to share. Not 100% Caché related, but I hope it would be useful.
When CSP Gateway is configured on IIS, opening CSP Gateway Configuration page is prohibited by default -- as IIS blocks URLs with '/bin' in it.
In our documentation we advise to add <remove segment="bin" /> to applicationHost.config file. That is correct.
Recently I had problem when manual editing file Windows\System32\inetsrv\config\applicationHost.config has absolutely no effect on IIS.
Turned out (http://serverfault.com/a/599865) IIS was 64-bit and notepad++ that I used for editing was 32-bit.
So,