Last change
on this file since 635 was 628, checked in by George Lilly, 15 years ago |
initial load of FOIAVistA 6/30/08 version
|
File size:
982 bytes
|
Line | |
---|
1 | YS31ENV ;DALCIOFO/MJD-YS*5.01*31 PATCH ENVIRONMENT CHECK ROUTINE ;10/30/97
|
---|
2 | ;;5.01;MENTAL HEALTH;**31**;Dec 30, 1994
|
---|
3 | EN ; Does not prevent loading of the transport global.
|
---|
4 | ;Environment check is done only during the install.
|
---|
5 | QUIT:'$G(XPDENV)
|
---|
6 | D CHECK
|
---|
7 | ;
|
---|
8 | EXIT I $G(XPDQUIT) W !!,$$CJ^XLFSTR("Install Environment Check FAILED",80)
|
---|
9 | I '$G(XPDQUIT) W !!,$$CJ^XLFSTR("Environment Check is Done...",80)
|
---|
10 | K VER,RN,LN2
|
---|
11 | QUIT
|
---|
12 | ;
|
---|
13 | CHECK ;
|
---|
14 | I $S('$G(IOM):1,'$G(IOSL):1,$G(U)'="^":1,1:0) W !,$$CJ^XLFSTR("Terminal Device is not defined",80),!! S XPDQUIT=2 Q
|
---|
15 | I $S('$G(DUZ):1,$D(DUZ)[0:1,$D(DUZ(0))[0:1,1:0) W !!,$$CJ^XLFSTR("Please Log in to set local DUZ... variables",80),! S XPDQUIT=2 Q
|
---|
16 | I '$D(^VA(200,$G(DUZ),0))#2 W !,$$CJ^XLFSTR("You are not a valid user on this system",80),! S XPDQUIT=2 Q
|
---|
17 | S VER=$$VERSION^XPDUTL("MENTAL HEALTH")
|
---|
18 | I VER'=5.01 W !,$$CJ^XLFSTR("You must have Mental Health V 5.01 Installed",80),! S XPDQUIT=2 Q
|
---|
19 | QUIT
|
---|
20 | ;
|
---|
21 | EOR ;;YS*5.01*31 PATCH ENVIRONMENT CHECK ROUTINE;;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.