Greetings all,
Need to connect your VSCode to an InterSystems Server?
Heard of this option?
.png)
InterSystems Caché is a multi-model DBMS and application server. See more details here.
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 :
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,
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.OCX cannot return values to PLIST?
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:
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:
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. Maybe it is some odd Cache Studio registry corruption or some Cache system global
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.5")When we show the ER7 we observe:
INTE|1||Psa libre\X0A\ Indice psa
We have thought about the following solution, where mensajeXML is the XML representation of the ER7 shown:
set mensajeXML = $REPLACE(mensajeXML,"\X0A\",$CHAR(13))It would work only for the Line Feed case
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.Export to make an XML file and edited EXTENTSIZE in the two places it appears in the XML:
<StorageStrategy>SQLStorage</StorageStrategy>
<Parameter name="EXTENTSIZE"><Default>1001</Default></Parameter>
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?
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.
Currently, I am working on a CSP application that is supposed to generate reports. Users will have varying access to said reports. To achieve that, I plan to use LDAP (because it's used in other systems where those users already exist). Documentation does not provide enough information, so I'd like a clarification:Do I need to enable LDAP authentication for the whole Cache instance to use LDAP authentication in a single CSP application in that instance?We (as in me and my organization) use Cache Authentication for our instances, and one of the reasons to use LDAP for this system was to avoid
A while back I asked the developer community for a way to loop through repeatable HL7 segments and check them against a Data Lookup table within a Business Rule.
The example I got was the following...
Cache ODBC State S1000 Native Code 400 Illegal Value
This is my query:
select DateTijdSec from
GLPPatTcActie
where pnr = '27085070017' and LTestId->Makey='BLA' and VerzamelDatTijd < '2021-03-04-2021 09:04' and glpactieid->makey in ('TAV','TMA') order by DateTijdSec desc
Most likely there is a wrong date time in the table, how can i get the data?
PORTUGUESE
Olá a todos!
Estou com dificuldades de fazer meu select para retornar palavras que contém acentos.
Na minha tabela TESTE, por exemplo, tenho palavras no campo NOME como Fábio e Fabio, porém se eu coloco a instrução:
SELECT * FROM TESTE
WHERE nome LIKE 'FÁBIO'
a instrução só traz FÁBIO.
Como eu faço para trazer todas as palavras: FÁBIO, FABIO, FABÍO, FABIÓ, FÁBÍÓ, FÂBIO, etc...
Conto com sua ajuda!
March 23, 2021 – Alert: Potential Data Integrity Issue with Mirror Dejournaling
InterSystems has corrected a defect that can cause data inconsistency issues on non-primary mirror members in extremely rare circumstances. This defect affects all released versions of InterSystems products.
I started working with InterSystems Caché, however, I am in the Quality area. What is the best way to use the benefits of this tool?
Hi, I have a class that extend to other classes.
If I compile one of this classes, no problem is generated.
But if I try to compile the first class using flag c-ukb, all that extend from that and have the Date component generate an error.
The error is about the method %GetPaneContents from abstract class.
Do you already passed this? How can I solve my problem?