Error:$ZERROR: <ZSG>%Save+5^GL.Account.1
Does anyone know what this error means?
InterSystems Caché is a multi-model DBMS and application server. See more details here.
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.
I have seen in the past that file streams write fast at the start. As the file continues to grow, the process' memory usage increases until it reaches the max allowed.
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.
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.
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.
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.
We've traditionally run a selection of development environments from a single cache instance using different namespaces for DEV TEST PREP etc. This has come with a few drawbacks, mainly that you then cant break down into namespaces per environment and everything is sharing various options.
Is there a massive overhead to running multiple cache instances from the same 'box' instead?
How best to share the memory setup in that situation, we usually pre-define around 80% for the instance, do we just share that evenly between the multi instance scenario?
User antiterrorism is assigned the following SQL procedure privileges:
ERROR #5002: Cache error: <UNDEFINED>SQLUserPrivsExecute+57^%SYS.SQLSEC ^oddPROC("ENSEMBLE_ENS","BAIYAOJIREQUEST_EXTENT",27)
SOURCE ELEMENT: %CSP.UI.Component.SQLTables (SQLProcs)
Afternoon all,
Is there a way (at SQL level) to script out the definition of a Cache stored procedure from within SQL?
In SQL Server, I would do...
Select * from INFORMATION_SCHEMA.ROUTINES where ROUTINE_NAME = 'my_sproc_name'
But cant find anyway to do this in cache.
Note, its an old version of Cache, so "INFORMATION_SCHEMA" is not available.
I am trying to see the SQL definition in the sproc from SQL itself.
Thanks all
I have some code in a mac routine that use indentation and the "." character :
IF condition1 DO
.WRITE YCR,...
.WRITE YCR,...
.WRITE YCR,...I would like to add a try / catch block between the write statements.
I can't refactor the whole code and use indentation with curly braces instead (there is too much code, not written by me)
I have tried the following but it does not work (it compiles, but code stop running right before the try keyword)
IF condition1 DO
try {
.WRITE YCR,.
.WRITE YCR,.
.for debugging purposes of complex applications.
I have run into two annoyances when using VS Code for server-side editing of Objectscript and was wondering if anyone knows of any solutions or workarounds.
1. In .mac routine files, class names that aren't fully qualified (e.g. ##class(example) instead of ##class(Package.example)) fail to be understood, so the class will have a red squiggly underneath it and a problem that reads
"Class 'example' does not exist. InterSystems Language Server".
In an old routine full of unqualified class names, it just fills the problems tab and drowns out the actual issues.
I am using MDX2JSON do display data, it uses CSP REST to retrieve data and uses Password Authentication. I enabled LDAP authentication for this applicaiton, but it does not work.
New installed cache, can connect local, but not remost host,telnet 23 failure
Hi Team,
I have a requirement to delete the Ensemble interfaces , as per User request. I would like to write a routine for that and once I execute, it should remove the interface components through code.
Could you please provide code samples for the following actions ?
Appreciate the help.
Thanks,
Purushothaman.T
At the heart of IRIS and Cache is a very interesting database architecture that we, at M/Gateway Developments, refer to as "Global Storage". If you ever wanted to know more about the fundamentals and capabilities of this underlying database, you might want to read a major analysis we've put together:
https://github.com/robtweed/global_storage
Amongst other things you'll discover that:
- Global Storage provides the underpinnings of a full multi-model database, something we refer to as "Universal NoSQL", though, as you already know from IRIS and Cache, it also supports relational too.
Can somebody give examples of $Order and $Query and there application? When to use $Order and $Query????
Hello everyone :-) A colleague wants to use data got from a stream into another type of object: %xsd.base64Binary (related to a webservice context).
His code works for regular data, but the following error appears when parsing large streams (~43 MB): "ERREUR #5002: Erreur Cache: <MAXSTRING>"
Here is below his code:
Class (...).StampDataRequest Extends Ens.Request [ ProcedureBlock ]
{
…
Property DocumentData As %xsd.base64Binary;
…
}
Method OnRequest(pRequest As Ens.StreamContainer, Output pResponse As Ens.Response) As %Status
{
...
set fileStream = ##class(
Title: IRIS DBA
Location: pleasanton,ca remote work from united states only
Duration:12+months
Skills: intersystems Iris, cache and health care background
When parsing a text file into a mumps routine I get this error
<FUNCT>Method+2^%CDCalBk
Any idea what can be causing this
Thanks in advance