Difference between revisions of "Setting Mumps Routines"

From VistApedia
Jump to: navigation, search
 
Line 545: Line 545:
  
  
**Determine the "BOX:VOLUME pair" for the machine.
+
Now, let's determine the "BOX:VOLUME pair" for the machine.
 
   
 
   
 
GTM>'''D GETENV^%ZOSV W Y'''
 
GTM>'''D GETENV^%ZOSV W Y'''

Latest revision as of 20:11, 25 May 2005

Setting up Routines - renaming routines, selecting mumps OS, selecting correct routines, identifying the UCI and Volume Sets

ZTMGRSET - Define the Vista global variables and save the system M routines for your operating system.


GTM>D ^ZTMGRSET

ZTMGRSET Version 8.0 **34,36,69,94,121,127,136,191,275**

HELLO! I exist to assist you in correctly initializing the current account.


THIS MAY NOT BE THE MANAGER UCI.

I think it is VAH,ROU. Should I continue anyway? N//Y

I think you are using GT.M (Unix)

Which MUMPS system should I install?

1 = VAX DSM(V6), VAX DSM(V7)

2 = MSM-PC/PLUS, MSM for NT or UNIX

3 = OpenM for NT, Cache/NT, Cache/VMS

4 = Datatree, DTM-PC, DT-MAX

5 = MVX,ISM VAX

6 = ISM (UNIX, Open VMS)

7 = GT.M (VMS)

8 = GT.M (Unix)

System: 8//8

I will now rename a group of routines specific to your operating system. Routine: ZOSVGUX Loaded, Saved as %ZOSV

Routine: ZTBKCGUX Missing

Routine: ZIS4GTM Loaded, Saved as %ZIS4

Routine: ZISFGUX Missing

Routine: ZISHGUX Loaded, Saved as %ZISH

Routine: XUCIGTM Loaded, Saved as %XUCI

Routine: ZISETGUX Missing

Routine: ZOSV2GTM Loaded, Saved as %ZOSV2

Routine: ZISTCPS Loaded, Saved as %ZISTCPS

NAME OF MANAGER'S UCI,VOLUME SET: VAH,ROU//

The value of PRODUCTION will be used in the GETENV api.

PRODUCTION (SIGN-ON) UCI,VOLUME SET: VAH,ROU//

The VOLUME name must match the one in PRODUCTION.

NAME OF VOLUME SET: ROU//

The temp directory for the system: '/tmp/'//

^%ZOSF setup

Now to load routines common to all systems.

Routine: ZTLOAD Loaded, Saved as %ZTLOAD

Routine: ZTLOAD1 Loaded, Saved as %ZTLOAD1

Routine: ZTLOAD2 Loaded, Saved as %ZTLOAD2

Routine: ZTLOAD3 Loaded, Saved as %ZTLOAD3

Routine: ZTLOAD4 Loaded, Saved as %ZTLOAD4

Routine: ZTLOAD5 Loaded, Saved as %ZTLOAD5

Routine: ZTLOAD6 Loaded, Saved as %ZTLOAD6

Routine: ZTLOAD7 Loaded, Saved as %ZTLOAD7

Routine: ZTM Loaded, Saved as %ZTM

Routine: ZTM0 Loaded, Saved as %ZTM0

Routine: ZTM1 Loaded, Saved as %ZTM1

Routine: ZTM2 Loaded, Saved as %ZTM2

Routine: ZTM3 Loaded, Saved as %ZTM3

Routine: ZTM4 Loaded, Saved as %ZTM4

Routine: ZTM5 Loaded, Saved as %ZTM5

Routine: ZTM6 Loaded, Saved as %ZTM6

Routine: ZTMS Loaded, Saved as %ZTMS

Routine: ZTMS0 Loaded, Saved as %ZTMS0

Routine: ZTMS1 Loaded, Saved as %ZTMS1

Routine: ZTMS2 Loaded, Saved as %ZTMS2

Routine: ZTMS3 Loaded, Saved as %ZTMS3

Routine: ZTMS4 Loaded, Saved as %ZTMS4

Routine: ZTMS5 Loaded, Saved as %ZTMS5

Routine: ZTMS7 Loaded, Saved as %ZTMS7

Routine: ZTMSH Loaded, Saved as %ZTMSH

Routine: ZTER Loaded, Saved as %ZTER

Routine: ZTER1 Loaded, Saved as %ZTER1

Routine: ZIS Loaded, Saved as %ZIS

Routine: ZIS1 Loaded, Saved as %ZIS1

Routine: ZIS2 Loaded, Saved as %ZIS2

Routine: ZIS3 Loaded, Saved as %ZIS3

Routine: ZIS5 Loaded, Saved as %ZIS5

Routine: ZIS6 Loaded, Saved as %ZIS6

Routine: ZIS7 Loaded, Saved as %ZIS7

Routine: ZISC Loaded, Saved as %ZISC

Routine: ZISP Loaded, Saved as %ZISP

Routine: ZISS Loaded, Saved as %ZISS

Routine: ZISS1 Loaded, Saved as %ZISS1

Routine: ZISS2 Loaded, Saved as %ZISS2

Routine: ZISTCP Loaded, Saved as %ZISTCP

Routine: ZISUTL Loaded, Saved as %ZISUTL

Routine: ZTPP Loaded, Saved as %ZTPP

Routine: ZTP1 Loaded, Saved as %ZTP1

Routine: ZTPTCH Loaded, Saved as %ZTPTCH

Routine: ZTRDEL Loaded, Saved as %ZTRDEL

Routine: ZTMOVE Loaded, Saved as %ZTMOVE

Want to rename the FileMan routines: No//Y

Routine: DIDT Loaded, Saved as %DT

Routine: DIDTC Loaded, Saved as %DTC

Routine: DIRCR Loaded, Saved as %RCR

Setting ^%ZIS('C')

Now, I will check your % globals........... ALL DONE

GTM>

Now, initialize FileMan to set the site name and number.

GTM>D ^DINIT

Give the site a site name and 4 digit site number.

You can run D ^DINIT again to see if you changes were successful and choose

GT.M when offered a choice of MUMPS system you are using.

GTM>D ^DINIT

VA FileMan V22.0

Initialize VA FileMan now? NO//YES

SITE NAME: OSWIZARDS VISTA//BONEZ OSWIZARDS VISTA

SITE NUMBER: 1234//1234

..........................

Now loading MUMPS Operating System File....

Now loading DIALOG and LANGUAGE Files..........................................................


TYPE OF MUMPS SYSTEM YOU ARE USING: GT.M(UNIX)//

Now loading other FileMan files--please wait.................................... ................................................................................ ................................................................................ ............. ..........

The following files have been installed:

.11 INDEX

.2 DESTINATION

.31 KEY

.4 PRINT TEMPLATE

.401 SORT TEMPLATE

.402 INPUT TEMPLATE

.403 FORM

.404 BLOCK

.44 FOREIGN FORMAT

.46 IMPORT TEMPLATE

.5 FUNCTION

.6 DD AUDIT

.7 MUMPS OPERATING SYSTEM

.81 DATA TYPE

.83 COMPILED ROUTINE

.84 DIALOG

.85 LANGUAGE

1 FILE

1.1 AUDIT

1.11 ARCHIVAL ACTIVITY

1.12 FILEGRAM HISTORY

1.13 FILEGRAM ERROR LOG

1.2 ALTERNATE EDITOR

1.521 SQLI_SCHEMA

1.52101 SQLI_KEY_WORD

1.5211 SQLI_DATA_TYPE

1.5212 SQLI_DOMAIN

1.5213 SQLI_KEY_FORMAT

1.5214 SQLI_OUTPUT_FORMAT

1.5215 SQLI_TABLE

1.5216 SQLI_TABLE_ELEMENT

1.5217 SQLI_COLUMN

1.5218 SQLI_PRIMARY_KEY

1.5219 SQLI_FOREIGN_KEY

1.52191 SQLI_ERROR_TEXT

1.52192 SQLI_ERROR_LOG

Re-indexing entries in the DIALOG file.....................

Compiling all forms ...

DICATT (#.001)

DIPTED (#.1001)

DIKC EDIT (#.1101)

DIKC EDIT UI (#.1102)

DIKK EDIT (#.3101)

DIBTED (#.40001)

DIETED (#.40101)

DIEDIT (#.40201)

DDGF BLOCK EDIT (#.40301)

DDGF PAGE ADD (#.40302)

DDGF PAGE EDIT (#.40303)

DDGF PAGE SELECT (#.40304)

DDGF FORM EDIT (#.40305)

DDGF HEADER BLOCK EDIT (#.40306)

DDGF FIELD ADD (#.40401)

DDGF FIELD CAPTION ONLY (#.40402)

DDGF FIELD DD (#.40403)

DDGF FIELD FORM ONLY (#.40404)

DDGF FIELD COMPUTED (#.40405)

DDGF BLOCK ADD (#.40406)

DDGF BLOCK DELETE (#.40407)

DDGF HEADER BLOCK SELECT (#.40408)

DDXP FF FORM1 (#.441)

DDMP SPECIFY IMPORT (#.461)

XPD EDIT BUILD (#1)

XUEDIT CHARACTERISTICS (#2)

XUEXISTING USER (#3)

XUDEVICE MT (#4)

XUDEVICE SDP (#5)

XUDEVICE SPL (#6)

XUDEVICE HFS (#7)

XUDEVICE CHAN (#8)

XU OPTION SCHEDULE (#9)

XUSERDEACT (#10)

XUTM UCI ASSOC (#11)

XUSITEPARM (#12)

XUAUDIT (#13)

XUREACT USER (#14)

PRSA TD EDIT (#15)

PRSA OT REQ (#16)

PRSA TD DISP (#17)

PRSA TL EDIT (#18)

PRSA TL DISP (#19)

PRSA LV REQ (#20)

PRSA ED REQ (#21)

PRSA VC POST (#22)

PRSA PM POST (#23)

PRSA TD TL (#24)

PRSA TP POST1 (#25)

PRSA TE EDIT (#26)

PRSA FEE POST (#27)

NURA-I-SERVICE (#28)

XU-PERSON CLASS (#29)

XUNEW USER (#30)

SPNLPFM1 (#31)

SPNFFRM1 (#32)

SPNFFRM2 (#33)

SPNLPFM2 (#34)

XPD EDIT MP (#35)

XPD EDIT GP (#36)

PRCHQ1 (#37)

PRCHQ2 (#38)

PRCHQ3 (#39)

PRCHQ4 (#40)

PRCHQ5 (#41)

SPNLP FUN MES (#42)

SPNLP FIM FM1 (#43)

SPNLP CHART FM1 (#44)

SPNLP MS FM1 (#45)

SPNE ENTER/EDIT SYNONYM (#46)

LREPI (#47)

ENPR MS (#48)

ENPR ALL (#49)

ENPR PRELIM (#50)

ENPR AE (#51)

ENPR CO (#52)

ENPR CHG (#53)

ABSV ADD/EDIT MASTER (#54)

XQEDTOPT (#55)

XU-INST-EDIT (#56)

LREPIPROT (#57)

XUTMKE ADD (#58)

WV PROC-FORM-1 (#59)

WV NOTIF-FORM-1 (#60)

WV PATIENT-FORM-1 (#61)

WV NOTIF-FORM-2 (#62)

WV PROC-FORM-2-COLP (#63)

WV NOTIFPURPOSE-FORM-1 (#64)

WV SITE PARAMS-FORM-1 (#65)

WV REFUSED PROCEDURE-ENTRY (#66)

WV PROC-FORM-LAB (#67)

XDR RESFILE FORM (#68)

HL SITE PARAMETERS (#69)

PSB PRN EFFECTIVENESS (#70)

PSB MED LOG EDIT (#71)

PSBO DL (#72)

PSBO WA (#73)

PSBO ML (#74)

PSBO MM (#75)

PSBO PE (#76)

PSB MISSING DOSE REQUEST (#77)

PSBO MH (#78)

PSBO MV (#79)

PSB MISSING DOSE FOLLOWUP (#80)

PSBO BL (#81)

PSBO MD (#82)

PSB NEW UD ENTRY (#83)

PSB NEW IV ENTRY (#84)

HL7 APP (#85)

HL7 LOGICAL LINK (#86)

HL7 INTERFACE (#87)

SPNLP ASIA MES (#88)

PSB MED LOG EDIT IV (#89)

SPNLP FAM FM1 (#90)

SPNLP DIENER FM1 (#91)

SPNLP DUSOI FM1 (#92)

XU-CLINICAL TRAINEE (#93)

XUSSPKI (#94)

INSTITUTION EDIT (#95)

PRSA LD POST (#96)

XUDEVICE LPD (#97)

XUDEVICE TRM (#98)

KMPD PARAMETERS EDIT (#99)

LREPI9 (#100)

BPS EOB TO BATCH (#101)

BPS BPSOSPW (#102)

BPS INPUT 1 (#103)

INITIALIZATION COMPLETED IN 13 SECONDS.


Now, let's determine the "BOX:VOLUME pair" for the machine.

GTM>D GETENV^%ZOSV W Y

VAH^ROU^bonez^ROU:bonez

GTM>

The BOX:VOLUME pair for this machine is ROU:bonez

UCI^VOL^NODE^BOX:VOLUME

UCI = VAH

VOL = ROU

NODE = bonez

BOX = ROU

VOLUME = bonez