Difference between revisions of "User talk:Zeno"

From VistApedia
Jump to: navigation, search
Line 2: Line 2:
 
----
 
----
 
'''Q1:''' When do I have to run '''GTM>D ^ZTMGRSET'''<br>
 
'''Q1:''' When do I have to run '''GTM>D ^ZTMGRSET'''<br>
 +
----
 
'''A1:''' If you started with OpenVistA SemiVivA, you do not need to set any environment variables to get started, and you do not need to run ^ZTMGRSET  
 
'''A1:''' If you started with OpenVistA SemiVivA, you do not need to set any environment variables to get started, and you do not need to run ^ZTMGRSET  
 
- I have already run ^ZTMGRSET when packaging OpenVistA SemiVivA and OpenVistA VivA. I suggest deleting what you have, and starting over. - just install OpenVistA SemiViva as root and then as a normal user execute /usr/local/OpenVistA/vista.   
 
- I have already run ^ZTMGRSET when packaging OpenVistA SemiVivA and OpenVistA VivA. I suggest deleting what you have, and starting over. - just install OpenVistA SemiViva as root and then as a normal user execute /usr/local/OpenVistA/vista.   
Line 8: Line 9:
 
----
 
----
 
'''Q2:''' Where do I set the Variables, and how to I start Vista with some Variables?<br>
 
'''Q2:''' Where do I set the Variables, and how to I start Vista with some Variables?<br>
 +
----
 
'''A2:''' You set the varibales in .bash_profile if you do the manual install<br>
 
'''A2:''' You set the varibales in .bash_profile if you do the manual install<br>
 
source /usr/local/gtm/gtmprofile<br>
 
source /usr/local/gtm/gtmprofile<br>

Revision as of 14:15, 28 July 2005

I think WorldVista is great stuff. I'm living in Zurich Switzerland and would like to adapt this for the Swiss market. At the moment I'm still fighting with the installation. I posted following question to the Mailinglist:


Q1: When do I have to run GTM>D ^ZTMGRSET


A1: If you started with OpenVistA SemiVivA, you do not need to set any environment variables to get started, and you do not need to run ^ZTMGRSET - I have already run ^ZTMGRSET when packaging OpenVistA SemiVivA and OpenVistA VivA. I suggest deleting what you have, and starting over. - just install OpenVistA SemiViva as root and then as a normal user execute /usr/local/OpenVistA/vista.

^ZTMGRSET's understanding of the behavior of GT.M's $ZROUtines is somewhat simplistic, and you will need to understand more about GT.M's $ZROUtines if you want to run ZTMGRSET in a VivA or SemiVivA environment. It's actually very simple to set up and run it - just 2 shell commands before you invoke mumps -run ^ZTMGRSET - but you should really understand what is going on before you try a command that makes major changes to the VistA setup.


Q2: Where do I set the Variables, and how to I start Vista with some Variables?


A2: You set the varibales in .bash_profile if you do the manual install
source /usr/local/gtm/gtmprofile
export vista_source=/usr/local/OpenVistA
export vista_home=/home/vista
export gtm_log=$vista_home/log
export gtmgbldir=$vista_home/g/mumps.gld
export gtmroutines="$vista_home/o($vista_home/r)
$vista_source/o($vista_source/r) $gtm_dist"

Watch out for line breaks - there are 6 lines above, one starting with "source" and 5 starting with "export".

If you use the script /usr/local/OpenVistA/vista, you do not need to set any variables.


GTM>D Q^DI
VA FileMan 22.0<br Your Identity(DUZ) is 0(zero).
Please identify yourself.

I did all the installation routines I found in the documentation, but still I'm not being identified.

Also when doing:
GTM>D ^DINIT
VA FileMan V.22.0
Initialize VA FileMan now? NO//YES
SITE NAME: Davatz//
SITE NUMBER: 1234// ..........................
Now loading MUMPS Operating System File....
Now loading DIALOG and LANGUAGE Files..........................................................
TYPE OF MUMPS SYSTEM YOU ARE USING: CACHE/OpenM//

My correct System does not seem to be found? I would think it should say UNIX there, shouldn't it?

As mentioned above, just use OpenVistA SemiVivA or OpenVistA VivA and don't run ^ZTMGRSET.