Today we have only 'Snippets' to classes:.png)
how i can custom this Snippets to show my labels or variables of atual routine?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Today we have only 'Snippets' to classes:.png)
how i can custom this Snippets to show my labels or variables of atual routine?
gj :: connect is a demonstration extension that shows how to extend the Intersystems Server Manager to perform custom actions.
It makes use of the context menu contribution points to add both in-line and right click menu options.
It also demonstrates how to create a new top level folder in your workspace corresponding to the server and namespace selected in Server Manager.
You may think it isn’t too difficult to get from label+offset^routine to the actual source line responsible for the error. For an expert it isn't that hard... most of the time. But there are enough oddities and special rules that even an expert can get it wrong, whilst spending a lot of time trying to get there.
gj :: locate is the latest tool from George James Software – it debugs any error, class or routine by converting the location of an error in compiled .int code to the corresponding location in your source, and then taking you right there.
Image this scenario…
I checked out a Git-Branch and want to Import all Objectscript-Objects to my localhost.
While using Import without Compilation I receive a lot of errors.
request to http://127.0.0.1:57772/api/atelier/v3/TSTCBW/doc/MusLT01LCOD.int?ignore… failed, reason: connect ECONNREFUSED 127.0.0.1:57772
While using Import and Compile I receive much more of this errors.
Is there a setting, that I have to key in?
Or how can I synchronize my namespace to test my changes?
hi,
I have redhat 8.3, after installation Cache and everything looks good , when i stop the DB by /usr/cachesys/cstop i get :
Apr 18 16:10:22 opticanan Cache(CACHE)[115418]: Cannot remove database lock /cav/mln/cache.lck: Delete failed
Apr 18 16:10:22 opticanan Cache(CACHE)[115418]: Cannot remove database lock /cav/w/mlnw/cache.lck: Delete failed
Apr 18 16:10:22 opticanan Cache(CACHE)[115418]: Cannot remove database lock /cav/w/mgrw/cache.lck: Delete failed
Apr 18 16:10:27 opticanan Cache(CACHE)[115418]: Unable to open database lock /usr/cachesys/mgr/fdbms/cache.
Hi all,
I need some help in studio.
Is there a way to create a variable to determine if it is in the test or live environment?
Thanks
Adrian
If you work with Portal on multiple instances of Caché, Ensemble or HealthShare you might find it useful to set the System Mode of the various instances, so as to give yourself a visual reminder of the role of the one you're currently working on.
For instance:

Greetings all,
Need to connect your VSCode to an InterSystems Server?
Heard of this option?
.png)
Hello everyone,
First, thanks in advance for your help :-)
I noticed that a query called directly in a method of a class of a business operation does not return the same result as if I apply the same query in the same Caché database from Squirrel !!!
I don't understand why ???
Here is the query :
FROM Ens.MessageHeader Header
INNER JOIN EnsLib_HL7.Message MsgBody on Header.MessageBodyId = MsgBody.ID AND MsgBody.TimeCreated >= '2021-04-12 00:00:00' AND MsgBody.
I have a CSP page that is supposed to show some user info (Full name and some other properties retrieved from AD)
I am unable to get them outside of %SYS namespace using Security.Users class. Is there another mechanism to do that, or I am using Security.Users class incorrectly?
Hello,
fine tuning access permissions is a difficult issue in Caché, at least for me as it seems. More generally, I would be interested in how to find out which permission a user is missing when a permission violation is logged. In this specific case a user, created in (from my point of view) an identical way as on other instances, is not allowed to execute an operation within a CSP service on the messagebank (which however works on the other machines). Unfortunately, the message in the errorlog does not tell where exactly the access violation occurs, or what permission is missing.
Hello Everyone
I use VB.NET to dev. some program for query data
Code in VB like this
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
AxVisM1.MServer = "CN_IPTCP:myserver[1972]"
AxVisM1.NameSpace = "LABDATA"
AxVisM1.Code = "s err="""",err=$$select^LVBEPVIS(""" & ln & """)"
AxVisM1.Execute(AxVisM1.Code)
tmptxt = AxVisM1.PLIST.ToString
messagebox.show(tmptxt)
but it show only 
and then i try to run same command in Cterm. it show

Could you suggest What wrong ? and Why VISM.
Anyone hs encountered this?
04/13/21-07:21:28:522 (191540) 0 ECP: Lost net connection: Error 104=(Connection reset by peer)
04/13/21-07:21:28:522 (191540) 1 ECP: connection from 'ECP1:HIS-AAA4:CACHE' dropped (1.1.1.1:14400)
04/13/21-07:21:28:672 (198470) 0 ECP: Mirror Connection request from 'ECP1:HIS-AAA:CACHE' (1.1.1.1:14419)
Hi, in the end I want a report like this:
| Schema | TableName | RowCount |
| SYSTEM | RADplus_event_log | 18,251,308 |
| DocM | log_image_transfer | 7,196,272 |
| SYSTEM | RADplus_audit_database_tables | 3,345,757 |
| … | ||
| SYSTEM | view_summary_mvmt | 0 |
In my case I have about 1,230 tables/views in the database. The initial approached I've used is to use this SQL to generate SQL to make the actual measures:
SELECT
string('select ''', table_schema ,''' as "Schema", ''', table_name,''' as TableName, COUNT(*) as RowCount from ' , table_schema,'.
Ever noticed that the Type column of the Web Applications page in the Security section of Management Portal is showing you redundant information?
.png)
anyone know of a simple way to search a blob of text from a list of keywords in one fell swoop, without having to iterate through each keyword and perform an individual search? Ex.
s keywords="This,blob,text"
s text = "This is a sample blob of text"
i text[keywords w "hit"
We have a Unicode installation of Cache'. A client wants to send us documents that will be machine-read and loaded, automatically. They want to create the documents in ISO-8859-1 ("Latin-1"). We'd need to convert the text to UTF8 for our system. I saw the documentation on the $ZCONVERT function, but I didn't see this option. How should it be done?
Thanks!
Hey community,
I want to create my own table resizer. I know that there are some plugins that are doing exactly this but I would like to create my own one. :)
I have created a function, which is called in the onloadHandler and which append a div to each th-element of a given table. The method looks like this:
function initializeTableFeatures(){
jQuery.each($("#table > table > thead > tr > th"), function() {
if(this.id !== ""){
var div = createDiv($(this).outerHeight());
$(this).append($(div));
$(this).
In Studio you could open a class directly via it's name, without having to traverse the package tree with multiple clicks until arriving at the desired class.
You would Ctrl + O or (File -> Open) and be able to simply type in the class name, for example:
.png)
You press Enter, and viola - the class is opened.
How do you achieve this in VSCode?
Has anyone tried to install cache on an external flash drive?
I have multiple projects that I utilize when debugging in Cache Studio. One of my projects suddenly lost the ability to step through commands with the yellow box and the cursor moving though code lines. The cursor just sits at the entry line while variables apparently do change. Interestingly enough, if I change the project and the debug target, the "yellow box" ability is still there. Apparently losing this functionality is by project/debug target/whatever. The goal is, of course to return it back but how?
P.S.
Hello,
First of all thanks for your time to read and reply,
We would need some help,
We have an ORM_O01 which has a NTE.3 with a Line Feed
Our Process converts the XML to ER7 using the ITB as follows:
set context.mensajeHL7 = ##class(ITB.HL7.Util.Convert).XMLToER7(hl7,.tSC,"2.I usually save the path in database like "C:\folder\picture.png", but now i want to save the photo in Iris or Caché database? Which way is better to recover the image and to maintain the original quality?
Hi!
I need to export some data from a table on CACHE and then import this data to a POSTGRESQL table.
Is this possible? I know I can export this data as a CSV format, but I prefer if there is a way to export that data as SQL format.
Thanks!!!
Want to perform SNMP performance monitoring of cache2010 on AIX 5.3. Since the SNMP service that comes with AIX does not support agentX, it cannot extend the support for cache database. Therefore, I plan to deploy net-snmp on AIX first, then enable agentX, and finally configure cache's subagent. Is this workable? Any documents? Thx!
Background: We have our own SQL map that predates InterSystems'. A program writes an XML file for each table map class as $system.OBJ.Export would. $system.OBJ.LoadDir loads the XML files into .cls files.
The reason is a long story, but we need to update parameter EXTENTSIZE (only) in existing classes. This does not seem to happen. As a test I used $system.OBJ.
InterSystems states that Caché supports at least three data models – relational, object and hierarchical (globals). On can work with data presented in relational model in a program written on C# the same way one works with any other relational DB. To work with data presented by object model in C# one needs to use .NET Managed Provider or some kind or ORM. And starting with version 2012.2 one can work directly with globals (or use direct access to hierarchical data) via Caché eXTreme for .NET.
This small tutorial described how to „register“ the ADO.NET Database Provider (Driver) for InterSystems IRIS and InterSystems Caché on a Windows machine.
Before we start: Why need the ADO.NET Database Provider to be registered?
ADO.NET provides factory classes standardize the way programmer will create a provider-specific Connection. This simplifies the way programmers create provider specific instances in a generic data access API. Details about that can be found here: https://docs.microsoft.
Hi,
I'm doing a query in SQL and I need to sort my data by some non-repeated field.
Unfortunately, my data is grouped in a way that I cannot guarantee that any column will not have repeated data, so one solution would be to take the row number.
Also, the Cache is not accepting Row_Number () in my querry and I would like to know if there is another solution to return line numbers or some way to add this function to the Cache.
Best regards.
Three new sets of maintenance releases are now available:
Installation kits and containers can be downloaded from the WRC Software Distribution site.
These are maintenance releases with many updates across a wide variety of areas.