User talk:Zeno

From VistApedia
Revision as of 13:59, 28 July 2005 by Zeno (talk | contribs)
Jump to: navigation, search

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:


When doing
GTM>D ^ZTMGRSET
...
I get
Routine: ZOSVGUX Loaded, cp: cannot stat `/home/vista/myVistA/OpenVistA/r/ZOSVGUX.m': No such file or directory
Saved as %ZOSV
Routine: ZTBKCGUX Missing
Routine: ZIS4GTM Loaded, cp: cannot stat `/home/vista/myVistA/OpenVistA/r/ZIS4GTM.m': No such file or directory
Saved as %ZIS4
Routine: ZISFGUX Missing
Routine: ZISHGUX Loaded, cp: cannot stat `/home/vista/myVistA/OpenVistA/r/ZISHGUX.m': No such file or directory
Saved as %ZISH
Routine: XUCIGTM Loaded, cp: cannot stat `/home/vista/myVistA/OpenVistA/r/XUCIGTM.m': No such file or directory
Saved as %XUCI
Routine: ZISETGUX Missing
Routine: ZOSV2GTM Loaded, cp: cannot stat `/home/vista/myVistA/OpenVistA/r/ZOSV2GTM.m': No such file or directory
Saved as %ZOSV2
Routine: ZISTCPS Loaded, cp: cannot stat `/home/vista/myVistA/OpenVistA/r/ZISTCPS.m': No such file or directory
Saved as %ZISTCPS

Q1: Is this bad or good news? Does this mean a file has not been found or can I just continue without having to worry?
A1: The program cannot find your routines, so you need to set up your environment variables correctly. 
You need to tell what version of VistA you are loading so we can help point you in the right direction.
A2: You can also use a startup script to set the variables and start Vista but the variables need to be set somewhere before the program is run.

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:
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.