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.
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.
For the first time, InterSystems Global Summit is being held in September – September 10-13th, 2017.
And it’s being held at a new venue, the beautiful JW Marriott Desert Palms in Palm Springs, CA.
Global Summit 2017 will have the Solution Developer Conference, Healthcare Leadership Conference (by invitation only), and Technology Leadership Conference (by invitation only).
Visit www.intersystems.com/summit17 for Summit pricing and hotel information.
Online registration and agendas will be coming soon.
This is a beginner’s guide to the design of a “MicroService” implemented in Ensemble. “MicroService” is a popular phrase these days which has a broad interpretation. My interpretation is: “MicroService” is a “NoSQL Service”. A what? The answer is in the article.
We learnt what the difference is between SQL and NoSQL databases. For me the difference is nearly the same between a SOA Web Service and a “MicroService”. I am going to explain it through an example.
Please note, that although this is a beginner’s guide, I assume deep technology knowledge on data modelling, RESTful services and Ensemble.
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 TimeCreated ASC;Hi,
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.
I just installed the latest update for Atelier (Version: 1.0.255) and I am trying to add the Ensemble 2016.2 build 736 release to my workspace. It allows me to add all the correct information, test the connection (succeeded) , but the "Finish" button is greyed out so I can't save the configuration. Anyone else seeing this?
Hi All,
We created CSV file in cache.
There was one problem, how we insert "," comma in values.
Thanks,
sansa.
Hi-
I know that you can run the %Reset method within %DeepSee.Utils to reset all of the DeepSee tasks and reset the entire result cache.
Is there any way to invalidate the result cache for a single cube?
Hi!
Suppose I have a project in Atelier with two classes: Class A and Class B and develop it in my local Caché installation.
If I decide to delete Class A and delete it in Atelier project will it be deleted in Caché automatically or should I do it manually?
Or what is the suggested workflow in this case?
Same question is if I decide to rename Class B to Class C.
How to open a HTML Report using HTTP through Cache and How to Sending HTTP Request and Response from the Report?
Hi, Community!
I'm glad to announce UK Technology Summit 2016 started!
#ISCTech2016 tag will help be in touch with all is happening in the Summit.
You are very welcome to discuss the Summit here in comments too!
I was wondering how you could take an exported obj and have it converted to an int/mac.
My organization has been tasked with parsing raw EDI 271 messages into JSON strings in order to feed a downstream application. A few key details about the task:
Is there a XSL to transform from ProvideAndRegisterRequest to HS.Message.XMLMessage?
Hello All,
I'm new and learning about Intersystems products. So I'd like to know what's the difference between Ensemble and HealthShare?
As far as I can see, looks like HealthShare uses Ensemble and could perform everything Ensemble does.
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?
Is there any way of DeepSee support a hierarchical structure of grouping?
Example:
A product category structure:
- Code
- Name
- Group (parent)
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"
#####################################################################
echo -n "username:"
read username
echo -n "password:"
read pwd
csession HSINSTANCE -U "$1" <<EOFF
$username
$pwd
set status = \$SYSTEM.OBJ.Compile("$2")
h
EOFF
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?
I need to create a KPI similar to the DeepSee.Model.KPIs.DemoTrendLines kpi in Samples. This kpi supports a scorecard widget with a trend line. It shows patient counts by city with a trend line of the count of patients over a decade. What I want is to show the trend line based on the average allergy score ([Measures].[Avg Test Score]). A pivot table query that shows the data I would want to base the trend line on is:
SELECT NON EMPTY [BirthD].[H1].[Decade].Members ON 0, NON EMPTY [HomeD].[H1].[City].Members ON 1 FROM [Patients] %FILTER [Measures].[Avg Test Score]
Has anyone done this?
I'm stuck on how to show the top 15 payers and then also show the percentage of the total amount paid for each one. The total amount is what was paid by all the payers not just the top 15.
The values are PIXPDQ, user and admin. What exactly do these mean?
I'm trying to do some correlation and look at the class source but I thought I'd post here too.
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 = $get(^rMAC(tRoutine,0,0))
write "("_tLOC_")"
set tTotalLOC = tTotalLOC + tLOC
&sql(FETCH ROUTINES INTO :tRoutine)
}
&sql(CLOSE ROUTINES)
write !!,"Total lines of code = "_tTotalLOC
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
I have a list of about 100 MPI IDs that I would like to run a report on. I want to list times that any data for these patients were accessed. Currently in "Managed Reports" we have a "Disclosure Report" which I think was a custom development effort, but it is per-patient.
I have a SQL query for the ATNA log but I'm not confident in its accuracy, so I thought I'd reach out and see how other Information Exchange's might get this data.
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.
How to identify a patient of an encounter?
Doing the following query in Edge we are able to list the records of all patients.
I want select all records of a particular patient.
SELECT top 10 * FROM HS_SDA3_Streamlet.Encounter