Questions tagged [intersystems]

InterSystems is a software company based in Cambridge, MA.

They sell many products related to software development, application integration and data storage including IRIS Data Platform, Caché, Ensemble, and HealthShare.

The products are based on the database (supports SQL, Object, NoSQL access) and the programming language.

Resources

Related tags

130 questions
0
votes
1 answer

InterSystems Cache ObjectScript vs Java as in Web application development

Recently My Project Manger has asked me to work on InterSystems Cache ObjectScript. Earlier i used to work as Java Developer (J2EE). So my question is how different is Cache from java. Comparison would be great to have.
0
votes
1 answer

Saving Value into Relation Column

Im new to Caché and got a problem: I want to save a value into the Relation Column in Class B via Class A and thats not working ... Currently I am doing it like this In Class A: set Obj1 = ##class(This.Is.Class.B).%New() set Obj1.PID = ..id set…
Celebrombore
  • 170
  • 11
0
votes
1 answer

Unable to set content type of http header in REST

The below requests always takes the default Content Type irrespective of what I am setting. I set to application/xml, but still it goes as application/json. This problem however is not there when I invoke the service via Postman. Set…
Vivek Ranjan
  • 1,432
  • 2
  • 15
  • 37
0
votes
1 answer

Intersystems Cache' PCK file usage

I'm working with a customer using the InterSystems cache' database environment and they are asking what's the best way to deal with the .pck file that's part of the database structure. When I attempted to research this to understand their ask, I…
TW3
  • 3
  • 2
0
votes
1 answer

Linux getting rid of Carriage Return when file is being written out by intersystems cache

Working with Intersystems cache and writing a file out to a unix server and upon opening in WordPad++ the Carriage return is missing but the Line feed is still there. Our process works in windows but for some reason not in Unix.
0
votes
1 answer

Where to start if there is no version control of any kind -Intersystems Cache

Code has been developed and deployed from environments for many years without any source control. Now a source control solution is needed. I am thinking of using Git. I know the hooks have to be written and I am fine with that. But where do we…
user6284097
  • 157
  • 1
  • 1
  • 9
0
votes
1 answer

Maximum String Length in Intersystems Cache. Does changing it affect speed?

I have been having errors returned for some of our existing Intersystems Cache Classes I have read here that by default, the length of max string is set to around 32k. Running the script WRITE $SYSTEM.SYS.MaxLocalLength() does confirm…
Malcolm Salvador
  • 1,476
  • 2
  • 21
  • 40
0
votes
2 answers

Connecting to cache instance (csession) remotely

Is there a way to connect to cache instance (csession) remotely? Let's say the intersystems is on a container, and I want to use csession on the remote server from my local machine, is there a way (without direct ssh) to run the cache instance? I'm…
Mahyar
  • 1,011
  • 2
  • 17
  • 37
0
votes
1 answer

creating a byte array from a stream in intersystems' cache

What is the prefered method for creating a byte array from an input stream in intersystems' cache. The method I have tried is to first read the entire file im memory then extract one byte at a time and assign the value to an incremental array
Jimmy Dean
  • 153
  • 2
  • 7
0
votes
2 answers

Intersystems Caché Java Gateway

I need some help on development in Caché's Objectscript. I've been working in this technology for some months and since some days, I'm trying to get the Java Gateway to work without success. It is supposed to allow me to run java .class et .jar…
0
votes
1 answer

How to get files from FTP -server with EnsLib.FTP.PassthroughService

I'm working basically with a simple task, read files from the ftp-server and write those to the file path or UNC-path. I made service (EnsLib.FTP.PassthroughService) and operation (EnsLib.File.PassthroughOperation). Service connects to the ftp…
0
votes
1 answer

cache intersystems command to get the last updated timestamp of a table

I want to know the last update time of a Cache Intersystems DB table. Please let me know the relevant command. I ran through their command documentation: http://docs.intersystems.com/latest/csp/docboo/DocBook.UI.Page.cls?KEY=GTSQ_commands But I…
dig_123
  • 2,240
  • 6
  • 35
  • 59
0
votes
1 answer

Intersystems Cache commands when written manually in a file and executed is successful but not when built through a script

It would be great if this is taken up by Intersystems Cache DB experts: I created a script by manually editing a file from VI editor on RHEL linux and ran that on CACHE DB, and all commands ran successfully. The batch script was: #! /bin/ksh .…
dig_123
  • 2,240
  • 6
  • 35
  • 59
0
votes
1 answer

InterSystems Cache class export

I am working with one project where I need to get the content of .cls file. I know how to get .xml file, however I need exact code which contains all comments and other stuff. I found a class %Dictionary.ClassDefinition which can give a class name,…
Rustam Ibragimov
  • 2,571
  • 7
  • 22
  • 33
0
votes
2 answers

intersystem cache C# query with name like?

I am trying to use like in a Cache sql query such as: select * from person where name like ?. I am passing the parameter like below. CacheParameter param = new CachemParameter("NAME", CacheDBType.NVarChar); param.Value =…
1 2 3
8 9