InterSystems Caché is a multi-model DBMS and application server. See more details here.
Embedded SQL is a tool that allows us to execute SQL statements in Caché Object Script. For example, to select the name of a person with a particular SSN from the Sample.Person class
&SQL(
Select Name into :tName
From Sample.Person
Where SSN = :tSSN
)
The colon syntax is used to identify local variables, in this case tName and tSSN. &SQL indicates to our compiler that this is SQL syntax. At compile time, this statement will be optimized to executable Object Script code. More about this syntax can be found here.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?
Good morning, I am using a <Image/> tag, in a <Tab/> tag, of a <TabGroup/> to render a tif image. I would like the tif file to be rendered full size. However, I have not been able to achieve this using the height="100%" and width="100%" parameters available. All I get is an envelope with scroll bars, with perhaps a quarter of the image visible at any one time. Thank you in advance for any and all feedback.
Hi All,
How to export the cache user account in cache 5.02?
How to import the cache user account in cache 12?
Thanks,
Sansa.
Disclaimer: This is not a how to guide and I personally do not do any of the following unless its for penetration testing. It's important to think like a hacker in order to beat them at their own game.
To start off click on this google search link (its safe)...
https://www.google.co.uk/search?q=cache+error+page&oq=cache+error+page&….
I was looking at the OrefToArray^%occRun in the %CSP.ErrorLog page in version 2016. However, we're on version 2014, and that method does not seem to exist yet. I would love a good way to swizzle out the info in the %request, %session, %response objects for the error log for my own error page, in version 2014. I don't want to have to go through and get all the properties manually, but I will if I must. Any other good way already written?
Thanks,
Laura
Question
What version of Caché supports TLS v1.2?
Answer
Caché uses the openssl library for SSL/TLS support. On Windows, Linux and Unix, a version of this library is included with the install kit. Caché 2014.1.3 and 2015.1.0 ship with the openssl 1.0.1j library. TLS v1.1 and v1.2 support is first available in openssl version 1.0.1, so Caché 2014.1.3 and 2015.1.0 are the first versions to allow the use of TLS v1.1 and v1.2.
On these versions, if the "TLS v1" checkbox is checked in an SSL/TLS configuration, the system will use any of TLS v1.0, v1.1 and v1.2 .
Overview
The The System Monitor Dashboard project is, most generally, an open source extension to the Cache System Monitor.
More specifically, it allows users to customize the monitoring of a Cache environment as well as how the collected data is visualized.
Goals
- Displays important system state and historical information in an accessible and useful way.
- To provide an intuitive and complete API for users to tailor the Cache System monitoring to their specific needs.
NewBie's Corner Session 10, Subject: Routines and Studio
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
InterSystems Caché provides a GUI (Graphical User Interface) based Integrated Development Environment (IDE) called Caché Studio. Developers can use Studio to create and maintain applications.
InterSystems has a new IDE called Atelier but that is for later.
A Routine is the name that Caché calls computer programs. A Routine consists of a number of lines of instructions to the computer; these instructions are called code.
The following code snippet contains a class method "test" that determines the value of a specified property for an instance of its class:
/// get property value within class by indirection
Class objectscript.getPropOfThisClass Extends %RegisteredObject
{
// extra code to help test
Property myProp as %Integer;
// need to instantiate an object to access property value
method test() {
// extra code to help test
set .
Hi all,
In Cache 5.02 while creating user the password was encrypted.
how to decrypt the password in cache 5.02?
We upgrade the cache 5.02 to cache 2016 ,But the user accuonut are not updated in cache 16.
We have created user acconut in login global in "%SYS" namespace .But the password are encrypt.
Thanks,
sansa.
Hi,
I would like to know if there is any code to compare and update two directories/namespaces for class files.
If file is present in directory1 and not present in diectory2, it should import the classfile.
If file is not present in directory1 and it is present in directory2, the corresponding file should be deleted from directory2.
Please suggest code for the task.
Thanks,
Arpitha R
In Oracle sql Developer, you can still listing the records in a desk the use of the statistics tab when viewing a desk. there where can add, delete, edit or just viewing facts of desk currently viewd
the trouble is that we regularly actually need to view a couple of table immediately, then we want more than one tab opened, issue that i dont recognise how to do that, any sugestion. tq earlier
In this article I will show you how to build Universal JavaScript applications using Caché (sharing your code across front- and back-end). But before we start writing code, I'll first give you some reasons and background why you should consider building your applications using this technology.
As I described in an earlier article on my CODE development blog, applications need to run these days on all kinds of devices and operating systems with different form factors and application development requires a new strategy. One can't keep using platform specific development tools anymore.
Hi,
I try to programmatically create a parameter for a dataCombo ZEN Component (which is in turn created on the server side at runtime).
Set tParm = ##class(%ZEN.Auxiliary.parameter).%New()
Set tParm.id = "pRegion#"_pExamContainerCount, tParm.name = "pRegion#"_pExamContainerCount
Set tExam = ##class(%ZEN.Component.dataCombo).%New()
Set tExam.id = "Exam#"_pExamContainerCount, tExam.label = "Untersuchung", tExam.queryClass = "Inventory.ServiceCatalog", tExam.queryName = "QGetExaminations", tExam.showEmpty = "false", tExam.size = "52", tExam.onchange = "zenPage.updateExamDescription(zenThis.
Hi,
Thanks a million for taking the time to read this.
I'm calling the functions $ZF(-`1, <path to EXE>) and $ZF(-2, <path to EXE>) from Cache code. The exact code I'm using in Cache Studio is given below.
/// Test the functionality of ZF(-1) and $ZF(-2),
Class %SourceControl.UnitTest
{
Parameter PATH As %String = "E:\VCS\CommandExecutor\bin\
ClassMethod Test()
{
Do $ZF(-2, ##Class(%SourceControl.
}
Now when I run the command in the Cache Terminal, as given below,
>do $ZF(-2, "E:\VCS\CommandExecutor\bin\
Recently I have been working on a performance issue reporting about that Sets or Kills in the same global performed by multiple processes in a very focused time period can sometimes take a long time (several seconds) to complete. I feel this is an interesting case study to understand about some performance tunings of Caché.
Case background:
A testing routine creates multiple processes to do set (or kill) random nodes of a global in tight loop and records the timing how long a set (or kill ) operation takes. For a global with a large number of nodes (e.g.
Embedded SQL is a tool that allows us to execute SQL statements in Caché Object Script. For example, to select the name of a person with a particular SSN from the Sample.Person class we can do the following.
&SQL(
Select Name into :tName
From Sample.Person
Where SSN = :tSSN
)
The colon syntax is used to identify local variables, in this case tName and tSSN. &SQL indicates to our compiler that this is SQL syntax. At compile time, this statement will be optimized to executable Object Script code. More about this syntax can be found here.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.
Hi ,
The below code is working in cache 5.02 but it'snot working cache 16.
while we calling this method in another csp page it's show some different character.
{
set user = $ZUTIL(67,15,$JOB)
set status = %session.Login(username, "Test" ,1)
set log = $Get(%session.Data("Log"))
set logtype = $Get(%session.Data("logtype"))
if (log = "")
{
W !, "<div style='color:#000000; background:white; ; font-size=10pt;'><B>Your session has expired.
Overview
Current Caché system monitoring functionality provides real-time information about a Caché environment. This allows for preventative measures to be taken before system failure by highlighting specific metrics when they are at unusual or dangerous values. Additionally, diagnosis of past or current erronious events is aided by informative logs that are created by the system monitoring process.
The System Monitor Dashboard project is a successor to the current system monitoring functionality.
Hi,
I've managed to get a zen Report working where it outputs the contents to a pdf file - the pdf has a background image and it works perfectly. I now want to print that PDF from Caché.
I've tried to use the GenerateReport method - mode 12 — Generate a report in PDF format, and send it directly to a printer via the Caché Print Server e.g. s sc=rep.GenerateReport("Printdoc.pdf",12) (where "rep" is my zen report)
I've created the Caché print server in the management protal as per the documentation.
I don't understand where I need to specify the printer that I want to use.
I need some help on navigating through the DC.
I never know where I am, what comes next, what was previous.
Do I just mindlessly go from post to post?
A least when I use to receive email on the posts, I had some control.
Good morning, I would like to visualize the data summarized in a tablepane in a pieChart widget. Since my tablepane has already executed the query, I would like to use the tablepane snapshot as the data source for the pieChart widget. Is this possible? What would the syntax be for linking the widget to the snapshot look like? Thank you for all input.
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?
There is a need to send a SAML token from a local cache web application to an external web application in order to grant these cache web app users access to the external web app. Is it possible to use SOAP SAML token functionality to do IDP initiated authentication with Cache acting as the IDP server? The example in this online course shows a code snippet of the service web method that adds the token to the outbound SOAP message. So I am assuming , this would be returned to the client in response to a client request of some sort.
A quick announcement about the upcoming Global Summit 2016 - April 10-13, 2016.
InterSystems Global Summit 2016 is an unparalleled opportunity to meet with your peers and with InterSystems’ executives and experts, discussing the technologies, strategies, and methodologies that lead to success.
All InterSystems Global Summit 2016 sessions will be held at the Arizona Biltmore in Phoenix, Arizona on April 10-13, 2016
Learn more about Global Summit 2016 and register today!
(Early bird discounts end soon!)
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.
