I have been trying to pass a %Global character stream back on a Soap Response has anyone one out there done it before please help with guide lines on how to achieve this thanks in advance just some working sample code and will take it from there thanks again
I need to know the current rss memory consumption. On earlier Cache versions I used this method:
set sc = ##class(%Net.Remote.Utility).RunCommandViaZF("smem -u cacheusr | grep cacheusr | awk '{print $6}'",,.rss)It doesn't work because we use $zf(-100) on IRIS 2019.1.
New version:
ClassMethod Test()
{
set cmd = "smem"
set args = 8
set args(1)="-u"
set args(2)="irisusr"
set args(3)="|"
set args(4)="grep"
set args(5)="irisusr"
set args(6)="|"
set args(7)="awk"
set args(8)="'{print $6}'"
set sc = ##class(%Net.Remote.Utility).RunCommandViaZF(cmd,,.rss,,,.code,.args)
//set sc = $zf(-100,Hi Community,
We are pleased to announce the Global Summit 2019 social media contest called "Twitter Rush"!
Help us share Global Summit 2019 with the world by tweeting live about the keynotes, breakout sessions, newest technologies and awesome moments as they happen! To participate in the contest, post your updates to Twitter with the hashtag #GlobalSummit19 between the dates September, 19 – September, 25 2019.
Our #1 social media Ambassador will win a 10.5-inch iPad Air Wi‑Fi 64GB!

🎉Check out the winner announcement below! 🎉
getting "The value of the property 'cspHttpServerMethod' is null or undefined, not a Function object" error while executing the csp page. All the server side methods stop working at this time although javascript functions still work but until the point where a server side method is getting called. Any clues why we get such error.
A permanent job opportunity has arisen for a Caché/Ensemble developer with at least 5 years experience.My client is a specialist resource provisioner of developers for high profile clients in the finance, healthcare, retail, distribution and credit business that are mainly based in central London.My client is looking for a highly-motivated individual who thrives in an environment where problems are open-ended.
Hello everyone :-)
I would like to update Atelier from version 1.0.262 to the 1.3 one. So I clicked on Help --> Check for updates, and I get these first error messages:
"No updates were found in available software sites."
"Some sites could not be found. See the error log for more detail." etc. cf picture below talking about Proxy Authentication.
.png)
So I checked those available software sites (tried until now) and also the proxy settings that I am used to work with:
.png)
.png)
Then I changed the "Active Provider" from Native to Manual with the proxy settings got from a system administrator :

So here is the
I am playing with the FHIR Sandbox.
I want to sort the patients returned in the bundle from the Patient search using the _sort (according to FHIR standard the _sort parameter is what should be used to sort), but I get: "Invalid request URL parameter _sort specified"
So I am having to assume that InterSystems did not implement _sort.
Or it may be a named something else, why I say so is that there is something else that they "renamed", that is the "stateId" they renamed to "queryId", this refers to the stateId returned in the "Link" URL of the bundle with which you fetch subsequent pages, they
Good morning -
I am attempting to pass some HL7 content (say, a complete ADT message) from one server to another via REST/JSON - for reasons.
I can get the data across but when I try to create an EnsLib.HL7.Message object from the message in the JSON body, I end up with just the start of an HL7 msg in the resulting object. Looks like: MSH|^~\&
The start of the code accepting the data looks like this:
S tReq = {}.%FromJSON(%request.Content.Read())
S tInput = tReq.Message
S tMsg = ##class(EnsLib.HL7.Message).%New()
D tMsg.ImportFromString(tInput)
S tMsg.DocType = "2.3.1:ADT_A01"
So now if I take that
Session : Working with the FHIR Resource Repository
We tried below steps to create and load sample data from Synthea (FHIR data).
- Open terminal
- USER>zn "HSLIB"
- HSLib> do ##class(HS.HC.Util.Installer.FHIR).Install()
- Namespace : FHIRServer
- Install DSTU2? (Y/N) N
- Install STU3? (Y/N) Y
- STU3 CSP app [/csp/healthshare/fhirserver/fhir/stu3]:
- STU3 CSP Open ID Connect (OAuth 2.0) app [/csp/healthshare/fhirserver/fhir-oidc/stu3]:
- Install STU3 resource repository? (Y/N) Y
- Install STU3 PIXm? (Y/N) N
- Install STU3 PDQm? (Y/N) N
- Install STU3 MHD? (Y/N) N
- Continue with Installation? (Y/N) Y
- HSLI
Hi Developers!
When you prepare your modules for ZPM (InterSystems Package Manager) it expects the certain directory structure for ObjectScript source files.
ObjectScript in your source folder need to be stored by types in the following subfolders. E.g. if you have the source folder named as /src the structure should be as follows:
/src
/cls - for classes
/inc - for include files
/mac - for mac files
/int - for interpretable files
/gbl - for globals
And the ObjectScript should be in CLS (a.k.a UDL) and not in XML.
Example.
Ok!
Hi ,
I am new to cache and I want to check with the experts to see if using the ctrl-c option while checking the list of databases is valid one or will it cause any issues. Below is my scenario
I use the below command to check the list of database
%SYS>do ^MSU
1) Create a database
2) Edit a database
3) List databases
4) Delete a database
5) Mount a database
6) Dismount a database
7) Compact globals in a database
8) Show free space for a database
9) Show details for a database
10) Recreate a database
11) Manage database encryption
12) Return unused space for a database
13) Compact freespace in a
When i use ##class(%SQL.Statement).%New() -> .%Execute() and then .%Next() to go through the result set, i could only go through part of the result. And then, i have to call .%NextResult() to go through the next part of the result. BUT, the .%Display() could show all of the result.
How can i go through the full result once,like .%Display()? Or how should i do to go through the full result? Is there anyone can help me? Waitting
!!!
Hi Developers!
Just want to share the information with you that we support TechCrunch Disrupt Hackathon 2019 this year!
It will take place from 2-4 of October in San Francisco, CA.
We introduced InterSystems special prizes for participants which solutions will use InterSystems IRIS $4,000 and InterSystems IRIS for Health 4,000.
If you happen to participate we wish you luck and hope you'll leverage InterSystems IRIS data platform functionality to win Disrupt Hackathon 2019!
Hey Developers!
Please join the upcoming InterSystems Developers Meetup in Boston which will be held on September 25th, 2019!
It will take place in Boston Marriott Copley Place from 5:30 p.m. to 9 p.m.
We meet to discuss solutions development on InterSystems IRIS. Come to tell your stories and share experience with InterSystems data platforms, for networking and developer conversations. Drinks and snacks will be provided.
The format is usual: 15 min for a session, 5 min for Q&A.
I learned about the Open Exchange tab here at Intersystems. I wanted to look at one of them, but when I clicked it, it tried to go to the site, then brought me back to openexchange.intersystems.com. I then saw a "not secure" icon in the browser bar. I tried this on IE, Chrome, and Firefox, and could never seem to get into the site to look at the site https://openexchange.intersystems.com/package/Cach%25C3%25A9Quality.
NOTE: seems to affect only the link above.
Am I missing something? Is there a special setting I need to set to see these ideas?
Thanks,
Hi everyone,
I am pleased to announce that the Evaluation Service is now LIVE!
If you are an InterSystems End User or an InterSystems Partner and you want to try the latest version of IRIS with all its enterprise features (mirroring, ECP and sharding), and you want it NOW, this is for you.
The Evaluation Service allows you to get your hands on an IRIS kit and a very powerful IRIS license for evaluation purposes in less than 1 minute. No paperwork. No need to talk to anyone. Fully self-service.
This service is only for IRIS and IRIS for Health and it is very easy to use.
This promotion ends on December 5, 2019.
See the rules below.
✅ #1: Follow this unique link and submit a review for IRIS or Caché.
✅ #2: Make a screenshot of the headline and text of your review.
✅ #3: Upload a screenshot in this challenge on Global Masters. Done? Great! After your review is published you will get two $25 VISA Cards!
Note:
• InterSystems IRIS and Caché
Greetings,
I am trying to test an hl7 message inside studio and when I click on the test button I get this error:
"<FUNCTION>GetProp+2^%CDCalBk" at 9:51 am. $I=/dev/null:50333010 ($X=0 $Y=54) $J=50333010 $ZA=0 $ZB="" $ZS=65536 ($S=66023400)
I have never seen this before! Any suggestions?
Here a simple test message:
MSH|^~\&|TESTRAD|ABC|RADIOLOGY|WYZ|20190715125605||ORU^R01|20190715125605|T|2.3
PID||123456788^^^EPIC^PMRN|1234567890^^^EPIC^PMRN||TESTING^TWO||19780422|F
PV1||OUTPATIENT|||||^^^SMITH^^^^^PHS^^^^PRN
OBR|1|776565|A44444|CT.TH.CHESTSC/R^CT CHEST LUNG CANCER SCREENING
Good afternoon,
I'm trying to convert to JSON, but the error <STRINGSTACK> is displayed when I run the command below:
Do ObjJson.Write(ObjSource.%ToJSON())
Does anyone know how I can solve?
Thanks,
Josnei
Hi,
I am wondering if there is a version of Studio which connects to Cache 2018.1 or do I have to use Ateleir?
Thanks, Kevin
Hi Developers,
You have a unique chance to get your first 500 points on InterSystems Global Masters Advocacy Hub!
How?
Just register on Developer Community during InterSystems Global Summit from September 22th to September 27th.
Hello friends,
I am trying to create REST API in Cache. I am getting a response from postman but when I tried to launch the same URL on the browser, I am getting service unavailable error.
This is my URL http://localhost:57772/widgetsdirect/rest/Gunwant
Any help is greatly appreciated.
Thanks and Regards, Gunwant Kapade
Hi Developers!

If you happen to visit Global Summit 2019 don't hesitate to stop by Developers Community Booth (table 9 on Tech Exchange, 3rd floor) - we can help to submit your Open Exchange solution to ZPM Package Manager.
One package Output Capture by @David Crawford is already packaged and can be installed with the following command:
zpm:USER>install output-captureAlso, come to chat on your dev experience and collect your GlobalMasters badge from @Anastasia Dyubaylo ;)
I had my journal files all on one disk which died :(
The database files are all fine, but I having issues. Can I bypass the need for the journal files?
Environment: cache version : Cache for Windows (*86-64) 2015.1 (Build 429).
Platform: Windows Server 2008 R2 Standard.
database: oracle in OraClient12Home1 (64-bit).
We Configured cache and odbc in above environment.And we checked ODBC connection, it also working fine.And then we tried to connect the ODBC through the background but it's ending with gateway failed error.And again we tried the same process in foreground, it's working fine and also we got the data from the database.we checked the license key and cache privileges,all are good.
Hi all,
is it possible to omit the typical XML header line
<?xml version="1.0" encoding="ISO-8859-1" ?>
when writing an the contents of a EnsLib.EDI.XML.Document using the above mentioned operation. I´ve already digged into the config value Format. It only states that:
C(e) : output an XML header line declaring character encoding e. If e is empty use the encoding defined by the Adapter. If e begins with ! force the output stream's encoding. Note that this will be applied automatically for File Operations configured with a non-UTF-8 Charset
The target system requires to receive the file contents
I am trying to return a stream soap response using web services I can call my web service supply it with a xml string which works fine . I then work on that XML and try to return a Stream but all works in the production when my service receives the stream after I get the error as if its trying to copy stream to a variable and I am confused as to where that operation happens.
The errors I am getting
ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zCopyFrom+28^%Stream.TmpCharacter.1 *Rewind
and here is the stack trace in case I am missing something
- $$^zGetErrorTrace+3^Ens.Util.Trace.1 +1
- $$^zC
Hi All,
I have a class method, this can be any cache expression to execute (usually a class / method and args) and and args stored in a variable, for example;
set aa = "##Class(Utils.Test).Run(1,2,3)" do aa
I tried using $classmethod(class,method,args..), by extracting the values but sometimes there can be no arguments, or arguments such as ;
("2019-01-01","1,2,3,4")
which causes issues while running the $classmethod, (i am using $P to extract the Class, Method and args).
Is there any simpler way of doing this?
Hi Everyone!
We are pleased to invite you to the upcoming webinar "Master Data Management and Your Enterprise" on 3rd of September at 11:00 EDT!
270




