Question Robert Cemper · Mar 3, 2021 Docker container for Caché 2018.1 wanted I'm looking for a Caché container to build a cross over demo with IRIS over ECP. Where can I find it ? #Caché 6 1 0 156
Article Robert Cemper · Feb 16, 2021 2m read FOREACH for Objectscript As you know ObjectScript has neither FOREACH system command nor system function.But it has a wide room for creativity. The task is to loop over a global or local array and do something FOR EACH element. There are 2 possible solutions: #ObjectScript #Caché #InterSystems IRIS 8 1 2 1K
Article Robert Cemper · Feb 10, 2021 3m read using ZPM for Node.js Inspired by @Evgeny Shvarov and his recent articleDeploying InterSystems IRIS Embedded Python Solutions with ZPM Package ManagerI propagated the idea forward to do the same also for modules in Node.js. #API #Node.js #InterSystems IRIS 8 2 0 472
Article Robert Cemper · Feb 8, 2021 2m read Websocket Client Embedded Python This is a demo to make use of a simple WebSocket Client with Embedded Python in IRIS. How to Test it Run an Iris Session in Docker Select your WebSocket Echo Server Enter the text you want to send or generate it Send it and see the result $ docker-compose exec iris iris session iris "##class(rccpy.WSockPy).Run()" *** Welcome to WebSocket Embedded Python Demo *** #Embedded Python #InterSystems IRIS 9 0 0 821
Article Robert Cemper · Jan 19, 2021 2m read Trying Embedded Python This is a first attempt to use Embedded Python in IRISThe Python code is adapted from solutions for Advent of Code 2020 contest.Test data are all input to my personal challenge. Prerequisites Make sure you have git and Docker desktop installed. Installation Clone/git pull this repo into any local directory #Embedded Python #Python #InterSystems IRIS 8 0 1 1.1K
Article Robert Cemper · Nov 21, 2020 3m read ObjectScript over ODBC Every now and then you may encounter a situation where for various reasonsODBC is the only option to access a remote system. Which is sufficient as long as you need to examine or change tables.But you can't directly execute some commands or change some Global. Special thanks @Anna Golitsyna for inspiring me to publish this. #Other 11 0 0 576
Question Robert Cemper · Sep 19, 2020 ZPM - silent mode ? Hi,I'm looking for a way to run ZPM (especially install) in a total silent mode with no output. I tried -quiet flag but it continues to chat to me like my wife. #.NET #Deployment #Java #Languages #Node.js #ObjectScript #InterSystems IRIS 7 4 0 305
Article Robert Cemper · Sep 17, 2020 4m read Native API for ObjectScript Demo The demo is based on the raw class descriptions.The data classes used are Address, Person, Employee, CompanyFor a more attractive demo, a JSONtoString method by ID was added. #API #ObjectScript #InterSystems IRIS 9 0 0 353
Article Robert Cemper · Sep 14, 2020 3m read IRIS Native API for ObjectScript It seems to me that for some reason this didn't make its way to the official documentationand seems to be rather unknown though implemented already in IRIS 2020.1 Thanks to @Dan Pasco I got a hint on the classes involved.I used the recommended sequence of how to use it. it is all directly taken from Class Reference and I just collected it to create a first overview. #API #InterSystems IRIS 11 1 2 704
Question Robert Cemper · Aug 30, 2020 How to Restart SMP server Caused by a conflict in the port assignment I get this entry in mesages.log and SMP doesn't respond: #Other 9 6 0 903
Article Robert Cemper · Aug 28, 2020 2m read Effective use of Collection Indexing and Querying Collections through SQL Triggered by a question placed by @Kurro Lopez recently I took a closer look at the indexing of collections.My simple test setup is a serial class and a persistent class with a list of this serial. #Other Open Exchange app 8 5 1 645
Article Robert Cemper · Aug 3, 2020 3m read Global Scanning & Slicing In most cases, a global used by default storage has just 1 subscript level that represents the IDKEY.For an index-globals we may see 2 or more subscript levels.Arrays, or parent-child relationships or persistent classes extending a base data classare examples where we see more levels. Though all these globals are quite uniform. #Other 7 0 2 414
Article Robert Cemper · Aug 2, 2020 2m read Show Global by SQL SELECT Globals in Caché / Ensemble / IRIS are normally invisible over SQL accessThis example shows how to overcome this limit. #Other Open Exchange app 9 1 4 1.1K
Article Robert Cemper · Jul 29, 2020 5m read SQL for ^ERROR Global Standard error logs in IRIS / Caché / Ensemble are written global ^ERRORS.As this piece dates back some decades back to previous millennium its structureis far from the typical SQL storage structures. #Other 11 16 3 963
Article Robert Cemper · Jul 27, 2020 2m read ZPMshow, a helper for tired fingers The offer of ZPM is growing daily and the short names andacronyms of the offer are sometimes hard to understand andalso hard to type with my lazy fingers. So I decided to have a listing with the descriptions from the repository, split in short junks to avoid backscroll, controlled forward / backward scrolling, the option to select my packages by number, to install or uninstall with limited typing. It runs with do ^zpmshow A snapshot from the screen: #ObjectScript #InterSystems IRIS 12 0 0 398
Question Robert Cemper · Jul 21, 2020 List of Command Line Utilities ? where can I find a list of all command line utilities with a short description? #Other 11 3 2 1.4K
Question Robert Cemper · Jul 21, 2020 Intelligent Global Compare wanted I'm looking for some existing solutions to compare 2 global structures. - by subscripts- if subscripts match then by content. #Other 12 1 1 444
Question Robert Cemper · Jul 21, 2020 moving code between IRIS and CACHÉ I face the challenge to have a bunch of classes on IRIS and CACHÉ in paralleluntil all systems are migrated to IRIS. Applying changes in Caché development environment and moving to IRIS is no problem But if I have to apply a fix on IRIS there seems to be no clean way back to Caché. #Object Data Model #ObjectScript #Studio #Caché #InterSystems IRIS 11 3 4 1.3K
Article Robert Cemper · Jul 21, 2020 2m read Un-Typical persistence During my search for a snapshot of a persistent object,I met a feature that I would like to share as it could be useful in some special situations.My trigger was to have a before- and an after-image during unit testing. #Data Model #Globals #ObjectScript #Testing #Tips & Tricks #Tools #Caché #InterSystems IRIS 13 4 4 574
Article Robert Cemper · Jul 21, 2020 1m read Snapshot to JSON This is a sample to use %JSON.Adaptor class available in IRIS to produce a snapshot of your object. The sample consists of 2 classes that are variations of what was known in Caché/SAMPLES as Sample.Person.Be aware that the possibilities are limited by %JSON.Adapter and how you make use of it. Once in place, you create some test data by Populate().You select an object and take a snapshot.You apply changes to your object and take another snapshot.And see the difference. BINGO! #JSON #Object Data Model #ObjectScript #InterSystems IRIS 10 0 0 691