Is there a way to use linked tables between 2 discrete Cache databases or is linked tables just for access to an external RDBMS?
David
Is there a way to use linked tables between 2 discrete Cache databases or is linked tables just for access to an external RDBMS?
David
Hello, our Team is trying to develop Ensemble DTL to transform incoming X12 files into persistent data records.We created a persistent class and we can insert data using SQL.We tried to verify that %Save() gets called by adding %AddToSaveSet() method to persistent class and there writing to a global.We had to extend our persistent class with Ens.VDoc.Interface class or we could not see %Save() being called from Ensemble DTL.We suspect that %Save() gets some kind of error.We tried to debug by overwriting Transform() method in our DTL class.
All,
Recently, a Cache 2017.2.2 system started printing “28” rather than clearing the screen when doing a “W #” in programmer mode.
Does anyone have any idea how this could happen?
This should clear the screen, but doesn't:
XXXX:YYYY>W #
28
I would like to know how to choose the "Development" installation type in silent mode.
When performing a normal installation:
Please review the installation options:
------------------------------------------------------------------
Instance name: CACHE
Destination directory: /cache
Cache version to install: 2015.2.1.705.0.17420
Installation type: Development
When I perform a silent install:
Please review the installation options:
------------------------------------------------------------------
Instance name: CACHE
Destination directory: /cache
Cache version to install: 2015.2.1.705.0.17420
Installation
Hi,
I ran the Cache ODBC Driver installer as Administrator on my Windows 7 PC this morning. It completed successfully with o indication of any issues. When I check installed programs and features via Win 7 Control Panel, I see it listed as Intersystems ODBC Driver 1.00.000.
However, when I try to configure the driver via Control Panel - Administrative Tools - Data Sources (ODBC), I cannot find it. The only driver listed under the Drivers Tab is SQL Server.
I am not sure how to proceed.
I appreciate any suggestions.
Thanks,
Bill
In our language we have scandic letters like ä (a with two dots on it).
In Angular we use login like this:
let headers = new Headers();
password = Base64.fromBase64(password);
headers.append('Authorization', 'Basic ' + Base64.encode(username + ':' + password));
let options = new RequestOptions({ headers: headers, withCredentials: true });
return this._http.get(_param.baseUrl + this._loginUrl, options)
.map((res: Response) => {
It works, but not with these letters.
In other cases we convert data on server side like
set:tValue'="" tValue=$ZCONVERT(tValue,"I","UTF8")
but in this case we can't do this on
Hi All,
I need some help with sending PDF files to printer using cache instead of using third party tools(Adobe, foxit reader, etc..).
Sometime i getting access issue with the exe files.
Can able to send text data to printer using below code.
Set Dev="|PRN|PrinterName"
OPEN Dev:(/DATATYPE="TEXT"):80
USE Dev Write "Test printing",!
CLOSE Dev
Any suggestions on sending PDF to printer?
Method1(){
Set OID1=##class(Table).%OpenId(100)
// do Kill OID
}
&SQL(Update Table Set Column=88)
Method2(){
Set OID2=##class(Table).%OpenId(100)
// Or do %Reload()
Set OID.Column=99
Do OID.%Save()
}
// Column 1 still holds value as 1
For getting the updated value I should do Kill OID in Method1
Hi,
private _loginUrl =
My administrator was wondering where %SYS/ZAUTHENICATE.mac is stored?
He preforms a nightly backup, and would like to include the custom ZAUTHENTICATE.mac that was written for our Delegated/LDAP configuration.
Thanks
Scott Roth
The Ohio State University Wexner Medical Center
It's well-known that namespace global mapping helps us to write code independent on database storage details (Caché instance name, directory path). But sometimes we can face problems accessing an unsubscripted global which has subscript level mapping (SLM) defined. Most of such cases are evident and associated with administrative tasks that should be done on database level, but some of them can confuse even an experienced developer. Just to start:
Maybe you can continue this list.
Each of these
Google Cloud Platform (GCP) provides a feature rich environment for Infrastructure-as-a-Service (IaaS) as a cloud offering fully capable of supporting all of InterSystems products including the latest InterSystems IRIS Data Platform. Care must be taken, as with any platform or deployment model, to ensure all aspects of an environment are considered such as performance, availability, operations, and management procedures. Specifics of each of those areas will be covered in this article.
October 12, 2018 – Advisory: VMWare vSphere and Data Integrity
Clients running vSphere 5.5 or later should review a very important article that VMware published on October 9, 2018. The article describes the possibility of file system and database corruption, which can lead to outages and possible data loss. We have confirmed that this has caused data integrity problems for InterSystems clients. Therefore, we encourage you to act on this as soon as possible.
The VMWare knowledge base article is titled:
Virtual Machines running on an SEsparse snaposhot may report guest data inconsistencies
Hello,
I'm wondering what the path is to learning healthshare & ensemble? I've looked on the learning page and its minimally helpful. I've found that as a long time mumps programmer that new jobs are requiring this. I've just been using mumps to assist with epic emr. Everything I'm seeing is either VistA or Healthshare. Does someone know where do I go to learn these apps? Seems like a catch 22. You need to know these prior to getting a job but you can't get a job where you can learn them. Frustrating.
October 12, 2018 – Alert: Ordering of XML Sibling Elements
InterSystems has corrected a defect that can cause a reordering of sibling elements in an XML document. This issue is limited to sibling elements that are represented in the database as objects in a relationship.
This problem exists on all platforms for the following products:
Note: HealthShare functionality has been reviewed and is not impacted by this
Is there any out of the box capability in Ensmeble to remove an FHS segment from a batch file? We have a client that is creating a batch of HL7 messages and they insert an FHS but there is no trailing FTS.
We are hoping to avoid custom COS code to handle this scenario.
Dear community,
we are a company located in central Germany working with Intersystems Caché since 2003 (Jesus, that's actually a long time in IT).
As we struggle to keep pace with outside development we still operate on Caché 2013.1 ![]()
We are, of course, aware that we need to upgrade Caché and therefor plan an upgrade to 2017.2.
Now my question to you bold ObjectScript warriors:
Hi,
I am trying to have the output of a field in sql have double quotes around them. The script is in Studio and I am accessing It through a task.
I have tried """"tect"""" and others...Please help
Aloha
Lou
I need to record all incoming email into data classes.
After asking around , no-one has come up with an answer, I have confirmed that is is being done.
The application is in the cloud and the customer exchange server is in house.
Is their a way to (setup) automate the removal of users accounts from the system once they have logged out of cache and than recreate them once they log in, so basically the user list only contains live logged in users plus some of the default user accounts.
Hi,
Can we create a new class in the studio using any command rather then using the Menu Item Option from Menu Bar in Studio .
Requirement : Create/Draft a new class and able to extends the other classes using a command in Cache Class .
In other words , I want to Dig in the Menu Item class from which Menu bar is created in studio and option are provided Like New..., Open..., etc
Thanks,
Ravi
I'm running this code in our application, and in the terminal:
>set query="SELECT * FROM PMG_Data_Private.RemitInstance WHERE (VoucherNumber %INLIST ? SIZE ((10)))"
>set tRS = ##class(%ResultSet).%New("%DynamicQuery:SQL")
>set ok=tRS.Prepare(query)
>d $system.Status.DisplayError(ok)
ERROR #5540: SQLCODE: -76 Message: Cardinality mismatch between the SELECT-list and INTO-list
SQLTEXT: SELECT * FROM PMG_Data_Private.RemitInstance WHERE (VoucherNumber %INLIST ? SIZE ((10)))
It's not really a problem with the query, since there's no INTO keyword int he query, and I'm not getting it on QA or a
Hi!
We would like to retry message so that it's restored to end of operation's queue. This is in situation where order of messages is not needed to be handled by Ensemble, there is version number in message data and receiving application can ignore incoming message if necessary.
We would try to send message until it's accepted (or manually suspended), but this should not block operation's queue.
We have already this in actions:
D - Disable the Operation, log an error and restore the message to the front of the Operation's queue.
Would be nice to have one like this:
Q - Disable the Operation, log an
Hi all,By using LDAP cache method ##Class(%SYS.LDAP).GetValuesLen(LD,CurrentEntry,Attribute) we get the list of attributes but in "ObjectSid" attribute have the SID in binary format(objectSid^U¤:c@ãºþÕLCP]). how to convert to the readable format from the binary format in cache side. Please help us to proceed further
Hi Community!
I want to share with you my impressions of Global Summit 2018.
It was my first time in the USA and my first Global Summit. And I can say that it was really amazing trip and a great experience!

I have been building Business Processes in Ensemble for a few months and in a process i'd use a combination of data from the request that started the process and context variables that where filled by earlier calls in the process as input for a data transformation. I do not know how to achieve that.
What I do currently is that in my process I first call a data transformation and then make a call to an operation.For the data transformation I use as input the request that started the business process and as output the request that I will use to initiate the call to the operation.
Hi, Community!
I'm pleased to announce that InterSystems Open Exchange is now operating and available for everyone!
This code snippet provides a ZEN page that downloads a stream from its database directly:
/// We assume that you have stored your data within this schema:
/// MyApp.Model.Storage: Filename,FileSize,Content,ContentType
Class zen.downloadStream Extends (%ZEN.Component.page,%CSP.StreamServer)
{
/// Wrapper to get the id of the download, we assume that the id is passed to this zen page
/// as a URI parameter, i.e.: MyApp.Downloads.cls?OID=1234
ClassMethod GetId()
{
Quit $Get(%request.Data("OID",1))
}
/// Set the appropriate header for the file.
ClassMethod OnPreHTTP() As %Boolean
{
Set tId = ..GetId()
If ##Class(MyApp.Model.Storage).%ExistsId(tId) {
Set tStream = ##Class(MyApp.Model.Storage).%OpenId(tId)
// You could "guess" the content type by its file extension
// or you can store it (before) in the database separately (like in this example).
// Set Extension = $Piece(tStream.Filename,".",$Length(tStream.Filename,"."))
// Set ContentType = ..FileClassify(Extension)
Set %response.ContentType = tStream.ContentType
Do %response.SetHeader("content-disposition","attachment; filename="_tStream.Filename)
Do %response.SetHeader("Content-Length",tStream.FileSize)
}
Else {
Set %response.Status="404 File Not Found"
Quit 0
}
Quit $$$OK
}
ClassMethod OnPage() As %Status
{
Set Download = ##Class(MyApp.Model.Storage).%OpenId(..GetId())
Do Download.Content.OutputToDevice()
Quit $$$OK
}
}
Link to code on GitHub
Hi, Community!
Just came back from Global Summit 2018 and want to share my impressions.
Key highlights of my choice:
1. The announcement of a new InterSystem Data Platform: InterSystems IRIS for Health!
2. Community and Express licensing for InterSystems IRIS
3. The Launch of InterSystems Open Exchange - the gallery of InterSystems Solutions, Tools, Technology examples, Adapters, and Interfaces! E.g. test coverage tool and Ethereum Blockchain Adapter

Hello!
Is it possible to use Cache Studio on a Linux operating system? Maybe there are similar tools for Linux?