I use %SQL.Statement. The original column names are not contained in the metadata.
Sample query:
SELECT column1->name as name, column2 age FROM sample.table
How to get:
- column1->name
- column2
I use %SQL.Statement. The original column names are not contained in the metadata.
Sample query:
SELECT column1->name as name, column2 age FROM sample.table
How to get:
I have a few productions that my developers named "TEST" and would ideally would like them to have more relevant names. Is there a way to rename a production? I tried exporting and deploying the production under a new name and it worked, but my new production is empty. Also I'd like to delete a production that is in a suspended state. When I attempt to delete the suspended production, I get errors that the production isn't stopped, so can't be deleted. I can't start it to clear the suspended status, either. I get the following error:
14:26:18.126:Ens.Director: Production 'CHSLI.TEST' starting.
Hi
I've got a Service that get ACK Messages originated by another system.
I want to get the details of a Message when the ACK is CE (Failed Message).
I don't know whether this is the best approach but, at the moment, I have a DTL and I would like to search the Cache Database for a Message with the Control ID on the ACK in the MSA segment.
Any help with this would be great.
Tks.
Please excuse my ignorance. I am trying to identify what areas would be best to review in the System Dashboard (for Cache 2010.2) for performance issues with the database. It seems to be running slower than usual, but I am trying to find out the best way to go about identifying what the issue is.
The following are captures from the System Dashboard.
As always, thanks a lot for your help.




Hi,
I have a process in which at the end i produce a zen report and then i need to send it to the appropriate person.
I've used "GenerateReportToStream" method.
after that i set a context var of type %stream.Object and send to an operation that's send's out the email.
the email is received with the attachment, but upon opening the error is "Cannot display (fileName) is of invalid format".
If i need to attach or show something please let me know.
Thank's
Guy
Hi,
I am new to coding web services and trying to connect to an API that returns its format in xml or json.
I have a class as follows.. when I run I get back a 6059 in my status - Unable to open TCP/IP socket to server
Can someone help me identify what I am missing? Thanks
Class Common.WebDownload Extends (%RegisteredObject, %XML.Adaptor) { ClassMethod Connect() { Set aa=##class(%Net.HttpRequest).%New() Set aa.Server="https://www.actualwebaddresshere.com" Set aa.Location="/service/actual location path and my API key here/" Set aa.ContentType="text/xml" set bb=aa
Hello!
Intersystems is a fascinating yet niche marketed. We are using it, but we struggle to find good developers to join us to work on Caché or Ensemble products.
Who is interested into joining us? the job will be in Geneva, Switzerland!
For more information, please drop me an email to: erika.stegagnini@ch.randstad.com or call me directly +41 58 2015408.
Thanks! Erika
Hi all, I'm running into an issue with the installation, it seems like almost everything is working alright but upon trying to actual access the Management Portal, the site cannot be reached. I've noticed that the terminal indicates that Sign-on is inhibited.
To add some context, I've installed Cache following the Unix instructions for MacOS (El Capitan). I can share the log or any other info that may be helpful. Here is some of the terminal output from the installation if it would prove at all helpful.
DC readers running Caché etc on Windows, configuring the Telnet service to use SSL/TLS, and using the Caché Telnet client (CTerm.exe) to make the Telnet connections may like to know that there's a fault in 2017.1 and 2017.1.1 which prevents CTerm.exe from establishing the secure connection.
Workaround is to use a pre-2017.1 kit to install on your client machines (e.g. 2016.2.2), or to fetch the bin\cconnect.dll from an earlier version (I used 2016.2.2) and use it as a replacement for the 2017.1 / 2017.1.1 copy.
I am trying to import the SalesForce Enterprise WSDL in InterSystems Ensemble Studio using the SOAP Add-In. However, when I do so I receive a class dependency loop, Error #5316 during compilation. The WSDL is the standard WSDL provided with SalesForce and works fine in SoapUI. In the SalesForce WSDL it is allowed for an object A to include an object B as an element, while at the same time object B is allowed object A as an element. I think this is what causes the class dependency loop for InterSystems. Does anyone has any suggestion how I can circumvent this error?
Hello -- Is there a way to load a JSON from a file.
I have a "JSON" file which has a sting 1035164 long with the following format:
[
{
"id": "12345",
"title": "John Smith",
"image_uri": "https://<some URL>",
"image_timestamp": "1496781334",
"image_url":"https://<some URL>",
"is_restricted_under_18_only": false,
"is_restricted_adult_only": false
},
.Hi Community!
This week we have two videos.
Please find the second Developer Community video of the week on InterSystems Developers YouTube:
I just installed Atelier, but when I tried to start it, I got the error "Java was started but returned exit code = 13". What's the issue here? How can I fix it?
Please see the screenshot below:-

Thanks,
Joyce
Good day, every process in my software is about to update 3 specific globals in row when the process is called to do some job. I need to guarantee that during updating of those globals with multiple processes there is only one process that is actually working with those globals. Moreover I need my globals unreadable if other process is in critical area.
Example:

(for example globals: ^data1, ^data2, ^data3 are critical area)
Should I use somehow function $LOCK() or there is another way how this can be done?
An installation or upgrade of Caché, Ensemble, or HealthShare on Windows could fail with the titled error if a newer version of the Microsoft Visual C++ Redistributable 2013 (x86) or (x64) is installed instead of version 12.0.30501.
If you encounter this error during an installation, you can get around it by uninstalling those versions of the redistributables in the Control Panel, then manually installing both x86 and x64 older versions directly from this link This problem has been corrected in maintenance kits 2016.1.4 and 2016.2.2 and all released 2017 versions by devchange ALE2949.
Hello Greetings-
I am exploring on converting HL7 to FHIR.
1. I saw there are built in DTLs “FHIR.FromSDA” and “FHIR.ToSDA” to convert SDA -> FHIR and FHIR -> SDA. Similarly Do Intersystems have DTLs for HL7 -> FHIR and FHIR -> HL7?
2. The reason why I am asking is, I see in HSLIB namespace HS->GateWay->HL7->HL7toSDA3 and HS->GateWay->SDA3->SDA3toHL7 DTLs. Like-wise I am trying to locate HL7 -> FHIR and FHIR -> HL7. Please help me to locate them
3. If there are no built-in DTLs for converting HL7 -> FHIR and FHIR -> HL7, what is the process to achieve this?
Thanks much in-advance.
Thanks,
Surya
How to we count no.of nodes in global.
There is method:
$System.OBJ.New( ClassName As %String = "" )
If class with name ClassName exists - everything is OK.
But, when class does not exist, there is error - <CLASS DOES NOT EXIST>
How can I check before calling $System.OBJ.New() if class witn name ClassName exists?
I am currently working on a issue with WRC on one of my Inbound SQL Adapters not returning all the records it should be. If I looked at the count of the records in Ensemble and compare it to that of a Microsoft SQL View, Ensemble seems to be off by a few records here and there. I am using a full dynamic select statement in my settings of the adapter.
Greetings!
I'm new to Zen reports and I'm wondering if what I'm trying to do is possible. I have a classmethod that accepts three parameters to generate an xml file from a global. I've set up my Report Definition to call the ClassMethod that generates the .xml file; however, I'm trying to figure out how to pass the parameters to that ClassMethod from the Report Definition. The example in the documentation shows parameter passing using SQL (which I'm not using), so I'm curious if this will work.
I'm trying to create asynchronous Ensemble service/operation pair for SOAP passthrough.
General configuration:
Is it a viable approach?
Any tips? Ideas? Caveats? Code?
Seems like I can sublass EnsLib.SOAP.GenericService and change Sync to ASync (and provide a default reply immediately).
I'm getting this error a lot in Atelier. These are not extremely large files, and I can't seem to find a magic line count or byte size that triggers the issue to occur.
I'm using the latest (I believe) version 1.0.262. Is there a setting that allows larger files to be parsed successfully within the editor?
Hi Guys,
We need to print html reports, in the server side, to a specific printer that is installed on the Cache Server , and using the Internet explorer that is installed on the Cache Server to do that .
Hi!
While i am trying to write a data i am getting a error as "<PROPERTY DOES NOT EXIST>zFile+15^User.zKQRest.1 *value,%Collection.ListOfObj" but there are values stored in it. How can i break it write it separately.
Hello everyone .
I am trying to update a setting of an operation directly via the code of a business operation.
Concretely, my customer want a counter for the number of calls to the operation and the possibility to redefine the point of this counter.
Hi,
I am new to Cache' MV but have extensive experience with other Pick flavors especially Unidata.
I need to determine the impact of adding several indexes to a large file with over 51,000,000 records.
On other systems, I could use FILE.STAT, ANALYZE.FILE and shell to the OS to determine how large the index file was.
None of those seem to be available in Cache' MV. Shelling to the OS just tells me the size of CACHE.DAT.
What is the best way to determine what the disk impact would be if I added an index (CREATE-INDEX) to a file?
TIA,
Steve
Hello,
I have a DB server (ser-app-db) where cache is installed as server.
I have a Web server (ser-app-w) where cache is installed as web server and configured as CSP gateway.
I followed the configuration guide (https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…) and ser-app-w perfectly display the CSP and CLS pages.
But that's not working for my REST service, for exemple with the REST sample:
http://ser-app-db/csp/samples/docserver/request(GET): work and show the request
http://ser-app-w/csp/samples/docserver/request(GET): return a 404.
Hi
1. Is it possible do define an index like that :
create index UIX on MyTable (Column1) where Column1 is not null
2. What happens if we add an index on a property that is NOT required, meanning that not all records will be indexed because we do not allow null subscripts ?
Good day,
I need to find out if it is possible somehow to receive actual linux TIMESTAMP for example with $NOW() or other functions.
I was trying to recalculate it with $NOW() function, but without success. I would like to simulate Redis TIME command in COS.
My tryings:
USER > set time = $NOW() USER > w (($PIECE(time,",",1)*86399) + $PIECE(time,",",2)) 5573319043.403186
But in Redis it is:
> time 1) 1502471158
On web page: http://try.redis.io/
type "time" + enter. And it will results as short documentation says: https://redis.io/commands/time
And this behavior I would like to implement in COS.
I have a list of %Library.ArrayOfObjects . Each of list elements has some properties. I have to sort list by one of its objects properties. Is there a predefined method to doing that? (quicksort maybe?)