source: FOIAVistA/trunk/r/LAB_SERVICE-LR-LS/LR105.m@ 1742

Last change on this file since 1742 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 998 bytes
Line 
1LR105 ;DALISC/FHS - LR*5.2*105 PATCH ENVIRNMENT CHECK ROUTINE
2 ;;5.2;LAB SERVICE;**105**;Feb 14, 1996
3EN ; Does not prevent loading of the transport global.
4 ;Envirnment check is done only during the install.
5 Q:'$G(XPDENV)
6 I $S('$G(IOM):1,'$G(IOSL):1,$G(U)'="^":1,1:0) W !,$$CJ^XLFSTR("Terminal Device in not defined",80),!!
7 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
8 I '$D(^VA(200,$G(DUZ),0))#2 W !,$$CJ^XLFSTR("You are not a valid user on this system",80),! S XPDQUIT=2
9 L +^LRO(64.03):4 I '$T W !,$$CJ^XLFSTR("Not able to lock ^LRO(64.03) GLOBAL ",80),! S XPDQUIT=2
10 L +^LAB(64.2):4 I '$T W !,$$CJ^XLFSTR("Not able to lock ^LAB(64.R) GLOBAL ",80),! S XPDQUIT=2
11 I +$G(^LAM("VR"))'>5.1 W !,$$CJ^XLFSTR("You must have LAB V5.2 or greater Installed",80),! S XPDQUIT=2
12 I $G(XPDQUIT) W !!,$$CJ^XLFSTR("Install environment check FAILED",80)
13 I '$G(XPDQUIT) W !!,$$CJ^XLFSTR("Envirnment Check is Ok ---",80)
14 Q
Note: See TracBrowser for help on using the repository browser.