source: FOIAVistA/tag/r/KERNEL-XU-A4A7-USC-XG-XLF-XNOA-XPD-XQ-XVIR-ZI-ZOSF-ZOSV-ZT-ZU-%Z-XIP--XQAB--XUC--XUR--ZIN--ZTED/XPDKRN.m@ 1767

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

initial load of FOIAVistA 6/30/08 version

File size: 1.3 KB
Line 
1XPDKRN ;SFISC/RSD - Kernel Install program ;07/02/2003 12:59
2V ;;8.0;KERNEL;**304**;Jul 10, 1995
3EN N X,Y
4 W !!,"KIDS "_$P($T(V),";",3),!
5 D DT^DICRW:'$D(DT),INIT:($O(^DOPT("XPD","B"),-1)'=5)
6 I '$G(DUZ) W !,"DUZ must be defined as an active user!!" Q
7 D Q:Y<0 G @X
8 .N DIC
9 .S DIC="^DOPT(""XPD"",",DIC(0)="AEQZ"
10 .D ^DIC Q:Y<0
11 .S X=$P(Y(0),U,2,99)
12 Q
13 ;
14INIT N DIK,I,X
15 K ^DOPT("XPD")
16 S ^DOPT("XPD",0)="KIDS OPTION^1N^",DIK="^DOPT(""XPD"","
17 F I=1:1 S X=$E($T(OPT+I),4,99) Q:X="" S ^DOPT("XPD",I,0)=X
18 D IXALL^DIK
19 Q
20ADXREF ;New-style 'AD' xref for FILE (#9.64) subfile of the BUILD (#9.6) file.
21 ;If DATA COMES WITH FILE is changed from YES to NO, then
22 ;make sure these other fields are empty.
23 N XPDFDA,XPDIENS
24 S XPDIENS=DA_","_DA(1)_","
25 S XPDFDA(9.64,XPDIENS,222.5)="@" ; RESOLVE POINTERS
26 S XPDFDA(9.64,XPDIENS,222.6)="@" ; DATA LIST
27 S XPDFDA(9.64,XPDIENS,222.8)="@" ; SITE'S DATA
28 S XPDFDA(9.64,XPDIENS,222.9)="@" ; MAY USER OVERRIDE DATA UPDATE
29 S XPDFDA(9.64,XPDIENS,224)="@" ; SCREEN TO SELECT DATA
30 D FILE^DIE("","XPDFDA")
31 Q
32OPT ;
33 ;;LOAD A DISTRIBUTION^EN1^XPDIL
34 ;;VERIFY CHECKSUMS IN TRANSPORT GLOBAL^EN1^XPDDCS
35 ;;PRINT TRANSPORT GLOBAL^EN2^XPDDP
36 ;;COMPARE TRANSPORT GLOBAL TO CURRENT SYSTEM^EN1^XPDCOM
37 ;;BACKUP A TRANSPORT GLOBAL^EN^XPDIB
38 ;;INSTALL PACKAGE(S)^EN^XPDI
39 ;;RESTART INSTALL OF PACKAGE(S)^EN^XPDIR
40 ;;UNLOAD A DISTRIBUTION^EN1^XPDIU
Note: See TracBrowser for help on using the repository browser.