Tips & Tricks

Subscribe to Tips & Tricks content with RSS Syndicate content or email

Macros in the InterSystems Caché

In this article I would like to tell you about macros in InterSystems Caché. A macro is a symbolic name that is replaced with a set of instructions during compilation. A macro can “unfold” in various instruction sets each time it is called, depending on the parameters passed to it and activated scenarios. This can be both static code and the result of ObjectScript execution. Let's take a look at how you can use them in your application.

views

rating

Declarative development in Caché

Caché offers a number of methods for going through a collection and doing something with its elements. The easiest method uses a while-loop and lets you fulfill the task in an imperative manner.

views

rating

Terminal tip: Running OS-level commands

When working at the Caché command prompt I sometimes want to run an operating system command on the server host.

views

rating

Terminal tip: What's running in my namespace?

When working at a terminal prompt the %SS routine lets me see what's running on the instance:

USER>d ^%SS

views

rating

Portal tip: Working in a different language

Recently I was conducting a remote support session with a site. The desktop they were sharing with me was on a PC configured with German as the native language.

views

rating

Bug killing development tips

Does anyone NOT use a debugger? I can't remember the last time I did. It's not because I don't dislike them, I just don't need to use them.

views

rating

What you could miss about Unicode and how it is stored in Caché

It was my answer to the question appeared in GoogleGroups. And when I answered there I figured out that it might worth to post an article and to add some light on how Unicode is stored in Caché.

views

rating

Removing Possible Duplicate Values in a HL7 Message

I have a case where I have a SIU message that has multiple RGSgrp's.

views

rating

Experiences in synchronising non-CACHE.DAT data in a Mirrored environment

Hi All

I'm looking for some field experiences, lessons learned, or actual deployed solutions to the problem of replicating non-CACHE.DAT data in a mirrored Cache environment.  

Environment:

views

rating

Yape - Yet another pButtons extractor (and automatically create charts)

Working with customers on performance reviews, capacity planning and trouble-shooting I am often unpacking and reviewing Caché and Operating System metrics from pButtons.

views

rating

How would one convert an image to a PDF using HealthShare

Suppose I have an image and need to convert that image into a PDF for inclusion in an HL7.

views

rating

Portal tip: Exploring contents of Databases, not Namespaces

Prompted by this post about accessing a global at its original location after you have changed a mapping, here's a tip about one specific dropdown in Portal that's sometimes useful.

views

rating

Diagnosing the cause of <PROTECT> errors

If your application is raising <PROTECT> errors and you're finding it hard to work out why, here's a way to get additional information.

First, if auditing is not already enabled, turn it on:

views

rating

When CACHE means cache and not Caché

I only recently noticed the presence of a local database named CACHE alongside the more familiar CACHESYS, CACHELIB, CACHETEMP and CACHEAUDIT.

views

rating