Article Robert Cemper · Mar 24, 2021 1m read Problem with docker-compose Environment: Windows 10 Docker Desktop version v20.10.5 #Docker #Microsoft Windows #InterSystems IRIS 3 1 0 1.8K
Article Robert Cemper · Mar 14, 2021 1m read Using ClassQueries() as Tables Similar to Caché so also in IRIS, you have ClassQueries available in 2 variants Basic class queries, which use the class %SQLQuery and an SQL SELECT statement. Custom class queries, which use the class %Query and custom logic to execute, fetch, and close the query. #Other 11 11 0 573
Article Robert Cemper · Mar 5, 2021 3m read Using ECP across IRIS and Caché Migration from Caché to IRIS can be quite a challenge if your code is grown over many years and probably not so clean structured as you may like it. So you face the need to check your migrated code against some reference data. A few samples might not be a problem, but some hundred GB of data for testing might be. A possible step could be to have your fresh code in IRIS but leave your huge datastore on Caché and connect both environments over ECP. I have created a demo project that gives you the opportunity to try this based on 2 Docker images with IRIS and with Caché connected over ECP. #ECP #Caché #InterSystems IRIS 12 2 0 783
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 161
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 1.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 486
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 835
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 599
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 319
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 364
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 727
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 924
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 657
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 432
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.2K
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 997
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 406
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.5K
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 453