What are Prerequisite (.dll files) to Configure CSP in IIS 7
OS:windows 7 *64bit
Cache version 2014.1.0.507.0 (Installed as Developer)
InterSystems Caché is a multi-model DBMS and application server. See more details here.
What are Prerequisite (.dll files) to Configure CSP in IIS 7
OS:windows 7 *64bit
Cache version 2014.1.0.507.0 (Installed as Developer)
Hi,
I create a cache class program. Its compile it. But how to run it?
Please send one sample program with output
I'm with a problem in a property, where she has two parameters that conflict, DISPLAYLIST and VALUELIST.
In screen when I'll go to set value in the field, the CACHE transform internally the property of LOGICAL to DISPLAY with propertynameLogicalToDisplay(propertyname), far so good.
My problem is in the property, why, by default she send the value as DISPLAYLIST, in hour of transformation as the value is DISPLAY MODE the error occurs.
How I do to that default value be VALUELIST and not DISPLAYLIST?
Hi All,how to configure Crystal reports in IIS7.
Hi All,
Any one having documentation to configure crystal report with Cache.
Hi All,
Any possibilities to open a new terminal by using another terminal in Cache.
Date range queries going too slow for you? SQL Performance got you down? I have ANOTHER weird trick that SQL Developers don't want you to know!*
I cant find any description on how to read custom http request headers in a REST service.
On some occations i want to read http headers passed along when customers uses our REST API or headers added by the CND provider. Does anyone know how to read these http headers?
For example:
cloudflair.com sends a vistors country information along to the server using a customer http header called "CF-IPCountry". We would like to read this information and use it for statistics.
NewBie's Corner Session 15 Executing Routines and Labels
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
Routines and Labels
Routines are computer programs with a number of executable code lines.
Labels (also called tags) are points in a routine that can be called (executed). They subdivide routines into manageable modules (or subroutines).
Routines, Subroutines/Modules and Functions
Using the method ##class(%SYSTEM.Process).GlobalReferences() I'm able to know how many global references has been done in the process. But I'd like to know how many of those references has been done by my code and how many has been done by Cache itself.
When from a class I execute a method of another class, Cache is internally accessing globals (I suppose to get the code of the called method). I would like to not count those accesses done by Cache.
For example:
I've a method (Statistics) that counts the number of references done by another method (A).
How to open like gmail ,facebook,etc by using cache terminal using $ZU commands,Any one know ? please
Using Node.js with Caché - Introduction says the following:
The cache.node module is the Node.js interface for the GlobalsDB kit, which can be obtained from the GlobalsDB download page (http://globalsdb.org/downloads/). The Node.js interface can be used with either Caché or the free GlobalsDB database.
The installation kit includes detailed documentation on how to install and configure the cache.node module.
However, http://globalsdb.org/downloads gives a 404 and http://globalsdb.org just redirects to intersystems.com
Where can I find the files I need?
Hi All, I need a documentation to configure csp in iis version 7, Any one have documentation regards?
We are beginners to configure the InterSystems CSP page with IIS Version 7,Any one have a documentation regards?
Hello Cache experts,
Has anyone tried using Cache object script to check windows service is running or windows service installed or not on same computer or remote computer ? basically i am trying to develop cache program which will check "windows service" running or installed on current computer or remote computer. Based on the status of this windows service, i want to write some business logic in our application. Any suggestions will be more welcome
I need a generic way to check if all the properties on an object instance are null. Has anyone got some code they could share?
I could of course add a method to each class and pass in all the properties and test them but I'm sure there must be a generic way to do this. A generator method perhaps?
Regards
Mike
Hello, guys.
We have recently created a syntax highlighting for COS for Atom text editor. You can find it on https://github.com/intersystems-ru/atom-language-cos
Installation:
~/.atom/packages/ Window: Reload in Command line)It's been few days since the release, so please if you find a bug, let us know through creating an issue or forking and making a pull request.
P.S. After it gets more or less usable, we will use this syntax as a basis for GitHub highlighting for COS.
Hello,
I'm using studio for the first time. I copied the Security.Users Class to my own UCDavis.Security.Users
I can't edit the copied file. I totally get why I can't edit the Security.Users class - but why is it stopping me from editing the class I created??
Thanks in advance!
Lucy
How to connect with Java in Cache Studio. Explain breifly.
The release of IBM POWER 8 processors with AIX 7.1 introduced up to 8 SMT threads per processor core (logical or physical). Which SMT level (1, 2, 4, or 8) to use can be confusing and varies based on multiple factors. This article is meant to help with a starting point for your specific application.
Firstly, if running on a version of 2014.x or older, it is advised to use SMT 4 or lower. SMT 8 with those older versions of Cache' has shown a decline in performance and scaling in benchmarking applications.
Starting with the release of 2015.1 and newer, included in those releases are Cache'
Hi all,
I'm using $ZUTIL(49) to get information of the databases I want to add to a mirror. This information is passed to ##class(SYS.Mirror).CatchupDB(plstPathDatabases) in order to Catchup all databases addes to a Mirror.
I know that ZUTIL is deprecated and I'd like to know what function or functions I have to use in order to get all necessary information for CatchupDB.
Thanks a lot
I have a NewBie Question.
I have been playing around with "Basic CLass Queries."
I have defined a very simple "Basic Class Query." (see below)
However, I cannot find in the I/S documentation how to execute this query.
Any help is appreciated.
Hello,
I've been doing this for years. Well, decades. And, I pride myself in being able to break other people's code.
However, sometimes I don't apply the same dedication to breaking my code. That needs to change. ![]()
So, I'd like to ask people, what are some of the things you like to test for when trying to stress-test your code? I'll start with what I like to try testing to see what crashes, what works unexpectedly, and what I've handled.
I always test the following: 0; 1; -1; some 20-digit number; some 50-character string; 1/0; 2E12; " ", and an undefined variable.
What other goodies am I
We are creating a package (written in Caché Object Script) that will provide access to an external DB (MySQL). Because applications that use our package will be run from machines with various, potentially unexpected, operating systems, we’d like to establish a connection to the external DB without using DSNs (we’ve heard that setting up DSNs on certain non-Windows machines can be cumbersome and problematic).
Does anyone know of way to create a connection to an external DB without using a DSN?
I'm getting the above error. My zen page calls other javascript methods and other server methods just fine. But when I call my method, I get the error. Yes, I've tried making it look exactly like the methods that work. But for some reason, it doesn't seem to know that DoLogout is a zen method.
Anyone ever get this error?
THanks
L
for example
ClientMethod logout() [ Language = javascript ] { zenPage.DoLogout(); }
Method DoLogout() [ZenMethod] { //blah blah }
Studio's "Package Information" dialog, accessed from the context menu of a package on the Namespace tab of the Workspace pane, includes a field titled "Routine Prefix"
Help says this is a "String that is used as a prefix for the routines generated from classes in this package".
But if it set a string here, then recompile a class in the package, it doesn't affect the name of the generated routine(s). Nor does it influence the routine names generated when I create new classes in the package and compile them. I have tested on 2016.1.
The setting gets stored in the RtnPrefix property of the
I want to override the Get and Set methods of a class property. The class maps to a pre-existing global. The property is defined like so:
Property Invalid As %Library.Boolean;
with the property mapping to a node like ^GLOBAL(Code,"INVALID")=1
Code is a property in the same class.
The value can be 0 or 1 or the node might not exist. When it doesn't exist I want the value of the SQL field to come out as 0 (false).
I'm trying to do it so that it will be self-contained, so that nothing that references the class or uses SQL to access/update the table also won't need to be changed and the field needs
Cache 2015.2
I need to get a sort order stored in my database with mutiple decimal places, but I want the string stored and retrieved EXACTLY as I enter it. so if someone enters 700.3000 I don't want cache to treat it as a decimal and strip the trailing zeros storing it as 700.3
once it comes back, I want the sorting to sort AS STRINGS, again, none of that stripping training/leading zeros.
this ay, I can create local arrays in exactly the order they think? they created them
I realise I can add another decimal point at the end eg 700.3000.
i'm looking for a way to display a list of tables in an application. I need a Table or Schema API, and I can't find one. I found this:
http://docs.intersystems.com/latest/csp/docbook/%25CSP.Documatic.cls?PA…
with a google search, but I'm not sure if I can even use this (it says that SQL name is "TABLES"), or how to use it.
Is there a way to get at the table names available in a namespace?
Thanks,
Laura