What follows are instructions for installing VistA using Caché v5 in a Microsoft Windows operating system. The Vista software is available from the Department of Veterans Affairs' ftp site as a zipped CACHE.DAT file. (Note: The VA's ftp site is not compatible with Netscape's ftp. Either use Windows Explorer or FTP software). These instructions are the result of contributions from many. Information came from web sites such as www.hardhats.org and www.seaislandsystems.com, from the Hardhats mailing list, from responses to questions addressed to or provided by specific individuals working outside the list, from technical support from www.intersystems.com, from the lessons learned by those who assembled this list and from the documentation provided with VistA and Caché. Others also helped to format and set up this document for release and post it on the HardHats site. There were many testers and reviewers of the instructions as well. Thank you all and congratulations for finally getting these instructions done!
Most of Vista is written in Standard MUMPS. If you are new to the M language, check out the www.hardhats.org web site for more information. You might consider looking at the paperback M Programming, A Comprehensive Guide by Richard F. Walters (1997) and the CD M[UMPS] by Example by Ed de Moel (2000) or the online version at http://207.224.6.57 which has a language reference which is hyperlinked. The hardhats.org web site has a brief listing of some of the useful routines at http://www.hardhats.org/tools/MUtil_VA.html and http://www.hardhats.org/tools/MUtilframe.html. It may be helpful to look at the list as you continue to help give yourself a better idea of what you are doing with each step. http://www.freem.net/language.txt also has a nice short and to the point M language reference as is http://www.geocities.com/SiliconValley/7041/mwm001/mw001tyt.html#Top. The VA provides extensive on-line documentation on Vista at http://www.va.gov/vdl/. Intersystems provides documentation on Caché at http://www.intersystems.com/downloads/documentation/index.html and the downloaded version.
Some quick advice for getting yourself out of trouble once you start working in FileMan. Hitting enter repeatedly will generally get you back to a prompt you can understand and typing in "^" will exit the routine. There is very often help available by typing ?, ?? or ???. There are various levels of help at times. A good default to try is ??. Hitting enter selects defaults. For example, if you hit enter after this prompt, INPUT TO WHAT FILE: NEW PERSON//, it will select the NEW PERSON file. Typing ?? would give you a list of files you could choose instead.
1. |
Install Caché (The free single user version of Caché 5.0 from ftp.intersystems.com/pub/cache/cache5SU/ as an anonymous user.). These are the instructions for the Windows version. Accept all of the defaults. Cache 5.0 is quite dated now, although it will work. The instructions for the installation and mapping of the VistA Routines and Globals for using Cache 5.2 may be downloaded from http://OpenSourceVistA.net:8888/NancysVistAServer . They are available in Open Document Format and in Word format and are titled InstallingVistAWithSingleUserVersionOfCache5.2 you can follow these instructions instead of what follows up until step 32. |
2. |
Create the directory c:\CacheSys\Mgr\Vista and unzip CACHE.zip into it. The Cache.zip file we used was dated 4/5/2003 and was 137 Mb (141,243,089 bytes). The unzipped CACHE.DAT was also dated 4/5/2003 and was 430 Mb (451,379,200 bytes). |
4. |
Right Click on the Caché Cube and choose Documentation. Make sure it opens up and you can search it. If it doesn't, it is likely a firewall is blocking your access to CacheWeb. As of 5/03, McAfee firewall will need to be uninstalled entirely and other firewalls may need to be disabled. support@instersys.com can help you if you need it. If all goes well opening the documentation, then continue. |
5. |
Right Click on the Caché Cube again and choose Configuration Manager. |
6. |
Choose Databases tab then click Add. A database is a physical disk location where M programs and data are located. |
|
|
|
|
7. |
Type "VISTA" in the Database window then click Next>. |
|
|
|
|
8. |
Pick location C:\Cachesys\Mgr\Vista then click Next. |
|
|
|
|
9. |
Answer Yes to the question do you wish to use CACHE.DAT and then click Finish. |
|
|
|
|
|
|
10. |
Choose the Namespaces tab then click Add. (Cache documentation defines a Namespace as "A logical entity or workspace that is associated with a directory, and that provides the link between a set of globals and their actual locations.") |
|
|
|
|
11. |
Type in "VISTA" in the Namespace window then click Next. |
|
|
|
|
12. |
From the list of Currently defined databases - Choose VISTA. |
13. |
Click Next then Finish. |
|
|
|
|
|
14. |
With the Namespaces tab still selected expand Vista. |
|
|
|
|
15. |
Click on Global Mapping then click Add. (Globals are the "persistent" M variables used by VistA, in which the files used by FileMan are stored.) |
|
|
|
|
16. |
Type in "%Z*" in the Enter Global window. (This indicates all variables beginning with %Z as * is a "wild card" or "place holder" for any number of digits/characters, etc., that might follow Z.) |
17. |
Click OK. |
|
|
|
|
18. |
Click Routine Mapping then click Add. (Routines are programs written in M) |
|
|
|
|
19. |
Enter "%DT*" in the Enter Routine window then click OK. |
|
|
|
|
20. |
Repeat the same thing for Routine Mapping for: %RCR, %XU*, %ZIS*, %ZO*, %ZT*, %ZV*. |
|
|
|
|
21. |
When you are finished, click OK. |
22. |
Click Activate. |
|
|
|
|
23. |
Right click the Caché Cube and choose Explorer. |
24. |
On the left panel, expand the VISTA Folder. |
25. |
Click on Globals and be sure lots of globals are listed (about 300) in alphabetical order. ABS was the first global and YTX was the last. |
|
|
|
|
26. |
Click Routines and be sure the same thing happens. (Our experience has been Explorer times out and is automatically closed.) Wait until the disk is done moving (about 2 minutes) and then re-open explorer and it should work fine. There should be 20484 routines found. |
27. |
After all the routines are loaded, close Explorer. |
|
|
|
28. |
Right click on the Caché Cube and choose Terminal. |
29. |
At User prompt Type D ^%CD (or ZN "%SYS"). |
30. |
At Namespace type "%SYS". The remainder of this step converts the database that is run on Caché 4 by the VA to the latest version of Caché, which is 5 at the time of this writing. Once the VA source of the Platinum install switches over to Caché 5, it will not be necessary, but it should not hurt anything to run it. Enter "DO ALL^%SYSCONV". You must allow this to finish. You should have the following output: |
|
|
|
|
31. |
Next you check the success of the conversion. Type "DO STATUS^%SYSCONV" to see the status of the conversion. You should see something like that shown below. If you see RECOMPILE In Progress anywhere, wait and let it complete. You can check if it is completed by running "D STATUS^%SYSCONV" again until the recompile is done. Use the up arrow on your keyboard to go back one step to make it easy to rerun D STATUS^%SYSCONV. (Note in M, D is short for DO.) If there is an "Error: <FUNCTION>" under C:\Cachesys\mgr\samples\, this is a problem with Caché's samples, not with VistA, so do not be concerned about it for the purpose of installing VistA. |
|
|
|
32. |
At User prompt Type "D ^%CD". |
33. |
At Namespace Type "VISTA" (or use ZN "VISTA"). |
Type in "D ^ZTMGRSET". It will respond with a few lines ending with either I think it is VISTA,CACHEWEB. Should I continue anyway? N// or I think it is VISTA,VISTA. Should I continue anyway? N// and you should type "Y". It will respond I think you are using OpenM-NT. Which MUMPS system should I install? Choose 3. |
|
|
|
|
|
35. |
Several lines later you will be presented with: (Note: VistA presents a default response followed by "//" as in VISTA// below. Pressing Enter accepts the default.) |
|
|
|
NAME OF MANAGER'S
NAMESPACE: VISTA// Hit enter. |
|
|
|
You will have several lines of routines loading finishing with: |
|
|
|
Installing ^%Z
editor |
36. |
Initialize FileMan to set your site name and number by running "D ^DINIT" from the VISTA> prompt. Say yes to Intilialize VA Fileman if it isn't already initialized. Give your site a site name and a 4 digit site number that is preferably not a round number like 1000 or 5000 so you have less chance of file number collisions when you make your own files in the future. You can run D ^DINIT again to see if you changes were successful and choose Cache/OpenM when offered a choice of MUMPS system you are using. Also run D ^ZUSET to choose the correct version of ZU for your users key login routine for the roll and scroll portions of VistA . |
37. |
If you have the latest version of Caché with CacheWeb, you will need to edit the routine ^%ZOSV. To do this, right click the Caché Cube and choose Studio, File, Change Namespace, select VISTA then click OK. |
|
|
|
|
38. |
This step may not be needed in newer versions of VistA, but check anyway. Highlight LOCALTCP-VISTA, then File, Open and enter "%ZOSV.INT". Open it and see if the first several lines are as follows: |
|
%ZOSV
;SFISC/AC - $View commands for Open M for NT. ;12/04/2001 15:30 |
|
If the lines are as above, after the line |
|
;Return fixed value if version < 2.1.6 (e.i. not Cache) |
|
Insert |
|
Q 99 ;Dummy return for Cache 5 |
|
|
|
Now if you made changes, click File, Save and then Build, Compile. At the bottom of the window you should soon see the message "Compilation finished successfully." |
|
|
39. |
In a similar fashion, check to see if you need to edit the XWBTCPC.INT routine by inserting 'W:XWBOS="OpenM"&(+$$VERSION^%ZOSV()'<5) ! ' after 'I $L(STR)<511 W:($X+$L(STR))>511 ! W STR ', as shown below. This step may also not be necessary in newer versions of VistA. |
|
Original line looks like: |
|
I $L(STR)<511 W:($X+$L(STR))>511 ! W STR Q |
|
New line looks like: |
|
I $L(STR)<511 W:($X+$L(STR))>511 ! W STR W:XWBOS="OpenM"&(+$$VERSION^%ZOSV()'<5) ! Q |
|
|
|
***N.B. For those interested, this is an excerpt from the hardhats mailing list describing the reason for this step: |
|
|
|
If
you run an RPCBroker application, server opens a new session
with |
|
|
|
This step may be necessary to avoid getting a message telling you the maximum number of users are now logged in. You can wait to see if it happens before changing this code. If necessary, edit XUS.INT after the SET2 "tag", commenting out the line I $D(^%ZOSF("ACTJ")) X ^("ACTJ") I $P(XUVOL,U,3),($P(XUVOL,U,3)'>Y) Q 2 with a semicolon as shown below. |
|
|
|
SET2()
;EF. Return error code |
|
|
|
Don't forget to save and compile any routines you change. |
|
|
40. |
CLOSE Studio and go back to Terminal and run "D ^%CD" and enter "VISTA" for the namespace again. |
|
|
|
Now determine the what is called the "BOX:VOLUME pair", which is really a VOLUME:BOX pair, for your machine. This is done as follows: |
|
|
|
VISTA>D GETENV^%ZOSV W Y |
|
|
|
Here is a sample return: |
|
|
|
VISTA^CACHE^ANTHRAX^CACHE:CACHEWEB |
|
|
|
In this instance, the 4th "piece", assuming ^ is the divider, is CACHE:CACHEWEB, which is the BOX:VOLUME pair. ANTHRAX is the name of the computer this was done on, also known as the NODE. The first CACHE (second "piece") listed is the VOLUME. VISTA is the UCI (also the directory name where CACHE.DAT is located). UCI is an old terminology you do not need to understand, but it helps to know what the UCI should be. The so called BOX:VOLUME pair is actually the VOLUME:BOX pair, but it is always referred to as the "BOX VOLUME pair". In short, this is what the above line corresponds to: |
|
|
|
UCI^VOL^NODE^BOX:VOLUME |
|
|
|
Jot down your BOX:VOLUME pair for comparison with what you find as the installation continues to be sure it has been set correctly. It is very important that it be correct in some of the parameter files. |
|
|
41. |
Now to create your own domain. From the VISTA prompt, start VA
FileMan by typing "D Q^DI". At the Select OPTION:
prompt. Type "1". (You can see why you typed 1 if you
type "??" at the option prompt. That will give you the
list of options you can choose from and 1 is ENTER OR EDIT FILE
ENTRIES.) At INPUT TO WHAT FILE: type "DOMAIN" and
accept the ALL// default to EDIT WHICH FIELD. At Select DOMAIN
NAME: enter a local domain name. Substitute an appropriate value
for VISTA.MYDOMAIN.COM in the example below. |
|
|
|
Select OPTION: 1
ENTER OR EDIT FILE ENTRIES |
|
|
42. |
Now to complete the DOMAIN set up by Christening the new domain. Go back to the VISTA> prompt and type "D CHRISTEN^XMUDCHR". |
|
|
|
VISTA>DO
CHRISTEN^XMUDCHR |
|
|
43. |
Determine the internal entry of the new domain. Remember this number as it will be used in subsequent steps. Get back to the Select OPTION: prompt and enter "INQUIRE" or "5" (once again, you can type ?? to see the available options and 5 is INQUIRE TO FILE ENTRIES) then at the Select DOMAIN NAME: prompt, enter the new domain name you just created. Answer "N" to STANDARD CAPTIONED OUTPUT and at PRINT FIELD: answer "NUMBER". The domain number is "printed" to the screen. If you get the warning here that you do not have a home device, go to step 97, do what it says there and then come back to this step. |
|
|
|
Select OPTION: 5
INQUIRE TO FILE ENTRIES |
|
|
44. |
From the VISTA prompt repoint the KERNEL SYSTEM PARAMETERS and RPC BROKER PARAMETERS files to the new domain, go back to the VISTA> prompt and enter 'S $P(^XTV(8989.3,1,0),"^")=3' and 'S $P(^XWB(8994.1,1,0),"^")=3' where 3 is the internal number of the new domain we just created in the previous step. |
|
|
|
VISTA>S
$P(^XTV(8989.3,1,0),"^")=3 |
|
|
45. |
Then from the VISTA> prompt again start FileMan with "D Q^DI". At Select OPTION: enter "6" (UTILITY FUNCTIONS) then select RE-INDEX FILE. At MODIFY WHAT FILE, enter "KERNEL SYSTEM PARAMETERS". Then do the same for the RPC BROKER PARAMETERS file. See example below for the rest of the dialogue. |
|
|
|
VISTA>D Q^DI |
|
|
46. |
Check the VOLUME SET File (#14.5). If you accepted the default VISTA when you ran ZTMGRSET (see previous steps), the VOLUME SET File should not need any changes. At Select OPTION: enter "1" for EDIT OR ENTER FILE ENTRIES. The choice should be INPUT TO WHAT FILE: VOLUME SET//. Accept the default if it is VOLUME SET else type "14.5", and at EDIT WHICH FIELD: ALL// hit enter. At Select VOLUME SET prompt type "??" to see a list of entries. When asked which volume set again, type in VISTA or whatever it is exactly as it is (all caps). Leave TASKMAN FILES UCI: VISTA// as VISTA. The values should match what is shown below. |
|
|
|
Select OPTION: 1
ENTER OR EDIT FILE ENTRIES |
|
|
47. |
This step is to get the proper value for the BOX-VOLUME PAIR in the TASKMAN SITE PARAMETERS File. Edit the TASKMAN SITE PARAMETER File (# 14.7) to update the BOX-VOLUME PAIR. Note that when you enter a "?" at the BOX-VOLUME PAIR prompt, it tells you what the correct value should be. |
|
|
|
Select OPTION: 1
ENTER OR EDIT FILE ENTRIES |
|
|
48. |
Now update the RPC BROKER SITE PARAMETER File. |
|
|
|
Select OPTION: 1
ENTER OR EDIT FILE ENTRIES |
|
49. |
Now to set up the System Manager user with minimal information. We will add more information later. At Select OPTION: Type "1" (Type "??" to see Option 1 if you wish) |
50. |
At INPUT TO WHAT FILE: Type "200", the number of the NEW PERSON file. |
51. |
At EDIT WHICH FIELD: ALL// Type ".01" and hit enter. It will echo back NAME. |
52. |
It may respond with finish with NEW PERSON, 2 ENTRIES and then prompt you. |
53. |
At THEN EDIT FIELD: Type "ACCESS CODE" and the computer will finish it with Want to edit access code (Y/N)? Hit Enter and hit enter until you are prompted with Select NEW PERSON NAME. |
54. |
At Select NEW PERSON NAME, Type "MANAGER,SYSTEM" or whatever you choose. |
55. |
At Are you adding "MANAGER,SYSTEM" as a NEW PERSON (the 2nd [or whatever it offers you])? No// type "Y". |
56. |
It will respond Checking SOUNDEX for matches. No matches found. NEW PERSON INITIAL: |
57. |
Type "SM" or whatever you choose. |
58. |
At Want to Edit ACCESS Code (Y/N): Type "Y". For NEW PERSON MAIL CODE: hit ENTER. |
59. |
Then enter an access code. (Type "??" and hit enter to see what the options are for access codes if you wish.) At least 6 mixed alphanumeric characters. If not, just type the code and hit enter. |
60. |
Retype the code as directed. FileMan will respond OK, Access code has been changed! The VERIFY CODE has been deleted as a security measure. The user will have to enter a new one the next time they sign-on. |
61. |
At Select NEW PERSON NAME: Hit enter. |
|
|
|
Select OPTION: 1
ENTER OR EDIT FILE ENTRIES |
|
|
62. |
At the Select OPTION: prompt Type "5". |
63. |
At OUTPUT FROM WHAT FILE: NEW PERSON// Hit Enter. |
64. |
At Select NEW PERSON NAME: Type "MANAGER,SYSTEM", or whatever you chose for the system manager name and hit enter. |
65. |
At ANOTHER ONE: Hit enter. |
66. |
At STANDARD CAPTIONED OUTPUT? YES// Hit enter or "Y". |
67. |
At Include COMPUTED fields: (N/Y/R/B): NO// type "B". |
68. |
The response will be a screen full of data. At the upper left hand corner will be NUMBER: followed by a number. This number will be the DUZ number that will be used in what follows below. |
69. |
Hit Enter until you back out to VISTA>. |
70. |
At VISTA> Type "SET DUZ= " and after the = sign, type in that number you found above for your DUZ number, and hit Enter. |
71. |
At the next VISTA> prompt, type S $P(^VA(200,DUZ,0),"^",4)="@". This will identify this user as a programmer to VA FileMan. |
72. |
At the next VISTA> prompt, type "D ^XUP". This is the VA Kernel's Programmer entry point. |
73. |
The first time, you will be asked to select a TERMINAL TYPE NAME:. Enter "C-VT100" and select 1. |
74. |
At Select OPTION NAME: Type "XUMAINT", it will echo back Menu Management. |
75. |
At Select Menu Management Option: type "KEY" Management; then at Select Key Management Option: "ALLO"cation of Security Keys. |
76. |
Proceed to allocate the following keys - XUMGR, XMMGR, XUPROG, XUPROGMODE, and ZTMQ. |
77. |
When it asks Holder of the key, enter "MANAGER,SYSTEM" or whatever name you selected. |
|
|
|
VISTA>S
DUZ=1 |
|
78. |
If you are planning to use the VistA applications such as Registration, Scheduling etc. you need to add new Institution to the INSTITUTION File. Go back to the VISTA> prompt and "SET XUMF=1" then "D Q^DI". Select Option #1 and edit File #4. Edit the field STATION NUMBER. For Station Number, you must enter the same number as the Site Number when you initialized FileMan. (See Start FileMan and Begin Setting Up Vista section.) |
|
|
|
VISTA>S XUMF=1 D
Q^DI |
79. |
Then you need to add a Medical Center Division. Select File #40.8 and edit fields FACILITY NUMBER and INSTITUTION FILE POINTER. Enter the Institution STATION NUMBER for FACILITY NUMBER and the name of the Institution in INSTITUTION FILE POINTER. |
|
|
|
Select OPTION: 1
ENTER OR EDIT FILE ENTRIES |
80. |
You are now ready to enter additional information for the system manager user like PRIMARY MENU, VERIFY CODE etc. |
81. |
Go back to the VISTA prompt and type "D ^XUP". |
82. |
At Select OPTION NAME: Type "XUSEREDIT", it will give you two choices, select 1. |
83. |
At Select NEW PERSON NAME: Type the name you chose for Manager, System. |
|
|
|
VISTA>D
^XUP |
|
|
84. |
Now you will be presented with a screen with multiple options. You can navigate the screen with the TAB key. For navigation help, use your keyboard arrows to move down to the command line and hold down either the Num Lock key (which is mapped as PF1 of a VT-320 terminal by Caché) or F1 for other terminal emulations and hit "H" and then Enter for help. You can exit by typing "^" on the command line and the change you made will be saved. As a minimum, assign EVE as the PRIMARY MENU and enter IRM (it's the only choice) as SERVICE/SECTION. If you plan to use CPRS, enter OR CPRS GUI CHART as a SECONDARY MENU OPTION. Enter other data as you deem appropriate. |
|
|
|
|
85. |
Type "N"EXT PAGE at COMMAND: to go to page 2 to update the TIMED READ field and other fields you wish to update. For DEFAULT TIMED-READ (SECONDS): if you change it to 3600 you will be allow an hour before being automatically signed off. It makes it easier to work when you are learning and setting things up. |
|
|
|
Press <PF1> refers to notations for use of Vista on Terminals. For example, the original VT-320 keyboard had additional character sets and keys which include Find, Select, Insert, Remove, Previous Screen, Next Screen, an arrow cluster and F1 to F20. With Caché, the Keys are "mapped", which means when you push a given key it acts as the key would in a terminal. For instance, F1, F2, F3 and F4 are equivalent to the PF1, PF2, PF3 and PF4 keys on the terminal keyboard and Page Up and Page Down on the computer keyboard correspond to Previous Screen and Next Screen. A listing of other mappings can be found at the Caché Cube Terminal window under Help and search Keyboard Mappings. Also there is lots of information about terminal if you are interested at www.VT100.net. |
|
|
|
86. |
The next step is to make FileMan, MailMan, and Manage MailMan menus accessible to the System Manager user from the menu system. From the VISTA prompt, type "D ^XUP". At Select OPTION NAME: enter "XUMAINT". Then at Select Menu Management, type "EDIT OPTIONS", then pick EVE. |
87. |
Select 1 from the list then at NAME: EVE// type "^10". |
88. |
At Select ITEM: enter "DIUSER". Hit enter until you get to Select ITEM again (you may enter data for the other fields like SYNONYM if you wish). |
89. |
At the next Select ITEM: enter "XMMGR". |
|
|
|
VISTA>D
^XUP |
|
|
90. |
Exit by entering "^" at any prompt. At the next Select OPTION to edit: enter "XUCOMMAND". Then at NAME: XUCOMMAND// type "^10". At Select ITEM: enter "XMUSER". |
|
|
|
Select OPTION to edit:
XUCOMMAND SYSTEM COMMAND OPTIONS |
|
|
91. |
To change the default time it takes before users are automatically signed off the system from the default of 300 seconds. This, again, is to give you more time to work as you are learning. Back out to the VISTA prompt. At the VISTA prompt, Type "D ^ZU". |
92. |
At ACCESS CODE, type in the code you chose when setting up MANAGER, SYSTEM as a NEW PERSON. |
93. |
At VERIFY CODE, hit ENTER. When asked for a new verify code, type the code you choose and remember it. |
94. |
At Select Systems Manager Menu Option: Type "OPER", (short for operations management) and hit enter. You can see all of the choices available to you if you type "??". |
95. |
At Select Operations Management Option: Type "KER" short for Kernel Management Menu and hit enter. At Select Kernel Management Menu Option: Type "ENT", short for Enter/Edit Kernel Site Parameters. Hit enter. |
96. |
You will be presented with a similar screen as in editing the SYSTEM MANAGER characteristics. You can navigate the screen with the TAB key. For DEFAULT TIMED-READ (SECONDS): change it to 3600 to allow an hour before being automatically signed off, or whatever you choose. |
|
|
|
97. |
Now to update devices. The Platinum CACHE.DAT already comes with preconfigured devices. It is best to leave the VOLUME SET(CPU) field blank. The help text for the field states: "If no name has been entered for this field, this device is assumed to be accessible from all CPUs in the network. In other words, when this device is referenced, the device handler will operate as if this device is resident on the local CPU". The SIGN-ON/SYSTEM DEVICE: field should be set to NO or left blank for output devices and YES if the device is used to log on to the system. Use FileMan to edit the CONSOLE, NULL, HFS, and TELNET devices. CONSOLE is the primary logon device. The NULL device is used by the Vista RPC Broker and HFS is used by the Kernel Installation and Distribution System (KIDS) to install application patches and new applications when they are released. On the single user Caché PC you will not need the TELNET device since it does not allow remote access. At the VISTA> prompt, type "D Q^DI" to invoke VA Fileman. At Select OPTION: type "1" (ENTER OR EDIT FILE ENTRIES) and at INPUT TO WHAT FILE:, enter "3.5". |
|
|
|
VA FileMan 22.0 |
|
|
98. |
Again from the VISTA promt, enter "D ^ZTMCHK" to check if TaskMan's environment is OK. This will present you with two screens with information on TaskMan's environment. |
|
|
Screen #1 |
|
|
|
Screen #2 |
|
|
|
99. |
If TaskMan's environment is OK, you are ready to start TaskMan. Go back to the VISTA prompt and type "D ^ZTMB" to start TASKMAN. |
100. |
To monitor TaskMan, enter "D ^ZTMON" from the VISTA prompt. Enter "^" at the UPDATE// prompt to exit the monitor or enter a "?" to see what the other options are. |
|
|
|
|
101. |
From the VISTA> programmer prompt you can check the system status with "D ^%SS". You should see at least two Taskman processes - %ZTM and %ZTMS. |
|
|
|
|
102. |
Now send a message using Postmaster to your DUZ number. Use D ^%CD to get into the namespace, VISTA, and then type "S DUZ=.5 D ^XUP". You will get the response SETTING UP PROGRAMMER ENVIROMENT then TERMINAL TYPE SET TO: (your default) and Select OPTION NAME:. You will need to respond: "XMUSER". At Select Mailman Menu Option: type "S" (for send). At Subject: enter your subject, such as Test, and then hit enter. You will then be prompted You may enter the text of the message and you will be offered the line number 1> where you can type your message, such as the infamous Hello world. Next will be line 2> and if you are done, just hit enter and at EDIT Option: you can do the same. At Send mail to: POSTMASTER// enter the initials you used for your DUZ which were probably SM for System Manager. You will then be told when MailMan was last used, which is probably NEVER. Hit enter at And Send to: and you should receive the message Select Message option: Transmit now// at which you hit enter and will hopefully receive the message Sending [1] Sent. Type "^" to exit. |
103. |
Now see if you received it. Log on using "D ^ZU". At the Systems Manager prompt, type "MAIL". Then at the Select MailMan Menu Option: type "NEW" Messages and Responses. Read the mail. |
|
|
|
104. |
Now to see of the RPC BROKER will start. To start the broker, type "D STRT^XWBTCP(port)" at the VISTA prompt. The system status should now show the broker listener (XWBTCPL) running. |
|
|
|
VISTA>D
STRT^XWBTCP(9210) |
|
Now run "D ^%SS" again. You should see something like the following with XWBPTCL running. |
|
|
|
|
105. |
If you have the RPCTEST.EXT on your workstation, you test your connection to the localhost. Download the file XWB1_1WS.EXE from ftp://ftp.va.gov/vista/Software/Packages/RPC Broker - XWB/PROGRAMS/. (Note: The VA's ftp site is not compatible with Netscape's ftp. Either use Windows Explorer or FTP software). Double click on this file once you have downloaded it. Accept the defaults. It will install RPC Broker's Client software including RPCTEST.EXE. Then go to C:\program files\vista\broker\rcptest.exe and double click on it or create a shortcut on your desktop. |
|
|
|
|
106. |
You should see a Vista logon screen. |
|
|
|
|
108. |
If you connect successfully, the link state will turn green. |
|
|
|
|
109. |
To stop TaskMan, use "D STOP^ZTMKU" and answer "YES" to stopping the submanagers. |
110. |
To stop Broker, use "D STOP^XWBTCP(9210)". This is the last time you should be using these direct access to the routines to manage VistA. You should be using the menu system from now on to manage starting and stopping Taskman, the background filers and the RPC Broker. That way any code changes, etc., will be accounted for. Programmers will usually enter from the programmer prompt beginning with D ^XUP. The system managers menu option is EVE. |
|
|
Last edited 5/27/06 7:40 AM EST |