Article
Alexander Koblov · Jul 1, 2019 2m read
Transaction suspencion

It’s often useful to make changes inside the current transaction, that would not be rolled-back if transaction is rolled-back. For example to do some logging.

This can be achieved by using global that is mapped to temporary database -- IRISTEMP. All globals that start with ^IRIS.Temp* are mapped to IRISTEMP by default. Problem with such approach is that IRISTEMP is cleaned on InterSystems IRIS restart, so this log is lost.

What else you can do is -- suspend transaction temporarily, do the logging, and then resume the same transaction.

20
1 8 296

Interesting anecdote I want to share. Not 100% Caché related, but I hope it would be useful.

When CSP Gateway is configured on IIS, opening CSP Gateway Configuration page is prohibited by default -- as IIS blocks URLs with '/bin' in it.

In our documentation we advise to add <remove segment="bin" /> to applicationHost.config file.
That is correct.

40
0 0 570

"Related conversations" section shows only comments number.

 In fact, these topics might also have answers.

For example, on next screenshot there are three topics in Related conversations section (on the right).

All three of them have answers, but they are shown as having 0 comments, thus seem as unanswered.

00
0 0 92

Currently if I accidentally rate article as 4 I cannot change my vote.

Personally I'd prefer just +/- under the article.

There is thin line between 3 and 4 for the article or 2 and 1. Like/dislike is better in my opinion.

00
0 2 110