Hi, everyone!
InterSystems Certification is once again offering a promotion with InterSystems yearly conference, Virtual Summit 2020!
Read details here. Let's get certified!
Hi, everyone!
InterSystems Certification is once again offering a promotion with InterSystems yearly conference, Virtual Summit 2020!
Read details here. Let's get certified!
Hi Developers!
How do you handle errors with &sql a.k.a. embedded SQL?
I think I found a universal error-handling template which works in any situation:
&sql(SELECT * FROM Sample.Person)
if SQLCODE < 0 throw ##class(%Exception.SQL).CreateFromSQLCODE(SQLCODE,"Context description")What is your choice?
The InterSystems IRIS has an integration engine with these core elements:
1. Adapters: are inbound (data/message input/request) and outbound (data/message output/response) integration logic specialized in the type of data or message protocol (file, http, etc.). They are the interface to allows connect with source or target data repositories or systems.
2. DTL: is a component to mapping and transform data between two components in the flow orchestration.
3. BPL: is a component executing BPEL language to execute integration/orchestration flow.
Hey Developers,
New demo show by InterSystems Manager @Amir Samary is already on InterSystems Developers YouTube:
⏯ InterSystems IRIS: Kafka, Schema Normalization and Service Enablement
In below command a is storing our return value from Python Script, hello is our device, our python script is returning device type against passing a parameter, this parameter is a device :
w $zf(-100,"a='./DC hello'")
Please help us to fetch return value of method in variable "a" returning from Python in cache.
Thanks in advance, experts
I want to call some Java Remote Call through Java gateway. The call code as following:
class CallRemote Extends %CSP.REST {
Method Index() as %Status {
Try
set gw = createJavaGateway()
Do callJavaMethod(gw)
do gw.%Disconnect()
Catch {
}
}
}
But Every call need connect to Java Gateway and disconnect it. But It's cost too high( about 80ms)
So, According to my Java experences, I need create some connection and put it into global static ConnectionPool
But I don't known how to reach that using ensemble.
Hello!
I do some http get request. And this is its response
I've run into an issue where job IDs are being retained through multiple calls. My team is doing a rewrite of our system that allows VB6 apps and web apps to directly interact with our Cache databases.
The new process has those applications calling into a WebAPI which then calls into the routines.
Hi Developers!
Recently we discussed the naming convention on packages we deploy and even made some choices.
Here I want to have a conversation on the naming convention for unit tests.
Of course, we wish every good library has unit tests. Here is the documentation and some good articles(one, two, three) regarding it on the Developer Community.
Let's decide on the naming of UnitTests packages?
The suggestion is that unit test classes will all start with the UnitTest package name.
E.g. if your library's class name is:
johndoe.lib.class
The related unit test class will be:
UnitTest.johndoe.lib.class
What about folders?
The suggestion is that unit test classes will live separately from source classes, e.g. in /tests directory.
Here is the example of a repository with unit tests that are named and placed according to the proposal.
What do you think?
Hello
A BusinessService XYZ is created by extending Ens.BusinessService and the ADAPTER is set to EnsLib.File.InputAdaptor. Files are copied to the FilePath specified by the adapter. But if XYZ is invoked directly via CreateBusinessService, the files MUST be deposited to the default temporary director rather than the file path specified in FilePath of the adapter. Is it possible to the use the file path in FilePath when using CreateBusinessService?
Is there a diff tool for HL7(v2) messages?
Either in studio or in portal viewer.
Asking for a friend.
Stephen
Hi:
I have the following method in a buisness operation that works on localhost but not on our server . I think it's how the firewall is set up but i was wondering if there is a known way around this. It can't correlate XML as it returns a "The browser did not send any authentication information" error. I tried adding in username and password to http request to no avail. We could do a c# proxy on a server but i'm wondering if there is a known way to fix this error within intersystems. As a developer we don't have too much control over our Intersystems TIE server.
Hi Community!
We're pleased to invite all the developers to the upcoming InterSystems Open Exchange Overview webinar on September 18 at 11:00 AM EDT.
In this webinar you will learn about InterSystems Open Exchange – a gallery of solutions, tools and templates made with InterSystems IRIS, IRIS for Health and other InterSystems data platforms.
What awaits you? In the webinar you’ll know:
When you export entities like classes, routines, globals in Cache Studio, you usually end up with XML files that looks like this :
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Class name="base.monitoredpage">
<Abstract>1</Abstract>
<Super>%CSP.Page</Super>
<TimeCreated>63439,41357.461462</TimeCreated>
<Parameter name="ENCODED">
<Default>0</Default>
</Parameter>
...Whenever the Windows SNMP Service restarts, the snmpdbg log says the following.
13:08:59 :Attempting initial TCP connection(s) with 1 Cache instances ...
13:08:59 :Get connection with ENSEMBLE on port 1972
13:08:59 :Connection refused on port 1972, check if Cache instance ENSEMBLE is started.
13:08:59 :Cache iscsnmp.dll initialized for 1 configs
Ensemble and all productions are running. I've set up Caché SNMP agent on many other servers in our company and those are working fine. However this one server won't budge.
Does anyone have any idea what the problem may be here?
Regards,
Glenn
Hello developers!
Share the best practices: 1) saving frequently used code sections, 2) quickly finding it, and 3) quickly including it into the current program? There was a thought for 1,2 to use DC(this resource), but the search is not always convenient not only for me
The idea on the surface is to use the git repos wiki. Are there any other best practices?
There is a project github awesome.
Maybe we should include the awesome-objectscript sections in it?
And in the future for vscode to develop a plugin for awesome-objectscript ?
Hi all
Another newbie question.
A small percentage of our patients have an extra hospital number which was imported from the previous PAS but is no longer in use. We only need to send MRN and NHS number and would like to suppress CMRN. Could you please advise me how to do it in DTL?
PID|1|E05088888^^^RTPMRN^MRN^CD:14248745|00550972^^^RTPCMRN^CMRN^CD:4528185~E05088888^^^RTPMRN^MRN^CD:4528185~4449999999^^^NHSNBR^NHSNMBR|
In Cache for Windows (x86-64) 2018.1.3 (Build 414U) I found something very useful
Hello,
I posted in another thread a short while back regarding accessing (extracting) data from the Cache' database.
I am now told that the (healthcare) system is IDX Groupcast. The kick off project has not started yet but I would like to do some 'homework' and see the data model. I couldn't find too much about this in a Google search. Would anyone have a link or advise for doing some preliminaries? I am already versed in SQL server.
Thanks,
John Lisa
Any syntax help, i want to check different msg types and then reach out to the value in that particular segment. Here is example, i want to get SSNNumber from a method. Trying to use NOTIN, and Lookup
Class Training.RulesFunctionSet Extends Ens.Rule.FunctionSet
{
ClassMethod getEmiratesId(pHL7 As EnsLib.HL7.Message) As %String
{
SET msgType = pHL7.GetValueAt("MSH:MessageType.TriggerEvent")
IF msgType NotIn "A39,A40,O01,O11,O09,R01" {
return pHL7.GetValueAt("PID:SSNNumberPatient")}
No reason apparently,
to many times executed :
[Database.SparseDBExpansion] Expanding capacity of sparse database /usr/irissys/mgr/iristemp/ by 1000 MB.
no details on audits, no traffic for that, no process to justify this, some ideas ?
IRIS for UNIX (Red Hat Enterprise Linux for x86-64) 2020.1 (Build 215U) Mon Mar 30 2020 20:23:13 EDT
Hi everyone,
I'm trying to build my project on a Linux machine using Docker.
In my development environment, I use Windows 10 Pro with Docker Desktop version 2.3.0.5. Everything works fine, and the docker-compose build runs flawlessly.
But, when I tried to run the same project in a Linux.
Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-1025-azure x86_64), docker --version
Docker version 19.03.6, build 369ce74a3c
Hi Community!
We are pleased to invite all the developers to the upcoming InterSystems Full Stack Contest Kick-off Webinar! The topic of this webinar is dedicated to the Full Stack Contest.
On this webinar, we’ll demo the IRIS Full Stack template and answer the questions on how to develop, build and deploy full stack applications in InterSystems IRIS.
Date & Time: Monday, September 21 — 11:00 AM EDT
Speakers:
🗣 @Evgeny Shvarov, InterSystems Developer Ecosystem Manager
🗣 @Raj Singh, InterSystems Product Manager - Developer Experience
In the WRC, we often see customers who have encountered a problem viewing their SOAP Catalog pages in a browser. This article will explain why the error is being encountered, as well as suggest a fix. This explanation is focused on the symptoms seen in InterSystems IRIS, but similar behavior can be seen in more recent versions of Caché.
The Problem:
You are trying to create new SOAP Web Services in InterSystems IRIS. When you go to view the SOAP Catalog for what you have created so far you encounter the following error in your browser:
Dear Folks,
I am looking for a native approach to call a ClassMethod of an instance from another instance (Instances are running in different servers). I can still do this via API over Http or any other communication method but I believe it would be better if I communicate via IRIS native methods(If exists).
Thanks
Hi Community!
We are pleased to invite you to the upcoming webinar in Spanish: "Integrating and improving your IoT platform", on September 28 at 4:00 PM (CET)!
Earlier this year, we launched a beta program for the new CCR Angular UI. As almost all of the known issues and gaps have been addressed, we are getting ready to launch the new angular UI for all users.
Anyone using CCR is strongly encouraged to enable the beta flag on their account and confirm that the new pages work as required in order to prevent surprises at cut-over time. At this point, cut-over will tentatively be late-November.
Please check it out and provide feedback (good or bad) on your experiences!
Hi Community!
Enjoy watching the new video on InterSystems Developers YouTube: