Questions tagged [mumps]

MUMPS is a high-performance, hierarchical NoSQL database with an embedded general-purpose programming/scripting language, originating in Massachusetts General Hospital in 1966 and widely used in healthcare and finance.

MUMPS, also called M, is a high-performance, hierarchical NoSQL database with an embedded general-purpose programming/scripting language. The MUMPS programming language, which dates back to 1966, provides transparent database access, weak typing, and late binding of named variables, as well as abstract I/O and very convenient string manipulation. MUMPS systems are spectacularly fast and very good at handling sparse data, but legacy MUMPS code can be very difficult for programmers educated in C-descended traditions to understand.

The two major MUMPS implementations today are the free (GNU Affero license), open-source, no-frills GT.M, and the commercial Intersystems Caché, which provides numerous extra features and extensions, including object-oriented language extensions and powerful reporting software. Notable MUMPS users include the US Veterans' Administration (for its VistA software), Epic Systems Corporation, GE Healthcare, Ameritrade, and Barclays Bank.

84 questions
11
votes
7 answers

Need MUMPS Sample Code

I am working on an analysis tool for which I need MUMPS sample code. Can anyone provide me MUMPS live code or sample code? Also suggest some links for same.
Tina
  • 127
  • 1
  • 1
  • 3
5
votes
2 answers

M - Whats wrong with this simple for loop

I am interfacing with a fis-gtm based mumps system and I needed some test data on my local Linux installaion (fis-gtm V6.2 on CENTOS 7). So I read the manuals and came up with:-- set nword(1)="one" set nword(2)="two" set nword(3)="three" set…
James Anderson
  • 27,109
  • 7
  • 50
  • 78
5
votes
2 answers

MUMPS can't format Number to String

I am trying to convert larg number to string in MUMPS but I can't. Let me explain what I would like to do : s A="TEST_STRING#12168013110012340000000001" s B=$P(A,"#",2) s TAB(B)=1 s TAB(B)=1 I would like create an array TAB where variable B will be…
oxxio
  • 51
  • 2
4
votes
3 answers

GT.M, any experience with it?

Looking for NOSQL engines I found about GT.M here: http://www.slideshare.net/robtweed/gtm-a-tried-and-tested-schemaless-database At first look good, with SQL ODBC support. But I wonder if exist real experience with this? Somebody have use it?
mamcx
  • 15,916
  • 26
  • 101
  • 189
4
votes
5 answers

query on MUMPS from asp.net/C#

Does anybody know how to query from MUMPS database using C# without using KBSQL -ODBC? We have requirement to query from MUMPS database (Mckesson STAR Patient care) and when we use KBSQL it is limited for 6 concurrent users. So we are trying to…
porhills
  • 157
  • 3
  • 13
3
votes
2 answers

Try-Finally Equivalent in Caché ObjectScript

I'm looking for the equivalent semantics to the popular Try-Finally exception cleanup pattern, e.g. Why use try … finally without a catch clause? The idea is that you have cleanup steps that need to happen regardless of whether the code succeeds or…
Chris Smith
  • 5,326
  • 29
  • 29
3
votes
4 answers

Where can I find implementation details of the Mumps globals?

I am looking for a detailed definition/discussion of Mumps globals implementation. There is a document titled "MUMPS Globals and Their Implementation", but I have not been able to find any way to order it, let alone access a digital copy. (it was…
mahonya
  • 9,247
  • 7
  • 39
  • 68
3
votes
1 answer

How to use MUMPS with .NET?

I want to know how can i communicate with MUMPS using C# .NET? There is a requirement where i have to develop the UI in .NET using any of the .NET technology like ASP.NET, WPF or Silverlight etc. But the backend it will be old 60s MUMPS which is…
Vjendra Gaorh
  • 318
  • 2
  • 15
2
votes
3 answers

How to solve %GTM-E-GDINVALID, Unrecognized Global Directory file format: mumps.gld, expected label: GTCGBDUNX007, found: GTCGBDUNX006?

I am getting this error with GT.M: %GTM-E-GDINVALID, Unrecognized Global Directory file format: /home/blah/gt.m/example/mumps.gld, expected label: GTCGBDUNX007, found: GTCGBDUNX006 Here is what I did so far: get the version…
h4ck3rm1k3
  • 2,060
  • 22
  • 33
2
votes
2 answers

Query Regarding Mumps Statement

what is the meaning of F :":::A:""T"""::$X::::"*":J%% this statement?
Rachana
  • 59
  • 3
2
votes
2 answers

mumps syntax declaration

Q ZR $ZTLP I Q=-1 S Q,A=F G T I Q< S A=F G R How to identify Label, Keyword and Variable in MUMPS? What is Q in above code? i.e. Label, Variable or Key word? What are the rules to define variable keyword and subroutine? Otherwise it is difficult…
bhas
  • 49
  • 2
2
votes
3 answers

Mumps Syntactical conflicts

I am learning Mumps language while analyzing code got a doubt which is what is difference between B%% vs %%B. But refference doc the syntax i have seen only %%B format but in code they had use like B%% Bhas
bhas
  • 49
  • 2
2
votes
4 answers

mumps lanaguage FOR loop related

if i define For K="ABC":1:3 now what is the value of "ABC",how the loop to excute "ABC" or instead of that ABC if i take any "string", how does increment the string "ABC". Bhas
user520057
  • 29
  • 1
  • 3
2
votes
1 answer

Difference between routines and naked global indicators

I am working on MUMPS in my recent project. I have a question regarding naked indicators. I am confused between routines and naked global references. Can anybody help me to understand the difference between routines and naked indicators? The syntax…
Tina
  • 21
  • 1
2
votes
1 answer

What's the language-agnostic algorithm for finding the "Same day of week last year"

I want to find the "same day of the week last year". I'm sure that question is going to have litany of subtleties that I've not yet begun to think about but I believe this question is likely a common one. Here are a few use cases where someone…
Taylor C. White
  • 836
  • 1
  • 12
  • 30
1
2 3 4 5 6