I have created some example Ansible modules that add functionality above and beyond simply using the Ansible builtin Command or Shell modules to manage IRIS. You can use these as an inspiration for creating your own modules. My hope is that this will be the start of creating an IRIS community Ansible collection.
For some time I have been planning to do some type of proof of concept with the Workflow functionality, which, like so many other functionalities present in IRIS, tends to go quite unnoticed by our clients (and for which I say mea culpa). That's why I decided a few days ago to develop an example of how to configure and exploit this functionality by connecting it with a user interface developed in Angular.
I'm a DBA and support Caché databases on AIX. I coded shell scripts for monitoring journaling status, databases size, license end date.
We recently got a new instance of Caché on Windows. I'm just curious to know whether anyone coded database monitoring scripts on Windows using PowerShell or any other scripting language.
I'm trying write a JavaScript generator to perform pattern match validations using existing pattern match expressions in a legacy application.
I could make a server call to perform the pattern match operation but is there a way to automatically translate the pattern match expressions into RegEx expressions so I can perform the operation in JavaScript on the client to save making an Ajax call back to the server?
Maybe someone has a logger for incoming CSP requests and willing to share? Debugging high traffic HTTPS application and wireshark just doesn't cut it sometimes. So I thought I'd ask here. I'm especially interested in getting raw stream of incoming request.
I have 3 classes defined to model the team/team-member/employee relationship, where each employee can belong to multiple teams, each team can have multiple employees, and one and only one team member is a team leader:
I'm trying to install IRIS 2021.1 in the Ubuntu 18.04 but all the time I got the message below:
Starting installation Starting up InterSystems IRIS for loading... Invalid ownership for ./irisdb InterSystems IRIS is already up! Status code is 1 InterSystems IRIS failed to start. Check /mnt/WinData/InterSystemsLinux/mgr/messages.log for more details. Call InterSystems Technical Support if you need assistance.
* Installation aborted *
Post-installation tasks failed, installation is not complete
ML Toolkit for InterSystems IRIS, besides Python/R/Julia, allows orchestrating cloud-based advanced analytics services, such as Microsoft Azure Data Factory and Machine Learning:
I'm trying to rewind a cursor back to the first row after looping part of the way through the implied result set, but I'm not finding a way to make this happen, is there some such iterator variable or directive that I can leverage to accomplish this?
I could code around it by pulling identifiers and/or values into a local array, and then hand code up an iterator over my local results copy, but this feels like a "redesigning of a wheel" approach, and I thought I would check before I start down this path.
I'm proud to announce the new release of iris-pex-embedded-python (v2.3.1) with a new command line interface.
This command line is called iop for Interoperability On Python.
First I would like to present in few words the project the main changes since the version 1.
A breif history of the project
Version 1.0 was a proof of concept to show how the interoperability framework of IRIS can be used with a python first approach while remaining compatible with any existing ObjectScript code.
What does it mean? It means that any python developer can use the IRIS interoperability framework without any knowledge of ObjectScript.
Example :
from grongier.pex import BusinessOperation
class MyBusinessOperation(BusinessOperation):
def on_message(self, request):
self.log.info("Received request")
This concept may be known to some, but I just found it very useful and I would like to share as it may help someone else.
If you are working with CSP or Zen you sometimes come across the need to use embedded JavaScript. Suppose you are working with some loops, which use < or > as shown in example below:
How do we return a member from a set? For example if I want a calculated measure to return the NAME of the date with the max transactions, to get the set ordered I might do something like:
But how do I access the first member in the set as a member so that I can get to the properties such as the member NAME (what I want to return in this case)?
In some MDX implementations like Microsoft there are kind of backdoor functions for this like:
I'm pleased to announce that ObjectScript package publishing is now generally available on Open Exchange with this November 2019 release!
If you want your ObjectScript application to be published in ObjectScript Package Manager just enable "Publish in Package Manager" option:
And send the app on approving.
Once the application is approved it will be published automatically in ObjectScript Package Manager Registry and will be available for installation via ZPM client.
Every day coding with IRIS and docker I call the following 3 commands in VSCode terminal. Always the same for any projects:
docker-compose build ; to build the container
docker-compose up -d ; to run the IRIS in container
docker-compose exec iris iris session iris ; to open the IRIS terminal
Is there any way to map the key sequence which will type me the rest?