Question Eduard Lebedyuk · Oct 1, 2019

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,
2
0 452
Announcement Olga Zavrazhnova · Sep 16, 2019

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! 🎉

1
0 666
Question sapna gera · Aug 7, 2017

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.

3
0 1074
Job Romina Sarcletti · Sep 30, 2019

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.

0
0 661
Question Mathieu Van Sevenant · Sep 13, 2019

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.

So I checked those available software sites (tried until now) and also the proxy settings that I am used to work with:

Then I changed the "Active Provider" from Native to Manual with the proxy settings got from a system administrator :

So here is the

5
0 562
Question Elize VdRiet · Sep 26, 2019

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

1
0 249
Question Craig Regester · Sep 30, 2019

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:

tReq = {}.%FromJSON(%request.Content.Read())
tInput = tReq.Message

tMsg = ##class(EnsLib.HL7.Message).%New()
tMsg.ImportFromString(tInput)
tMsg.DocType = "2.3.1:ADT_A01"

So now if I take that

3
0 1158
Question Pravin Dabhi · Sep 30, 2019

Session : Working with the FHIR Resource Repository

We tried below steps to create and load sample data from Synthea (FHIR data).

  1. Open terminal
  2. USER>zn "HSLIB"
  3. HSLib> do ##class(HS.HC.Util.Installer.FHIR).Install()
  4. Namespace  : FHIRServer
  5. Install DSTU2? (Y/N) N
  6. Install STU3? (Y/N) Y
  7. STU3 CSP app [/csp/healthshare/fhirserver/fhir/stu3]:
  8. STU3 CSP Open ID Connect (OAuth 2.0) app [/csp/healthshare/fhirserver/fhir-oidc/stu3]:
  9. Install STU3 resource repository? (Y/N) Y
  10. Install STU3 PIXm? (Y/N) N
  11. Install STU3 PDQm? (Y/N) N
  12. Install STU3 MHD? (Y/N) N
  13. Continue with Installation? (Y/N) Y
  14. HSLI
1
1 372
Article Evgeny Shvarov · Sep 29, 2019 2m read

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!

0
1 859
Question Karthikeyan Reddy Gunna · Sep 27, 2019

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

3
0 378
Question just fig · Sep 27, 2019

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? Waittingcrying!!!

2
0 332
Announcement Evgeny Shvarov · Sep 27, 2019

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.

Learn more here.

If you happen to participate we wish you luck and hope you'll leverage InterSystems IRIS data platform functionality to win Disrupt Hackathon 2019!

0
0 330
Announcement Anastasia Dyubaylo · Sep 6, 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. 

8
0 605
Question Michael Gosselin · Sep 26, 2019

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,

4
0 220
Announcement Amir Samary · Sep 23, 2019

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.

4
4 2017
Announcement Olga Zavrazhnova · Sep 27, 2019
Hey Developers,
 
Have you already reviewed InterSystems Caché or IRIS on the Gartner Peer Insights? If not, here is your chance to get two $25 VISA Cards - one from Gartner Peer Insights and one from InterSystems!
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é

0
0 424
Question Everardo Cunha · Sep 25, 2019

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

2
0 394
Announcement Evgeny Shvarov · Sep 24, 2019

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-capture

Also, come to chat on your dev experience and collect your GlobalMasters badge from @Anastasia Dyubaylo ;)

0
0 395
Question Vikash Aravindh · Sep 20, 2019

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.

2
0 394
Question Sebastian Thiele · Jul 17, 2019

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

2
0 471
Question Thembelani Mlalazi · Sep 23, 2019

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
3
0 993
Question Rizmaan Marikar · Sep 22, 2019

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?

4
0 361