Hi!
I'm running a unit test via terminal, and sometimes someone from another team/squad add a few BREAKs and my tests stop until I skip one by one.
Is there a way to ignore BREAKs?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi!
I'm running a unit test via terminal, and sometimes someone from another team/squad add a few BREAKs and my tests stop until I skip one by one.
Is there a way to ignore BREAKs?
Hi,
in our system we usually display an information if someone locks data that another user tries to edit. Like: "Data locked by <user>/<program>"
We have a global that is set at userlogin with following information:
^BA020(0,3,$job) = "<user>;<program>"
We show that information by getting the jobnr/owner from the locktable ^$LOCK("<ref>","OWNER") and looking at ^BA020.
We recently added applicationservers to our system and the result is quite interesting. Instead of getting the jobnr from ^$LOCK when it's a remotelock I only get the name of the applicationserver e.g. APPAIXVK3.
Hi,
I have two versions of Cache running on two separated servers. In one server, the version is 2018.1, and have the web application 'api/atelier', and the other server the version is 2016.1.
The question is, can I export the web application 'api/atelier' from 2018.1 and import/install it on 2016.1 version?
Thanks!
When creating a PRA (Privileged Routine Application; which by the way is not relevant just for Routines but also for Classes/Methods), it is important to make sure you include a new $ROLES, before calling AddRoles(). For example:
new $ROLES
set status=$System.Security.AddRoles("MyPrivilegedRoutineApplication")This way you ensure that indeed the added (elevated) roles "evaporate" for the User running this code, once the User is out of the scope of that routine/method.
[Thank you @Andreas Dieckow for validating this]
Hello!
Not opening an instance by index key after CACHE migration to IRIS. In composite indices, when one of the values is null, when using idx open it does not return the reference.
Has anyone had this problem?
According to the IRIS documentation, once a user id is identified, at lease one license will remain (forever if I understand it correcly). The documentation says "even if the number of processes under the user ID drops back under the maximum, InterSystems IRIS continues to allocate one license unit per process for that user ID. Only when all connections by the user ID are closed and there are no more processes under the user ID does license allocation reset to one unit for that user ID."
Our organization has a lot of IP addresses.
I have a module that sends EMAIL from a Cache INT routine (listed below).
In order to make sure the columns align in the body of the message that the recipient receives I want to force the setting of the FONT and SIZE in the body.
Does anyone know what I need to insert in this code in order to control font and size?
Alternatively is there a way to send mail from within Cache that will keep column data aligned?
Thanks.
________________________________________________________
s server=##class(%Net.SMTP).%New()
s server.smtpserver=server_name
s server.post=nn
s msg=##class(%Net.MailMessage)).%New()
s msg.
Hello Developers.
I have a question regarding X12 834 file for Payers.
We have a client thats sending X12 834 file with single ST SE block and has thousands of members in one single block and X12 process is throwing STORE error when processing this file.
Has anyone ran into this issue and has a way of splitting 834 file into single <ST> <SE> block?
Thank you in advance
Sheetal
Hi!
I'm trying to install a ZPM package in my 2018 cache to use swagger-ui in my api-rest, but when I execute command line:
Do $System.OBJ.Load("/mypath/zpm.xml","ck")
I receive this error message:
ERRO #6301: Erro no Parser XML SAX: Linha: 2 Deslocamento: 39 Este arquivo não parece ter sido exportado pelo Caché, não é possível importá-lo.
ELEMENTO DE ORIGEM: %ZEN.Component.html (htmlContent)
I'm trying to install the version: zpm-0.5.1
Can anyone help me?
Class CarDealer.Order Extends (%Persistent, %Populate)
{
Property Title As %String
Property Status As %String(VALUELIST = ",InProgress,Done,Canceled");
Trigger setStatus [ Event = INSERT, Foreach = row/object, Time = AFTER ]
{
&sql(update CarDealer.Order set Status = 'InProgress')
}
Hello, first of all thanks for your time and help.
We do send from a REST POST request using SoapUI software, an "Authorization Bearer".
POST http://[IP]:[Port]/aplicaciones/scs/informescctest/Servicios.SOAP.InformesCConcertadosv01r00.cls HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/xml
Authorization: Bearer eyJ0e[...]
SOAPAction: http://SCS.Servicios/InformesCConcertadosv01r00/ResultadosER7
Content-Length: 1871
Host: AAA
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Hi guys.
I need validate a field string in a table. It needs have a specific mask
I want use regex + CASE expression
There is any function to this purpose in SQL?
Hi
I have two tables: one a local table using cache and the other is via an SQL gateway connection to an MSSQL Server via a 64bit ODBC driver (ODBC Driver 17 for SQL Server).
When I try to join them on a date field I don't get any matches, and I know that there are matches, e.g. running both views separately returns resuls for 30/11/2022.
The following statement returns rows for the first table r, but nothing for the table l
select r.*, l.*
from GMMHTIE_PCMIS_Table_PCMIS.vwPCMISNewCasesCount r
left outer join GMMHTIE_PCMIS_Table_Local.vwPCMISNewCasesCount l
on l.This set of tools (RanRead, RanWrite, and the combined RanIO) is used to generate random read and write events within a database (or pair of databases) to test the IO speed of IRIS running on a specified hardware setup. While Read operations can be measured in the usual Input/Output operations per second (IOPS) since they're direct disk reads, write events are sent to the database and thus their physical writes are managed by IRIS's write daemon.
Results gathered from the IO tests will vary from configuration to configuration based on the IO sub-system. Before running these tests, ensure corresponding operating system and storage level monitoring are configured to capture IO performance metrics for later analysis. The suggested method is by running the System Performance tool that comes bundled within IRIS. Please note that this is an update to a previous release, which can be found here.
Hi everybody!
I'm new to a Caché world and need some help! Where I work we are running Cache 2016.1 version in a server, and 2018.1 in another server. I want to upgrade the version 2016.1 to 2018.1, but I fear it can raise some errors tha I cant resolve yet. My doubt is, if I upgrade it will run ok?
Thanks in advance!
Hello
I need to enable %Service_Terminal with shell script:
1) Enable %Service_Terminal
2) Enable delegate authentication on this Service
How?
Hi,
We have 2 writer threads, each has a connection to Cache. When write records to Cache, we use PreparedStatement.executeBatch() with the batchSize 10 000.
We got very very slow insert speed.
But if only 1 writer thread used, the speed is faster, just as normal.
Any idea?
Hello everybody,
I have 15 years of experience in InterSystems Caché, Ensemble and IRIS and I am looking for opportunities to work as a remote freelancer.
I worked on large projects in Brazil in several segments as a developer and as an Interoperability architect.
My contact: fabio2wf@gmail.com
Thanks
Hello everyone,
I have a doubt, its possible to use interface like C# using COS?
Remember, interface is different from Abstract Class, because a abstract class can implement code in the method, so I don't want this, I want only define the methods from Class, not allowing implement code.
Description of C# interface: An interface defines a contract. Any
classorstructthat implements that contract must provide an implementation of the members defined in the interface. Beginning with C# 8.0, an interface may define a default implementation for members.
Hi,
I
want to get the values from a serial property because my code depends upon the class serial class.
For example
Serial class
Class Data.Serial Extends %SerialObject
{
Property FirstName as %String;
Property LastName as %String;
}
Persistent class
Class Data.Persistent Extends %Persistent
{
Property MPID as %Integer;
Property Name as Name.Serial;
}
Now i need save MPID and Name(Serial class property into SQL Table ) so i am trying the below class
Class Data.TestUtil Extends
{
Method Savedata(MPID,FirstName,LastName)
{
Set tSC=0
Set Obj=##Class(Data.Persistent).%New()
Set Obj.MPID=MPID
Set Obj.
Hello,
I'm currently struggeling with a HTTP request to a URL, which contains an jpeg image file.
Testing the request with a browser or Postman results in the image being shown normally.
Using a %Net.HttpRequest with different configurations has resulted in a corrupted file.
My code works for some URLs from other servers perfectly fine, but with some it produces corrupted file contents which do not represent a jpeg.
Set REQ=##class(%Net.HttpRequest).%New()
Set REQ.Server="www.distrelec.de"
set REQ.SSLConfiguration="agimero.quwiki.de"
SET REQ.FollowRedirect=1
SET REQ.
I'm pleased to announce a milestone in the lifecycle of the ObjectScript package manager, ZPM. The package manager has offered developers the ability to neatly package up ObjectScript code and deployment configuration settings and version information in a convenient way. Over the last few years, it has evolved greatly into an integral part of many development workflows.
I am trying to work with Java Selenium through Cache my java programme works fine but I would like to pass parameters to the jar file form my Ensemble production. I followed this Tutorial here, For starters I wanted to copy it as it is and run that as an example but the (Stateless Service Mode Example) is not working within my eclipse environment with errors on the com.intersys. complaining about the service class.
want to use IIS as a web server and has configured both IIS & CSP Gateway unfortunately getting this error message .
Hi,
when I using ObjectScript Trigger Code , I want to get whether the fields has changed by using "{fieldName*C}" , actually, fieldName in "{fieldName*C}" is a real field name ,but in my code, fieldName is a variable as follows:
SET stat=##class(%SYSTEM.SQL).GetColumns(tableName,.byname,.bynum,1)
IF stat=1{
SET i=1
WHILE $d(bynum(i)){
SET xColName=bynum(i)
SET valComp={xColName*C}
IF valComp=1{
SET oldVal=1 //{xColName*O}
SET newVal=2 //{xColName*N}
&sql(INSERT INTO Yan.Hi developers!
As a follow-up to my previous post on the Node.js Native API, I created a quick poll because it may be interesting to see what technologies developers are using in their applications around the world with IRIS & Caché. I put a poll below, just check all boxes you have used or plan to use with InterSystems technology.
Thank you all for your cooperation!
Hi
Can anyone explain how to display custom icons in a TablePane?
Andy
Recently there was an internal email thread on which SMTP server to use in demos. I thought I'd share the comments from that thread:
Person 2: I use https://www.hmailserver.com
Person 3: I, too, use hMailServer as a local SMTP server on my demo VMs, with a mail client (usually Outlook) also on the VM. So no need to connect out to an SMTP server on the Internet.
Hi Community,
I am working on sending Gmail with error details when any errors occurs in the ensemble production.
I am facing the below issues while doing it
1.I have Ens.Alert (Business process) using the class Ens.Alerting.AlertManager and Emailoperation (Business operation) using the class EnsLib.EMail.AlertOperation. here my business process is not sending the Alarm request to business operation eventhough i am using rule to connect the business operation
2.What are SMTP server details needs to given for Gmail?
Please let me know how to resolve these issues
Thanks,
Smythee
Hi Team,
How InterSystems cache calculate the license count based on process?
How to we determine the product required license count ?
Thanks
Rathinakumar