Hi All, When i try to run the CSP from Studio it shows "Server Availability Error" and management portal and documents also throw a same error.how to recover it.
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.
Hi All, When i try to run the CSP from Studio it shows "Server Availability Error" and management portal and documents also throw a same error.how to recover it.
The following code in .Net using CacheObject.dll version 2016.1.2.206 com library
ConnectionString = "cn_iptcp:10.56.135.160[1972]:PHDEMO:PHSYSADM:***********"
b = factory.Connect(ConnectionString )
objCacheObject = factory.Static("CacheObjectConnection")
clist = factory.GetConnectionList()
for the above code, b is true and clist is Local,cn_iptcp:127.0.0.1[1972]:
IO devices can be assigned to a mnemonic space using, for example:
u device::"^%X364"
Is there a method that will return the assigned mnemonic space for the current device?
I can infer it by attempting to write to the device using a non existent write /mnemonic and then inspecting the error returned, but this is rather messy and could potentially affect the status of the device. For example:
USER>u 0::"^BAR" USER>w /foo <NOLINE>^BAR USER 2d0>
Is there a method or system variable that will give me this information in a cleaner manner?
Thanks
George
www.georgejames.com
What is the difference between $case and $select?.Where places to use $case and $select?
I have a web application with html, css, js files (no ZEN/CSP).
Problem: after I update them on a server, Caché still servers old and cached version (browser Cache is disabled).
There is a manual cache purge in Gateway Settings, of course, but is there an automatic solution?
I'll be okay with disabling cache server-wide, but an application-wide solution would be better.
I don't want to host web app on a separate web server.
Here's my web app config:
For reasons that I won't go into here, I need to run Cache Terminal in Linux using Wine.
It starts up ok, but when I try to establish a connection to a remote server I get the following error:
Ctermsecure Read Error Could not obtain terminal server client name. Reason: (10035, 0x2733) unknown error
If I launch CTerm.exe from a command line then I get the following:
In last week's discussion we created a simple graph based on the data input from one file. Now, as we all know, sometimes we have multiple different datafiles to parse and correlate. So this week we are going to load additional perfmon data and learn how to plot that into the same graph. Since we might want to use our generated graphs in reports or on a webpage, we'll also look into ways to export the generated graphs.
I created a new class DSW.Addons.htmlViewer:
Class DSW.Addons.htmlViewer Extends %DeepSee.Component.Portlet.abstractPortlet
{
Property Data As %String;
ClassMethod %OnGetPortletSettings(Output pInfo As %List, ByRef pSettings) As %Status
{
Kill pInfo
Set pInfo(1) = $lb("Data", , , "Data", "Data setting")
Quit $$$OK
}
}It's a ZEN component and DeepSee portlet. It's immediately available in the namespace I created it in. DSW package is mapped to %ALL and to Samples, but if I try to create a widget with this portlet I get ZEN class not found error.
Hi
I created a jdbc connection in the Caché 2010.2.3 with SQLServer 2008R2.
The connection to this DB works correctly. (Conection Sucess)
I try to perform table binding but this connection, even though it is successful, does not load my tables and schemas.
I did the same test on Caché 2015 , with same jar drivers files and works perfectly!
Any idea?
Caché 2010.2.3
Red Hat Enterprise Linux Server release 6.2 (Santiago)
java version "1.7.0_09"
Caché 2015
Red Hat Enterprise Linux Server release 6.2 (Santiago)
java version "1.7.0_09"
I have the following query which tells me how many documents were retrieved for each customer, but it only works for the "on-demand" customers:
If I were trying to access an index of a global variable, what time complexity would this operation have? My understanding of languages like Java/C++ is that arrays are stored as blocks of memory so that x[15] would have a lookup time complexity of O(1) because it just goes to (address of the array + 15) and retrieves the value stored there.
How does this work in Cache where the index of a variable isn't necessarily an integer value? If I were to have a variable like the following:
x("Adam") = "Red"
x("George") = "Blue"
x("Bryan") = "Green"
etc...
We know there are numerous ways to backup cache/ensemble with VMware, but we are not in a state to do that and can't do shadowing because the lack of resources. Anyways how can i backup cache to a drive mounted as network share.
This is the second part of my long post about package managers in operating systems and language distributions. Now, hopefully, we have managed to convince you that convenient package manager and rich 3rd party code repository is one key factor in establishing of a vibrant and fast growing ecosystem. (Another possible reason for ecosystem success is the consistent language design, but it will be topic for another day.)
In this second part we plan to discuss the practical aspects of creating a package manager in general and their projection to the Caché database environment.
Hi ,
i installed and configure the cache odbc ODBC-2016.1.1.107.0-lnxrhx64.tar in centos7.
it connected while executing in terminal .(i.e isql -v DSN)
odbc_connect work in executing php shell script in terimal.
but odbc_connect not working in PHP web applcation.
Thanks,
Prabakran A.
Hi!
I'm using Caché JDBC driver to store, retrieve and some other operations. I have another question, "Is there any possible to execute the cache commands using JAVA".
Thanks
Hi,
I have downloaded an evaluation copy of Cache and installed on a Windows 2016 R2 machine. I wanted to Configure different locations for DAT, WIJ, and Journal files but the installation process didn't give me such a "custom" option. I do see that the installation guide mentions the presence of such an option so I am wondering if this is a limitation of evaluation copies. Can someone please confirm?
Hi all,
Is there any bcrypt algorithm on HealthShare? We are trying to use it but ww couldn't find it.
Regards
Back in my COBOL days, there was a utility that would analyze running COBOL code and expose bottle necks and those modules that were inefficient or were executed multiple times. This was to help the programmer know where to concentrate streamlining efforts.
Is there any such utility for Caché Routines?
I am in the planning stages of making things more uniform in our routines and I would like to know what the easiest way would be to include an .inc at the beginning of each .mac routine. Has anyone written something that would open all routines and place something into the first row while leaving the rest of the routine unchanged? Thanks for any guidance you all may provide.
Points to remember before you start:
Well I want to set the type of a piece in a global as a String, because when I use float numbers , the system parse them to numbers instead of use like strings and thats a little bit tricky with the sorts
Here is a code example:
ACB>s ^a("1.0012")=""// that is going to be stored as a number
ACB>s ^a("1.0011")="" // that is going to be stored as a number
ACB>s ^a("1.0010")="" // that is going to be stored as string
ACB>zw ^a
^a(1.0011)=""
^a(1.0012)=""
^a("1.0010")=""
I want to predefine the behaviour setting the type of this piece as String to solve this "behaviour"
thanks in advance
I want to override getter for a serial property as a whole, because getter code depends on a class in which a property is defined.
Let's say I have CS.Serial as a serial class:
Class CS.Serial Extends %SerialObject
{
Property Year As %Integer;
Property Month As %Integer;
}And CS.Persistent as a persistent class:
The class %Compiler.UDL.TextServices arrived in 2015.1, bringing us methods for exporting a class in UDL format (i.e. looking just like we're used to seeing it in Studio), and importing a UDL format definition back into a namespace. Some source control tools including our Deltanji are now able to use UDL format, resulting in diffs that are easier to understand.
Per the information at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY… I am trying to use a call to $ZF("GETFILE") to obtain information about an OpenVMS file. But I get an <ILLEGAL VALUE> error.
For example:
w $zf("GETFILE",filename,"UIC")
reports:
<ILLEGAL VALUE>
My filename variable contains the full path and name of a file that I own. I hold the %All role in Cache.
This is 2012.1.5 on OpenVMS/IA64 V8.4
Any ideas what's going wrong?
Hi-
Im curious if there is any specific configuration that has to be done on an IIS web server to serve up RESTful web services.
I have a server that has IIS installed, with the CSP gateway. a second server that has Cache installed on it.
I have configured a web application using the Cache System Management Portal for the web services that has a dispatch class pointing to my dispatch class.
I have created an application mapping in my CSP Gateway Management Portal on the web server such that url's with /webservices prefix are routed to my cache server.
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.
Hi,
Initially when setting up a cache instance one creates or imports the user/ resources roles etc .
After the Mirror has been activated you can add users, resources etc. But when trying to add new SQL Table privileges to a namespace where the databases are mirrored it seems that you are not able to , Getting error:
ERROR #5002: Cache error: <DIRECTORY>SQLUserPrivsExecute+13^%SYS.SQLSEC
SOURCE ELEMENT: %CSP.UI.Component.SQLTables (SQLTables)
How do you maintain these privileges?
Hello community,
I'm triing to use perl with Caché on CentOS 7.
Can't load 'blib/arch/auto/Intersys/PERLBIND/PERLBIND.so' for module Intersys::PERLBIND: libcbind.so: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoader.pm line 190.
at test.pl line 10.
I'm having trouble creating a view in cache with query like:
SELECT column1, column2, column 3
FROM table
WHERE
(column1, columnn 2) IN (SELECT c1, c2 FROM table2 GROUP BY c1)
ORDER BY column1
I think the problem is in where clause, because it cannot take two columns .
the exact error: [SQLCODE: <-1>:<Invalid SQL statement>] [%msg: < ) expected, , found^ (column1,>]
Any idea on how to solve this?
Thank you.
Hello,
I am a new member here . Could you help me to resolve the problem?
While sending request to WebServer I'm getting error: ERROR #6235: Unexpected namespace for tag CardData :