test post
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.
The technology of load balancing between several servers with relatively low capacity has been a standard feature of Caché for quite a while. It is based on the distributed cache technology called ECP (Enterprise Cache Protocol). ECP provides a host of possibilities for horizontal scaling of an application, and yet keeping the project budget fairly low. Another apparent advantage of ECP network is the possibility to conceal its architecture in the depths of Caché configuration so that applications developed for the traditional (vertical) architecture can be fairly easily migrated to a horizontal ECP environment. The ease of this process is so mesmerizing, that you start wishing it was always this way. For instance, everybody is used to having a possibility to control Caché processes: the $Job system variable and associated classes/functions work magic in skilful hands. Stop, but now processes can end up being on different Caché servers…
This article is about how to gain as much transparency in controlling processes in ECP environment as in traditional (non ECP) one.
Is there any simple code in Cache using FHIR to understand the relationship between them? If so can anyone provide some example.
Hello,
I have a problem when i take the adapter: EnsLib.FTP.OutboundAdapter.
I want to write a file, but if the file already exist using the method ..Adapter.PutStream(name,file) and in my setting "overwrite" is true. FTP response me this message:
<descripcion><![CDATA[ERROR <Ens>ErrFTPPutFailed: FTP: error al colocar archivo '803430600001072790112416-19941214-1233287355C-347.pdf' (mensaje='Error in SFTP Put('D:\Ensemble\ABC\NAMEAPP\NAMEAPP_G\stream\HnhZ32Fb1WDatA.Introduction
If you manage multiple Caché instances across several servers, you may want to be able to execute arbitrary code from one Caché instance on another. System administrators and technical support specialists may also want to run arbitrary code on remote Caché servers. To address these needs, I have developed a special tool called RCE.
In this article, we will discuss what are the typical ways of solving similar tasks and how RCE (Remote Code Execution) can help.
Let's create a class in Caché that will represent a teacher registry of a
University:
The name of our class will be Professor. Let's create it on
university package. To do so, make sure that your Caché
is in the Air (the small cube in your System Tray should be blue) and
right-click it, then click the
Studio, as shown in Figure 4.
When Caché Studio opens, make sure that you
is in the USER namespace. Just go to the File menu, and select the
Change Namespace option. Choose the USER namespace and press
OK.
Hi All,how to configure Crystal reports in IIS7.
Hi All
In this article I will showcase one of my clients applications built in ZEN. It is what I need to replace with a new UI as ZEN is no longer being developed
This application has been created for a single client who has unique business requirements - hence the bespoke development based on Caché ZEN
It is:-
Since most of our customers moved to Cache 2015.1, I found some admins abused with CPUPct warnings (sometimes alerts) in console log without other signs of lacking CPU power.
Documentation states that:
| CPUPct | job_type | CPU usage (percent) by all processes of the listed job type in aggregate |
What does it really mean?
E.g., if total system CPU usage is 25%, and all running processes are of the same type (e.g, CSPSRV), would CPUPct be equal to 100%? If so, why this case should be a reason for alert?
Hello,
I have some code that reads an %XML.DataSet object that gets returned from a web service. I'd like to unit test this code by importing an XML data set from a test file. How can I do this?
I created the test file by calling WriteXML on the data set, and copying the output into the file:
I tried to import the file using the XML reader, but the resulting data set doesn't have any rows:
Is there any simple code in Cache using FHIR to understand the relationship between them? If so can anyone provide some example.
Hi All,
while i configure the shadowing.i got following error.
ERROR #1043: Shadowing is unavailable for current license |
Thanks,
Prabakaran A.
For those who are interested, or want to do something different with the cache language, I leave here two codes of animations.
They serve to run on the terminal while executing a routine, or a method.
To escape the monotony of seeing that static code in the terminal.
Hi,
I am new to Intersystems Cache. I have a requirement to replace $ZF("%ZSET_DIR","/hold/rsm") using Cache Class. Which class and which method i need to use
Thanks & Regards,
Sadagopan TS
hi all,
how to configure the crystal report in iis?
how to generate the crystal report via intersystem cache ?
info :
sap crystal report 2011
iis 6 and windows 3 server
cache 5.02
Thanks,
sansa.
My CSP app uses <IMG> to display images that are on a network drive mapped on my server. In addition to the virtual path that already exists for my CSP app, should I create another virtual path to the root of the images I want to display
DraftDraftDraftDraftDraftDraftDraftDraftDraftDraft
NewNewNewNewNewNewNewNewNewNewNew
How do I call an excel report class from another class and name the report from the call class in cache?
This is the Report Class:
/// ProjekCin.Cinema.report.report
Class ProjekCin.Cinema.report.OLSQL16REP Extends %ZEN.Report.reportPage
{
/// Class name of application this report belongs to.
Parameter APPLICATION = "ProjekCin.report.Browse";
/// Specifies the default display mode used for this report if
/// the URL parameter, <var>$MODE</var>, is not present.The first step when dealing with performance is the ability to measure it. In this article, we will show you a way to measure the performance of your CSP and/or ZEN applications. You will be able to answer questions such as: Which pages of my application are hit the most? or Which pages in my application are the slowest?
This code snippet uses GZIP to compress and decompress a file in the file system. Change default file paths to customize code to compress/decompress your files:
Class objectscript.GZIP Extends %RegisteredObject
{
classmethod test() {
//Export Global(s) uncompressed
set filename="C:\Temp\myglobal.xml"
do $System.OBJ.Export("^oddEXTR.gbl",filename)
//Open exported Globals
set uncompressed = ##class(%FileBinaryStream).%New()
set uncompressed.Filename=filename
Set compressed = "C:\temp\mycomglobal.xml"
//Open File Device over Gzip and Copy Uncompressed information to it
Open compressed:("WUNK":::/GZIP=1:/NOXY=1:/OBUFSIZE=32768):0
Use compressed
do uncompressed.OutputToDevice()
close compressed
//Create New File
set out = ##class(%FileBinaryStream).%New()
set out.Filename= "C:\Temp\decomp.xml"
//Open compressed File and save information uncompressed over gzip
Set file=##class(%File).%New(compressed)
Do file.Open("RUK:::/GZIP=1:/NOXY=1")
while ' file.AtEnd
{
set line = file.ReadLine()
do out.Write(line)
}
do out.%Save()
}
}
GitHub: https://github.com/intersystems-community/code-snippets/blob/master/src/cls/objectscript/GZIP.cls
hi ,
How to install and configure intersystem cache ODBC in CENTOS7 linux box.
Thanks,
sansa.
Exactly a year ago I posted this article about how it's possible to define mappings for packages, routines and globals in one place and have them apply to (almost) every namespace.
One of the internal changes in Cache 2016.2 is the switch from using Posix asynchronous IO on Linux platforms to native kernel asynchronous IO for improved performance. There is a kernel parameter that controls the maximum number of events that can be handled across the entire system and it is possible to hit this limit on newer versions of the Linux kernel when Cache is setting up disk IO structures in the WD or user processes. To prevent this from occurring we recommend that the kernel parameter