Would anyone recommend techniques on how to limit the amount of calls that external groups are making to our resources?
Recently we had an issue where one of our ODBC accounts maxed out the license to one of our DB servers (50 max).
Would anyone recommend techniques on how to limit the amount of calls that external groups are making to our resources?
Recently we had an issue where one of our ODBC accounts maxed out the license to one of our DB servers (50 max).
I have been tasked with creating a class that will handle error logging in a consistent manor for an application I am working on. The need is to have all variables in the calling method logged along with some other information.
The example given was zwrite which is exactly what I need, however, I somehow need to capture the output of ZW and put it into a database table. Any easy way to capture this data? I was able to dump ZW to a file, but that is not ideal.
Any help is appreciated!
Hello Global masters!
I developed Web with Spring framework (JAVA, Jdbc Cache) and I wrote SQL when I made it.
And Window program with VB6, Cache Object and VisM.
Is there a significant performance gap? SQL and Cache Object?
same function, same computer performance just different Java and VB6.
Thank you.
Minsu.
Hello Global masters.
I am junior developer about Intersystems cache in South Korea.
I want to develop process management program on server.
My code :
.
Hi,
I wonder if you could help me with a problem with persistent globals and journals.
We have a few interfaces using a persistent global just to translate some codes. The use of that global is like a lookup table...an interface calls a method that search for a field (in the message) in the global. If found, the code is translated with another field from the global.
The format of the global is something like:
The method that search for the code in the global and
Too often users finding themselves in need of a software solution do not consider “open source” vs. “proprietary” alternative. Most of them either have their go-to favorite developer or just google for reviews and ready-made answers. However, this alternative must be the starting point of their search, as the decision has the most consequences.
It is not an overstatement to say that open source is the future of technology, albeit, it has its own unique challenges. Here is what users, especially corporate users should consider choosing the software for their business needs.
Open
InterSystems is pleased to announce the availability of these maintenance releases
· Caché and Ensemble 2017.1.3
· HealthShare Health Connect v15.03 for 2017.1.3
For Caché and Ensemble
· Oracle Solaris 10, 11 for SPARC-64 and Oracle Solaris 10, 11 for x86-64 platforms are now approved for release. They were not available for earlier 2017.1 releases.
· The full list of corrections can be found in the release notes
· The version number of the kits is 2017.1.3.317.0
HealthShare Health Connect v15.03 on core technology 2017.1.3.317.0
· Contains the
I have a batch and would like to see the records in it on a terminal
First will use .%OpenId(Id) then will want to get the first record something around GetAT(1) with this I get the object reference but will actual need to see the data any help
Hi,
someone knows how to change the "required" to portuguese.
it's a property(Required) on persistence.
i want to change from "required" to "obrigatório"

I have package mapped SYS.History but two classes in the package are giving me problems.
SYS.History.SysData and SYS.History.PerfData has an Include (Include (%sySite, MONEXT))
When I try to open the corresponding table in SQL I get the following error
ERROR #5540: SQLCODE: 400 Message: Process 213004 failed to compile Cached Query Class %sqlcq.BAM.cls26 with these errors: ERROR #5475: Error compiling routine: %sqlcq.BAM.cls26.
I need to redirect user to a url, which is 5000+ characters long.
To do that I set:
set %response.Redirect = url
However, in the browser I receive this header:
LOCATION: <First 3972 characters of the 'url' variable>
In WriteHTTPHeader method of %CSP.Response, where the LOCATION header is
written:
Write "Location: ", <Redirect>,!
After I added a buffer flush, after the above-mentioned line:
Write *-3
Then in browser I received full, correct value of a LOCATION header.
Is there a better solution?
It's a rest API, so maybe there's some callback method I can override to flush the output buffer?
My new question regards connecting to the external database to insert the data. I have the following code:
#include %occInclude// winsurge6// insert winsurge data into cancer registry database// Create new Gateway connection objectset gc=##class(%SQLGatewayConnection).%New()If gc=$$$NULLOREF quit $$$ERROR($$$GeneralError,"Cannot create %SQLGatewayConnection.")//Make connection to target DSNs pDSN="CGDEV"s usr="WINSURGE_DMP"s pwd="xxxxxxxx"s sc=gc.Connect(pDSN,usr,pwd,0)If $$$ISERR(sc) quit scif gc.ConnectionHandle="" quit $$$ERROR($$$GeneralError,"Connection failed")se
Hi,
I have a client who is considering encryption options in order to comply with a tendering requirement.
Were they to encrypt the production database then what would be a reasonable expectation forthe impact on message throughput. Or possibly more easily answered: what would be the expected impact be on I/O rate and CPU utilization. Are there any benchmarks to which could support an estimate ?
How would this compare with plan B: to use disk encryption ?
Thanks
Hi, Community!
I have a problem with a table while move it from Cache to SQL Server by SSIS tool, the table was moved but there is an issue in one of the feild, it's bring only the first 2 digit and truncate the other.The datatype for this feild in the Cache is VARCHAR and the same thing in the SQL, I tried multiple datatype (char, number, intger, text..etc) and multiple tool to bring the table again (ESF, SQL Server 2014 Import and Export Data and FullConvert) and the same issue appear.
If your looking to develop a Node.JS to Caché library then you might want to consider using a pure TCP connection with a custom message transport protocol. This bypasses the native Caché connector libraries that can get stale with a new release.
Node.JS is very good at non blocking code development, so building a performant solution isn't that complex.
The idea behind this example is that we have a node HTTP server that maps HTTP requests to a Caché TCP connection.
I was following the Node.js: installation and connection test for use with Caché and was wondering how to populate a subscript with a value calculated by a built-in COS function eg. $HOROLOG without having to write wrappers for every built-in function or use temporary global storage. Any ideas?
Hi
We have a vendor that has supplied a cert in .der format, instead of the usual pem or cer formats
is there a way to convert to CER or PEM?
Kind regards,
Stephen
(PS the interface is HL7 v2 over TLS/SSL)
During programmatic classes compilation performed by the code like this:
set status=$system.OBJ.Load(updaterFile,"cruk-d",,.resList)
strange messages appear in console log, e.g.
05/06/18-15:54:12:424 (308512) 0 oops: was expecting crc 0x21e96e85,5a4c8b2c for rtn (Update.Import.1) rbufnum-15523 ... 05/06/18-16:17:45:305 (4224) 0 oops: was expecting crc 0x21e96e85,5a4c8b2c for rtn (Update.Import.1) rbufnum-15523 05/06/18-16:22:30:485 (4224) 0 oops: was expecting crc 0x21e96e85,5a4c8b2c for rtn (Update.Import.1) rbufnum-15523...(repeated 3 times)
Classes that were concerned stayed not compiled
If you have ever issued the command ccontrol help to discover what ccontrol is capable of, perhaps you noticed this section:
Syntax:
ccontrol default
Description:
Display the name of the default Cache instance,
if one has been designated.
Hi, Community!
I'm pleased to share the news of Developer Community April 2018 release.
We improved Performance, Tags, and UI.
See the details below.
1. Performance improvements
We fixed a lot of performance issues and the site became more responsive on main, groups and tags pages.
2. Tags descriptions
All the tags have descriptions nows so it is easier to understand what the tag relates to. E.g. Caché, ObjectScript, Beginner.
3. Special tags
We introduced the option to have "private" tags - the tags, which only dedicated people can put for a topic.
The following post concludes the series with a list of all databases seen in the example for the fully flexible architecture.

Hi Community!
Join us at the FHIR event of the year in the US: the HL7 FHIR Dev Days 2018!
A unique chance to meet 400 colleagues and discuss all topics relating to your field.
InterSystems is proud to be the Host Sponsorof HL7 FHIR Dev Days for its first U.S. edition, Boston, June 19 – 21st! We support the HL7 FHIR standard as it is critical for rapid innovation. FHIR can be used as an accelerant to bring all the information that matters for a patent into a unified health record.

I need to create a document with a root like this:
<?xml version="1.0" encoding="UTF-8"?> <RCMR_IN200002FI01 xmlns="urn:hl7-org:v3" ITSVersion="XML_1.0"> ... </RCMR_IN200002FI01>
However, the CreateDocument in %XML.Document only allows namespace as an additional argument.
I did override this method, but trying to do something like
Do document.SetAttribute("ITSVersion",,"XML_1.0") only results an empty document with the <?xml> declation only.
-Pasi-
Question:
My journal files are growing rapidly - what could be the cause? How can I minimize the phenomena?
Is there anything native in Ensemble that will support converting HL7 to PDF?
I see there are numerous examples in .Net and Java for this capability.
Dave
Hi
We are trying to create a new operation wich gets a XML message and send it's contents in an email.
We've used the SOAP Wizard to generate the Proxy Classes but now we are a bit lost...
What we are trying to achieve is to Create appointments in a Outlook Calendar and send emails.
Any insights, news, alternatives or experience about sequence pattern querying like with Oracle's MATCH_RECOGNIZE, more declarative, less simple direct COS way? Both obvious solutions (shadowing data to oracle cloud or implementing MATCH_RECOGNIZE compiler in COS from scratch) seem big overkill. Do Intersystems have plans to adopt this "2007 ANSI standard proposal" and "SQL:2016 standard"
My problem is regular need to do analytics on medical lab data dynamics and correlations, and while its always doable by COS and multiple SQL statements, such handcrafting for every new hypothesis/idea or
Hi community.
I want to create a custom list inheriting %ListOfDatatypes in order to implement some methods like Map, Filter, ForEach, but I have some questions.
Just to mention, I have already read the topic about DeclarativeCOS.
When I define a property like following, caché uses %Collection.ListOfDT or %Collection.ListOfObj, as it's shown in the documentation
So if I create a new instance of my class, or create from a JSON, those properties will not
I have a lookup table and record batch Table I would like to do a count on the records stored in that batch by counting the number of records in that batch that have a certain key on the responseKey column. This column keys are stored in the look up table for comparison. So I would like to do a join sql pivot that will use my keys stored in the lookup as columns and count as values
so far I have managed to do this but this is not efficient I would like to fire that sql once not on every count
SELECT * FROM
(
SELECT tMatch.DataValue, Count(*)
FROM ResponseRMAP.Record bRecord
JOIN Match ONI need to know what options exist to execute methods on the failover members of a mirror system from the primary.