Hi Guys,
for some reason the height in my tablepane are very big, how can I adjust the height in the rows in a tablepane?
Thanks
InterSystems Caché is a multi-model DBMS and application server. See more details here.
Hi Guys,
for some reason the height in my tablepane are very big, how can I adjust the height in the rows in a tablepane?
Thanks
Hello community...
As there is a certain restriction of commands in Caché, and assuming that the base of most colleges ends up being MySQL, Oracle, SQL Server and others... And the last two with very simple IDEs to use and with the possibility to handle the operation in the database very well, which IDE (if there is an "official" or something like that) would be the best for me to start working more effectively with Caché?
June 16, 2021 - Advisory: Discontinued Technologies and Features
Note: A previous version of this advisory listed Caché Server Pages as a deprecated technology. Caché Server Pages is not deprecated and is fully supported.
From time to time, InterSystems discontinues development of a technology when newer and better options are available. However, product support for these capabilities continues in the same way that it does for products beyond our Minimum Supported Version.
I am using .net to connect to the cache database via ODBC, OdbcConnection connection = new OdbcConnection(dbConnection); connection.Open(); This error is reported when the link is opened, how should this be solved? Thank you very much!
Hello, everyone,
I'm trying to find solutions to a problem that's becoming quite boring.
On only one namespace, the sudio is very slow.
The studio freezes completely for 5-10 seconds when I save or compile a class. Sometimes it also freezes for no apparent reason at a random time...
It stops when I change namespace...
Do you have any idea what that could be?
Thank you in advance
Greetings, InterSystems community!
I am pleased to announce that the web terminal project, Caché WebTerminal version 4 gets its release! After long period of enhancing this web application from 2013, it came to the version 4, which features major stability and security improvements, intelligent autocomplete and syntax highlighting, convenient SQL mode and a lot of other useful features.
The goal of this article is to spread the knowledge about this project over the InterSystems community.
I am getting the following error when trying to fect data from DeepSee:
"Error":"ERROR #5002: Cache error: <PROTECT>%Construct+3^%DeepSee.ResultSet.1 ^DeepSee.Cache.LocalResults(\"session\"),e:\\hs-db\\tfoms\\"
However, I cannot find the place this error points me to.
Specifically, it says 'Label %Construct + 3 lines, in the %DeepSee.ResultSet.1', but there does not seem to be such a place. I could only find the %DeepSee.ResultSet class and it does not have a lable named %Construct.
Reference: sample LDAP code routine LDAP.mac
Some IF statements reference macro $$$WindowsCacheClient as a boolean flag to mark if the client calling the LDAP server is running Windows. Other IF statements reference $$$ISWINDOWS. Are they not the same thing? That is, does the routine need $$$WindowsCacheClient at all?
Examples:
#define WindowsCacheClient 1
gj :: locate was the entry from George James Software for the Developer Tools competition back in April 2021. When an ObjectScript error is reported, gj :: locate takes the .int line location and navigates you directly to the line in the source file where the error originated. Over the past few months we've found it a very useful tool when it comes to debugging, especially when used alongside the Serenji debugger in Visual Studio Code.
Our first update, version 1.1.0, now includes support for multi-root workspaces. This enables gj :: locate to be used with every workspace folder. If your VS Code workspace has more than one root level folder, connecting to different namespaces or perhaps different servers, then gj :: locate will determine which workspace folder is current and locate the source code in that folder. If your workspace doesn't have any files open then gj :: locate will prompt you to select a folder from a pick-list.
This will particularly benefit VS Code power users who have workspaces with simultaneous connections to multiple namespaces, on multiple different IRIS and Caché servers.
If you would like to try it out then you can download it from the VS Code marketplace. Or if you’re already a user, then gj :: locate will automatically update. Let us know how you're getting on with it!
When we have to predict the value of a categorical (or discrete) outcome we use logistic regression. I believe we use linear regression to also predict the value of an outcome given the input values.
Then, what is the difference between the two methodologies?
Here are a few examples of conversions and operations you might need, along with links to documentation where you can learn more.
At the time I wrote this, Eastern Daylight Time was in effect for my Caché system.
Caché has a simple time format, with a longer range of recognized dates compared to some other technologies.
The current time is maintained in a special variable $HOROLOG ($H):
USER>WRITE $H64146,54027USER>
The first integer is the count of days since December 31, 1840. The second integer is the count of seconds since midnight of the current day.
Hi,
I have a DR member and in this cache server the database "cachetemp" start to getting bigger without any reason (50GB that was all the free disk space we have)
In the members of the mirrors the cachetemp its ok and the size is 31MB.
I restarted the server because I read that the cachetemp database purge when restarting, but didnt happend.
Any recommendation to clean this database? can I just deleate the CACHE.DAT from this database?
Thanks!!!
Hi everyone,
I am talking from Brazil and we have one very important customer that requested our support to find a consultant, deeply specialized in Cache that could work with us attending this customer. It has a tons of data and its core application is based on Cache.
If you are interested send me an email with the subject title - Cache consultant opportunity - and we will make contact with you. The main request is how strong are your skills in cache and it would be considered a differentiator if you are a portuguese speaker.
Regards - Helberth Cavalcante.
Error:$ZERROR: <ZSG>%Save+5^GL.Account.1
Does anyone know what this error means?
Hi,
I have the requirement to dump large result sets into files. I am currently using %SQL.Statement and the result set created by it.
The DisplayFormatted is used to write a CSV. The query I used to test does not contain any filters, it is just a select * from a table with 16 million rows.
The file created is 2GB in size. The issue I have is that it takes 8 hours to create this file.
Hello,
I need to create a dialogbox on my zenpage to confirm a Delete operation.
I tried using below code on in a my client side method but its creating a blank dialog box.
zenLaunchPopupWindow('%ZEN.Dialog.confirmationDialog.cls','confirmationDialog','resizable,width=380,height=180');
Is there a way i can create a Dialog box with text "Do you want to delete" and two buttons "Yes" and "No" and store the response in the calling client/server method.
Thanks,
Jimmy Christian.
We’ve published an update to the Serenji debug extension for Visual Studio Code, making it ready for the Workplace Trust feature in VS Code 1.57.
This allows the Serenji ObjectScript editor to work without restrictions across all workspaces and, by bringing it in line with the VS Code update, only allows the debugging feature to be used in trusted workspaces.
Hello, first of all thanks for your time reading this question and thank you for your replies
We would need some help
We are trying to create a function to generate a random number with always 4 digits
We have already read the following topics:
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
https://community.intersystems.com/post/how-generate-random-string-fixe…
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
How would you recommend to write a function to handle this use case?
Some key points are emphasized in this article in order to save your time to get linux ldap client in cache working with windows AD (active directory) LDAP server. The first thing to do is to get successful TLS connection to windows AD. Raw tcp case is beyond of this article, there is no problem with it, it is trivial. Windows ldap server uses port 636 for tls and this port can be used to get ldap certificate. As we will see later there is reason for this. linux ldap client uses STARTTLS special ldap extension to switch plain tcp to TLS only. Hence, connection should use port 389. After
Is there a call in ZEN to FOP to combine (merge) separate PDF documents into one?
Or does anyone know of a Windows server program that could be called from Cache to do this.
Thank you in advance.
Difference between DO and JOB command and practical use of job in objectscript??
When using Studio, ODBC or a terminal connection to Caché or Ensemble, you may have wondered how to secure the connection. One option is to add TLS (aka SSL) to your connection. The Caché client applications - TELNET, ODBC and Studio - all understand how to add TLS to the connection. They just need to be configured to do it.
Configuring these clients is easier in 2015.1 and later. I'm going to be discussing this new method. If you're already using the old, legacy method, it will continue to work, but I would recommend you consider switching to the new one.
What is the syntax in Zen PDF Reports to form feed between tables?
HA backup strategy
we use Rose to do HA with cache2016.2, the database is placed on the hard disk array, which is essentially an instance, and the same array disk is mounted by rose switch, another mirror machine is made.
Is there any problem with this structure for disaster recovery and backup, I hope to give some advice. Thanks!
Hello,
First of all thank you for reading this question
Also thank you for giving an answer
We would need some help
Our objective is to spot all REST Services in a namespace
➡️ How could we detect all services with AdapterClassname = EnsLib.HTTP.InboundAdapter , in an automatic way, in a namespace?
We need to know how to pass a certain value, which in the .NET world is described as a byte array (i.e. byte[])
Background:
We have various libraries that were created in .NET 4.5 that are registered for COM interom, an example that we have is as follows:
.NET Signature:
public static byte[] CreateQrCode(string content, int width, int height, string imageFormat)
.NET utilisation:
byte[] image = Writer.CreateQrCode("http://redacted/", 100, 100, "png");
Intersystems utilisation:
do streamQrCode.CopyFrom(objGenerator.CreateQrCode("http://redacted/",100,100,"png"))
I am trying to populate a table using the sql Data Import Wizard. The input file is a tab delimited text file. But the import keeps failing with a 104 error showing validation for the columns which use %Library.TimeStamp and %Boolean datatypes is failing. Yet when I insert values into the table through a SQL insert command, the values get saved correctly in the table.
For the TimeStamp format in the wizard form, I am choosing YYYY-MM-DD-HH:MI:SS because there was no option for this format: YYYY-MM-DD HH:MM:SS.
I'm using a JDBC driver to connect PGSQL -> Cache. I'm noticing when I run SELECT queries and COUNT(*) command against the same table, I get different result sets. I'm pretty new to Cache in general - so I'm trying to understand why these would be different.
Examples (TransID and InvNum should occur in every "row"):
SELECT COUNT(*) FROM ACCT.Services = 1,090,324 WHERE ACCT.Dept = 483
SELECT TransID FROM ACCT.Services = 1,085,776 WHERE ACCT.Dept = 483
SELECT InvNum FROM ACCT.Services = 586,023 WHERE ACCT.Dept = 483
Hello all,
I am in a bit of a situation where I could get your help please.
I want to get certified with IRIS, but I also do see that there is an availability named Cache.
Are they both the same or different? if different please explain it to me as how?
Also what is the difference between IRIS, IRIS for Health, Deep Sea? Please explain to me.
Also what do you think I should get my self certified with?
Please leave your comments below.
Cheers.