Last change
on this file since 1046 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
720 bytes
|
Line | |
---|
1 | SPN19E ;SAN/WDE ENVIRONMENT CHECK FOR SPN*2.0*19;1/16/2003
|
---|
2 | ;;2.0;Spinal Cord Dysfunction;**19**;01/02/97
|
---|
3 | ;
|
---|
4 | EN ;ENTRY
|
---|
5 | N ROU,TEST,VER,X,ZAP,P19
|
---|
6 | S ROU="SPNLEDT2"
|
---|
7 | D CHK
|
---|
8 | I $G(ZAP)=1 S XPDABORT=2 W !,"***SPN*2.0*19 ABORTED***",! D EXIT Q
|
---|
9 | I $G(ZAP)=1 S XPDABORT=2 W !,"***SPN*2.0*19 ABORTED***",! D EXIT Q
|
---|
10 | W !,"***Environment is fine***",!
|
---|
11 | K ROU,TEST,VER,ZAP,P19
|
---|
12 | Q
|
---|
13 | CHK ;CHECK FOR PATCH SPN*2*16
|
---|
14 | S X="S TEST=$T(+2^"_ROU_")" X X
|
---|
15 | S VER=$P(TEST,";",3),P19=$P(TEST,";",5)
|
---|
16 | I VER="" W !,"This account is missing some SPN routines!" S ZAP=1 Q
|
---|
17 | I VER'[2 W !,"This is not the current version of Spinal Cord!" S ZAP=1 Q
|
---|
18 | I P19'[16 W !,"Routine: ",ROU," is missing patch SPN*2*16" S ZAP=1
|
---|
19 | Q
|
---|
20 | EXIT ;
|
---|
21 | K ROU,TEST,VER,ZAP,P19
|
---|
22 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.