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