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

  1.  
  2. Archimedes MUMPS v1.0 documentation
  3.  
  4.  
  5. SYSTEM MANAGEMENT
  6.  
  7. The database can be expanded or created again by giving !MUMPS some
  8. parameters. The general syntax of !MUMPS is:
  9.  
  10. !MUMPS MUMPS-info-file [-setdata n | -expand n ]
  11.  
  12. Database creation and expansion will have to be done by hand. If the path to
  13. the directory where !MUMPS resides is called P, type at the RISC OS command
  14. line:
  15.  
  16. <P>.!MUMPS.!RunImage <P>.!MUMPS.AMinfo -setdata x
  17.  
  18. where x is the size of the database in Kbytes, to create a new database.
  19. This kills the old file IMMEDIATELY, be careful!
  20. When you've just created a database it is not possible to login in a normal
  21. way, because the MUMPS routine %SYSMAN (the system manager) does not exist
  22. yet. The way to get around this is to type:
  23.  
  24. <P>.!MUMPS.!RunImage <P>.!MUMPS.AMinfo -I
  25.  
  26. for immediate access to the MUMPS system (e.g. %SYSMAN is not started and
  27. you enter the system UCI "SYS" immediately). Now type a "?" and a list of
  28. 'previous' commands will be given. The first line of commands loads the
  29. "routine restore" routine from disk, select it by typing "!0". Adjust the
  30. filename using <Ctrl-K> and <Backspace> if necessary. Type <Return> when the
  31. filename and it's path are correctly entered. (The directory "MMP" resides
  32. within the !MUMPS application directory.) %RR will now be loaded into the
  33. computers RAM. Save %RR by typing ZS<Return>. Now you must load the other
  34. system routines from the file <P>.MMP.PROC/PRG (if you set the current
  35. directory to the directory that contains !MUMPS, you can leave out the
  36. "<P>."!). Type "D ^%RR" and "<P>.MMP.PROC/PRG" when asked for "Inputfile:".
  37. %RR will show you when the routines were saved and ask you if you want to
  38. restore them. Type a <Return>. The %routines will be restored. Next you must
  39. restore the system globals, using %GR. Type "D ^%GR" and specify just like
  40. before the file PROC/GBL. Confirm that you want to restore. The globals will
  41. be restored. Now you can savely type "ZH" and start !MUMPS in the normal way
  42. by double-clicking on it's icon.
  43.  
  44. Expanding the database
  45.  
  46. Type, at the RISC OS command line:
  47.  
  48. <P>.!MUMPS.!RunImage <P>.!MUMPS.AMinfo -expand x
  49.  
  50. where x is the number of Kbytes you want to expand the database with and
  51. <P> is the path that leads to the directory containing !MUMPS. Data is not
  52. lost, at least, when everything is ok! If you get errors during expansion,
  53. the database will be corrupt (map blocks will be lost). This means that
  54. enough free disk space must be available!
  55.  
  56.  
  57. End of System
  58.