Install VistA p.5

From VistApedia
Jump to: navigation, search

PageFive Created Wednesday 22 October 2008

10. Change your mumps.gld file to point along the right path to your mumps.dat file. Even though the mumps.gld file is largely unreadable, if you cat it you will be able to read the path it is using in text. For starters, it will almost certainly be pointed at the wrong file. Use the global directory editor to make the change. Typing GDE should start up the editor if you have the environment set up with env2. Change the part after -file= to match your environment. If you don't do it in a sensible fashion, when you type exit, GDE will tell you you goofed! If you cut and paste this line in, use right-click-copy and right-click-paste; don't use control characters.

When you start, it should look something like this:

vista@computer:~$ cat /home/vista/EHR/g/mumps.gld       

GTCGBDUNX005D����,���4�#)�%����������������������������������D
EFAULT���dd��DEFAULT�/home/nancy/EHR/g/mumps.dat	� N�GTCGBDUNX005D����,
���4�#)�%����������������������������������I�.DAT�002BG00310000110031280010
00310000000100026400100032560010002BG0031000041024000000003100007DYNAMIC0041024002
400010000002MM00310000410240000011003100007DYNAMIC0041024002400010000 

Here is what you enter:

GDE
   change -segment DEFAULT -file=/home/vista/EHR/g/mumps.dat
   exit

This is what it looks like:

vista@computer:~$ GDE
%GDE-I-LOADGD, Loading Global Directory file
        /home/nancy/EHR/g/mumps.gld
%GDE-I-VERIFY, [[Verification~|Verification]] OK


GDE> change -segment DEFAULT -file=/home/vista/EHR/mumps.dat
GDE> exit
%GDE-I-VERIFY, [[Verification~|Verification]] OK

%GDE-I-GDUPDATE, Updating Global Directory file
        /home/vista/EHR/g/mumps.gld

Now check to be sure it worked:

~/EHR$ cat /home/vista/EHR/g/mumps.gld

GTCGBDUNX005D����,���4�#)�%����������������������������������DEFAULT���dd��DEFAU
LT�/home/vista/EHR/g/mumps.dat� N�I.DAT002BG0031000011003128001000310000000100
026400100032560010002BG0031000041024000000003100007DYNAMIC0041024002400010000002
MM00310000410240000011003100007DYNAMIC0041024002400010000            

Install VistA p.6