Question Daniel Kutac · Jun 21, 2016

Customer is using an ancient MSM based client Workstation for their application and they made a small change to their server code. They introduced property of %Double() and discovered an issue. The MSM workstation is not able to retrieve any property of an object instance that holds value of $double(0). see images illustrating the issue.

I'm posting this to DC intentionally before I eventually send it to WRC so others can comment.

Dan

Image 1 - data

image 2 - UI

1
0 611
Question Timur Safin · Jun 15, 2016

Let assume you have a infinitely scaling algorithm implemented in your application, using replication, ECP, or any other means of horizontal scaling, and let assume you know how to run your system under any volume of requests, the trick is to deploy required number of computing nodes in the cluster. If we are talking about cluster of 2-4 nodes your administrator (or as they call it today "devops engineer") will install anything manually. Probably he will easily handle 5 nodes configuration in the cluster. But what if you need to deploy 10, 100, or 200 properly configured, interconnected nodes?

8
0 755
InterSystems Official Steve Brunner · Jun 17, 2016

InterSystems is pleased to announce that Caché and Ensemble 2016.1.1 are now available as maintenance releases.

For a complete list of the corrections in 2016.1.1, please review the release notes.

 

Caché and Ensemble 2016.1.1 are available now for the same platforms as 2016.1.0, with the following exceptions:

  • OpenVMS is not available yet.  It will be announced separately.

  • Support for Red Hat Enterprise Linux 7 for Power System-64 is now dropped. 

The complete set of supported platforms, including specific point releases and/or patches, is detailed in the Supported Platforms document.

 

The build

0
0 425
Question Alexander Watt · Jun 13, 2016

I've been exploring the Developer Community and noticed a bug.

Steps to reproduce:

  1. Load home page at https://community.intersystems.com/

  2. Scroll to the bottom and select a different page (e.g., 2)

  3. Select a post

  4. Go back with the browser

  5. You should see the same page of results, but I'm seeing the first page regardless of which page I was on previously.

I think one way to address this is to change the URL when the user clicks a different page -- e.g., change it to #page2. Then this is part of their browser history. When they go back, they can hit https://community.intersystems.com/#page2, and the

1
0 199
Question Jan Krestyn · Jun 15, 2016

Hello WRC.

Is possible to obtain a node-cache modul for the nodeJS ver.4.4.4. and actual Caché 2015... ?

And what is the expected outlook of this.

A note about this new portal: If I put into "search box" some text with dot like .js or .css ( for example: test.js )  , I obtaint error page. Try it.

Of course, this "Developer Community" is nice, the right way.

Nice day for all, Jan Krestyn

3
0 554
Question Laura Cavanaugh · Jun 16, 2016

Hello,

I have a question about how to set the value of a radioSet.  Yes, I know -- the documentation says that setValue can be used "client side", but gives no example.  Plus, I'm trying to set the value of a radioSet in %onAfterCreatePage, which is a Zen method? Server side method? I'm not sure.

In my Zen page I create a radioSet like this:

<radioSet id="appRadio" name="appRadio" 
displayList="App One,App Two,App Three" 
valueList="One,Two,Three"/>

I want to select a radio based on a sepcific value, that I get from code.

e.g.

Method %OnAfterCreatePage() as %Status

set value =

4
0 699
Article Erik Hemdal · Jun 17, 2016 5m read

Setting the TZ Environment Variable on Linux

The Update Checklist for v2015.1 recommends setting the TZ environment variable on Linux platforms and points to the manpage for tzset. This is recommended to improve the performance of Cache’s time-related functions. You can find out more about this here:

https://community.intersystems.com/post/linux-tz-environment-variable-not-being-set-and-impact-caché

The manpage on my CentOS 7 test system (RHEL 6 says the same) has this to say:

“The tzset() function initializes the tzname variable from the TZ  environment  variable.

0
0 140077
Question Francis Galiegue · Apr 27, 2016

Hello,

I am still a beginner with COS and am struggling with these concepts. While digging through the official documentation will eventually tell you everything you need to know, getting started is nevertheless not an easy feat...

Is it possible to create a "lists/array/multidimensional 101" page for beginners? And, for instance, its interaction with $data, what it means to use "as list of something" or "as array of something", how to walk lists, how to add/remove elements, how to extract sublists etc?

At this moment, for me, this is all very confusing, and I think such a page would help me

12
0 664
Question Joseph Thottungal · Jun 16, 2016

Hi,

I am trying to use data transformation (DTL) to map a JSON to SDA. My elements in the source JSON is not one to one with SDA object. That means I have to add code to loop through these objects in order to complete the mapping. Can someone send me a sample that can look to create that? I am not very comfortable with scripting language used in Health Share. Appreciate your help.

Regards

Joseph

2
0 814
Question Scott Beeson · Apr 27, 2016

I was planning to fully map out all the transforms that incoming CCDs go through before they are displayed in the Clinical Viewer or sent back to another facility.  When I opened the XSL files, I see some very good comments like the following:

        <!--
            Field : Patient Name
            Target: HS.SDA3.Patient Name
            Target: /Container/Patient/Name
            Source: /ClinicalDocument/recordTarget/patientRole/patient/name
            StructuredMappingRef: ContactName
        -->
        <xsl:apply-templates select="hl7:patient/hl7:name" mode="ContactName"/>

This leads me to

8
0 1459
Question Mike Kadow · May 1, 2016

I am hoping some of you network guys have ideas. InterSystems seems to be at a standstill. When I startup Studio and try to start Terminal I get License Limit Exceeded. Starting with Terminal and going to Studio, same thing. It started when I put down a 2016 version of Cache on top of a 2015. InterSystems told me to uninstall everything and start fresh. I did that but have the same problems. What can I look at? How do I start to debug this? Although I am the only one on my PC it is really impacting my performance.

-thank you

5
0 1304
Question Santosh Pai · Mar 17, 2016

Updated  DEV server from account 2013.x to  2015.2 (Build 664_3U) of Ensemble 
 

Version:

Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2015.2 (Build 664_3U)

Platform : UNIX (Red Hat Enterprise Linux for x86-64)


When trying to start the JDBC gateway server got the following message
*****************************************************************************
Type: Error
Text:   Execution returned: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/intersys/gateway/JavaGateway : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at

3
0 1065
Article Attila Toth · Jun 15, 2016 1m read

Hi All,

I've created a sample implementation of the MQTT protocol, which is now available on GitHub

The project demonstrates MQTT client capabilities and it's written in Caché Object Script.

Any comments, bug reports are welcome! Some more enhancements (like SSL / TLS support) are planned for the near future.

0
0 679
Question Simcha Gershon · Jun 9, 2016
Hi
I'm trying to inser a button into a grid cell with no sucssess. You can see what I get, I don't understand what I'm doing wrong, can any one help me
Thanks
This is my code :
 
content {
children: [
{type:'$ContentPane',key:'layoutContainer-1',style:'width:100%;height:100%;',children:[
{type:'$span'
1
0 388
Question Nikita Savchenko · Jun 1, 2016

Hello!
Are there any short ways of serializing COS entity to the string? I am searching for something like .$toJSON() , but I need Caché 2013.* support.

The one way I supposed to work is to use $listbuild:

set str = $LISTTOSTRING($LB(1,2,3,",",5))
set list = $LISTFROMSTRING(str,",")
zw list
list=$lb("1","2","3","","","5")

 

But the problem is that $listbuild does not escape delimiters, and it is not possible to deserialize serialized string. The structure I need to serialize may contain any characters.

Are there any short ways to do this in Caché to avoid writing custom parser?

15
0 3380
Question Randy Stewart · Jun 13, 2016

I need to pass multiple values to a FILTER to a DeepSee DASHBOARD via the URL. The documentation seems to indicate this can be done, i.e.: "Where each filterspec is filter_name.filter_values" but there are no examples I can find that indicates what is used to separate multiple values. Say I want to pass the three values 5, 6, and 1395 to a filter. To pass just the 5 I know this works:

&SETTINGS=FILTER:LEAD.MYUSERID.H1.MYUSERID.5

but how do I include 6 and 1395. None of the following seem to work:

&SETTINGS=FILTER:LEAD.MYUSERID.H1.MYUSERID.5.6.1395

&SETTINGS=FILTER:LEAD.MYUSERID.H1.MYUSERID.5,6,139

2
0 450
Question Daniel Kutac · Jun 10, 2016

this is catching  me all the time, again and again...

Haven't worked with XML VDOC for some time, I can't figure out, what is the correct way of using Property path. Can someone please help me to refresh my memory.

Simple example: I have a class called Body, with Value and Topic properties. I created a XML Schema for this class and imported it into Ensemble. So i have a category called message, with Body as DocType structure and Name and Topic properties of Body complex type ($2:Value and $2:Topic are element names)

My rule looks this way:

However, the rule is ALWAYS evaluated as TRUE.

3
0 1346
Article Evgeny Shvarov · Mar 9, 2016 2m read

Hi!

Here is small "How to" again.

Suppose you need to share something with source code. How can we manage it on DC?

Sharing code snippets

1. Add normal post (not Code Package).

2. Paste your code in the post and format it with highlighting as it is described here.

3. If you see that your COS code is highlighted wrong it means that autodetect missed with language. Open the post's HTML ("disable rich-text" button below the Editor) and put class=COS parameter into the code tag.

Example:

#dim test as %Library.Integer 
SET test = 123.099 
set ^global = %request.Content 
Write "Current date """,
2
0 566
Article Mike Kadow · Jun 11, 2016 2m read

NewBie's Corner Session 7 True and False

Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.

Click on the Caché Cube in your system tray and select Terminal to try out these commands.

In COS, a 0 is false and any other number (positive or negative) is true.

Set X=1
If X Write "True"          ;  1 is true and 0 is false
True
 
Set X=0
If X Write "True"          ;  0 is false
<> 
 
Set X=10
If X Write "True"          ; Any number other than 0 is true
True
Set X=-10
If X Write "True"          ; Any number other than 0 is true, even negative ones
True
 
Set X="1"
If X Write "True"
0
0 407
Article Evgeny Shvarov · Jun 8, 2016 1m read

Hi, Community!

If you prepare your longread for DC in Microsoft Word or Google Docs there is one very easy way how to add your formatted text and images in DC post at once.

To make it do the following:

1.Click Create Post on Developer Community.

2. Copy all the text in Word o GDocs to the buffer.

3. Click the button Paste from word (see the shot):

4. Paste the text to the opened window an press OK.

5. See the formatted text with images in your post. Save it as a draft or post it.

7
0 611
Question Danny Spell · Jun 9, 2016

I've been in IT since 1986.

I started with Pr1me INFORMATION and Primos on Pr1me hardware.

In the 90s and 00s, I used D3.

I'm giving Caché a try, but I'm kinda having some difficulty getting started.

I've installed Caché on a 64-bit Windows 7 workstation. It was installed under an administrator's account. From a standard users account, I'm trying to access the Management Portal at:

http://localhost:57772/csp/sys/UtilHome.csp

It is prompting me for credentials. Which ones do I use? I've tried several, but nothing is working.

In going through the MultiValue Quick Start Tutorial, but I'm not getting

5
0 447
Question Blaise ZARKA · Jun 8, 2016

In DeepSee, having a customer account cube. The cube includes a time dimension AccountCreationDate.

How do you create a calculated measure to get the total number of accounts from the beginning to a certain date in abscissa ?

I tried many things including this:
AGGREGATE(%TIMERANGE([AccountCreationDate].[H1].[MonthYear].&[190001],[AccountCreationDate].[H1].[MonthYear].CURRENTMEMBER) ,[Measures].[%Count])

But I don't get the right result because the date in abscissa creates a filter on the first date.

I tried also with %MDX function, but then I loose the context for the CURRENTMEMBER.

2
0 946