home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / b037_1 / !MUMPS_UserDoc_Intro < prev    next >
Encoding:
Text File  |  1993-06-29  |  3.7 KB  |  96 lines

  1.  
  2. Archimedes MUMPS v1.0 documentation
  3.  
  4.  
  5. INTRODUCTION
  6.  
  7.  
  8.  
  9. What is MUMPS?
  10.  
  11. MUMPS is a database programming language that supports multiple tasks and
  12. more than one user. It is a comprehensive, high-level language developed in
  13. 19xx for 'small' computers with very large 'background' memories and many
  14. users. The MUMPS acronym stands for:
  15. 'Massachusetts General Hospital Utility Multi-Programming System'.
  16.  
  17.  
  18.  
  19. Why is it so good?
  20.  
  21. Because of the high level of the language and because MUMPS is an 'ANSI
  22. standard' language, MUMPS routines are *VERY* portable, Any standard MUMPS
  23. routine will run without modification on any platform. MUMPS is very
  24. suitable for hiding all sorts of system specifics in just one routine,
  25. which means you only have to adapt a very small part of your entire
  26. database system for a new computer, terminal or user (only IO is affected).
  27. Another consequence of the high-level of the language is that all routines
  28. in your self-programmed database system can be very short and still perform
  29. a lot of tasks.
  30.  
  31.  
  32.  
  33. The database
  34.  
  35. The database(s) in a MUMPS system are built using sophisticated B-tree
  36. storage and retrieval algorithms that are completely invisible to the user
  37. (except for the fact that the user will notice that they are fast and
  38. efficient !) It is not necessary for MUMPS to load an entire database in
  39. memory before it can be used, MUMPS loads only those parts that are needed.
  40. Data is stored using indexes which can be built up from *ANY* string of
  41. characters, for example, you can have databases indexed like this:
  42.  
  43. ^PHONENR("020-6385065")="VERWEIJ^1" and:
  44. ^PERSON("VERWEIJ",1)="Bijltjespad^22^1018KH^020^6385065" and:
  45. ^CITY("020")="AMSTERDAM".
  46.  
  47. This way you can build multiple databases (^PHONENR,^PERSON and ^CITY)
  48. linked together to provide easy access for the user (and database
  49. programmer!). The user doesn't have to remember any difficult codes like
  50. '6009629452+21' and the programmer can index the data in the database with
  51. the input from the user. Also, databases can be treated just as if they
  52. consist of sets of ordinary variables! You can type: 'SET A(100)=100*100'
  53. (which sets the local variable A(100)) or you can type:
  54. 'SET ^A(100)=100*100' (which sets the *GLOBAL* variable ^A(100)). Note the
  55. '^' character in front of the A, it says that this variable is to be kept on
  56. disk (ie stored in the database)!
  57.  
  58. You can see immediately from this small example that MUMPS is a very
  59. powerful language. And you don't have to wait ten minutes when MUMPS is
  60. searching for ^NAME("ZWART") in a database with 100000 names in it! The
  61. B-tree structure provides fast access with equal access-times for all items
  62. in the database.
  63.  
  64.  
  65.  
  66. Getting started
  67.  
  68. When you start MUMPS, you will be requested to 'log in' to the system. When
  69. requested for a 'UCI', type "SPE:SPEL" (without quotes, of course). This is
  70. the games UCI (User Class Identifier). Most if not all the games are in
  71. Dutch. You are presented with a menu, if you type "?" MUMPS will show you
  72. all the games you can play. Quitting from the menu is achieved by typing
  73. "S". At any time, typing a "S" or a <RETURN> or <ENTER> will quit what your
  74. doing at the moment. Choose any game by typing it's number at the menuprompt
  75. "Keuze:".
  76.  
  77. When you quit, MUMPS will print "Goodbye". You can then login to another
  78. UCI, or the same again.
  79.  
  80.  
  81. Getting out!
  82.  
  83. If you want to quit MUMPS completely, type "STOP" at the login prompt. It is
  84. very important to do this, because database corruption will result if you
  85. don't!
  86.  
  87. If you want to program in MUMPS, login with "<UCI>:*", where <UCI> is of
  88. course a valid UCI name, consisting of three letters. To leave a
  89. programmer's shell, type "HALT" (or just "H"). More info on programming in
  90. MUMPS can be found in the files "ProgEnv" and "Commands".
  91.  
  92.  
  93.  
  94. /* end of Intro */
  95.  
  96.