source: WorldVistAEHR/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DINIT21.m@ 1661

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

initial load of WorldVistAEHR

File size: 2.6 KB
Line 
1DINIT21 ;SFISC/GFT-INITIALIZE VA FILEMAN ;1:11 PM 27 Jun 2002
2 ;;22.0;VA FileMan;**110**;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4DD F I=1:1 S X=$T(DD+I),Y=$P(X," ",3,99) Q:X?.P S D="^DD(""OS"","_$E($P(X," ",2),3,99)_")" S @D=Y
5 ;;0 MUMPS OPERATING SYSTEM^.7
6 ;;8,0 MSM^^127^5000^^1^63
7 ;;8,1 B X
8 ;;8,"SDP" O @("DIO:"_DLP) F %=0:0 U DIO R % Q:$ZA=X&($ZB>Y)!($ZA>X) U IO W:$A(%)'=12 ! W %
9 ;;8,"SDPEND" S X=$ZA,Y=$ZB
10 ;;8,"XY" S $X=IOX,$Y=IOY
11 ;;8,8 X ^DD("$O")
12 ;;8,18 I $D(^ (X))
13 ;;8,"ZS" ZR X "S %Y=0 F S %Y=$O(^UTILITY($J,0,%Y)) Q:%Y="""" Q:'$D(^(%Y)) ZI ^(%Y)" ZS @X
14 ;;9,0 DTM-PC^^127^5000^^1^115
15 ;;9,1 B X
16 ;;9,8 D:$P($ZVER,"/",2)<4 ^%VARLOG X:$P($ZVER,"/",2)'<4 ^DD("$O")
17 ;;9,18 I $ZRSTATUS(X)'=""
18 ;;9,"SDP" O @("DIO:"_"(""R"":"_$P(DLP,":",2,9)) F %=0:0 U DIO R % Q:$ZIOS=3 U IO W:$A(%)'=12 ! W %
19 ;;9,"SDPEND" Q
20 ;;9,"XY" S $X=IOX,$Y=IOY
21 ;;9,"ZS" S %X="" X "S %Y=0 F S %Y=$O(^UTILITY($J,0,%Y)) Q:%Y="""" Q:'$D(^(%Y)) S %X=%X_$C(10)_^(%Y)" ZS @X:$E(%X,2,999999)
22 ;;16,0 DSM for OpenVMS^^108^5000^^1^63
23 ;;16,1 U @("$I:"_$P("NO",1,'X)_"CENABLE")
24 ;;16,8 D DOLRO^%ZOSV
25 ;;16,18 I $T(^@X)]""
26 ;;16,"SDP" O DIO U DIO:DISCONNECT F %=0:0 U DIO R % Q:%="#$#" U IO W:$A(%)'=12 ! W %
27 ;;16,"SDPEND" W !,"#$#",! C IO
28 ;;16,"XY" S $X=IOX,$Y=IOY
29 ;;16,"ZS" ZR X "S %Y=0 F S %Y=$O(^UTILITY($J,0,%Y)) Q:%Y="""" Q:'$D(^(%Y)) ZI ^(%Y)" ZS @X
30 ;;17,0 GT.M(VAX)^^250^10000^^1^250
31 ;;17,1 U @("$I:"_$P("NO",1,'X)_"CENABLE")
32 ;;17,8 X ^DD("$O") ;D DOLRO^%ZOSV
33 ;;17,18 I $L($T(^@X))
34 ;;17,"SDP" O DIO F U DIO R % Q:%="#$#" U IO W:$A(%)'=12 ! W %
35 ;;17,"SDPEND" W !,"#$#",! C IO
36 ;;17,"XY" S $X=IOX,$Y=IOY
37 ;;17,"ZS" N %I,%F,%S S %I=$I,%F=$P($ZRO,",")_X_".m" O %F:(NEWVERSION) U %F X "S %S=0 F S %S=$O(^UTILITY($J,0,%S)) Q:%S="""" Q:'$D(^(%S)) S %=^UTILITY($J,0,%S) I $E(%)'="";"" W %,!" C %F U %I
38 ;;18,0 CACHE/OpenM^^120^8000^^1^63
39 ;;18,1 B X
40 ;;18,8 X ^DD("$O")
41 ;;18,18 I $T(^@X)]""
42 ;;18,"SDP" C DIO O DIO F %=0:0 U DIO R % Q:%="#$#" U IO W %
43 ;;18,"SDPEND" W !,"#$#",! C IO
44 ;;18,"XY" S $Y=IOY,$X=IOX
45 ;;18,"ZS" ZR X "S %Y=0 F S %Y=$O(^UTILITY($J,0,%Y)) Q:%Y="""" Q:'$D(^(%Y)) ZI ^(%Y)" ZS @X
46 ;;19,0 GT.M(UNIX)^^250^10000^^1^250
47 ;;19,1 U @("$I:"_$P("NO",1,'X)_"CENABLE")
48 ;;19,8 X ^DD("$O") ;D DOLRO^%ZOSV
49 ;;19,18 I $L($T(^@X))
50 ;;19,"SDP" O DIO F U DIO R % Q:%="#$#" U IO W:$A(%)'=12 ! W %
51 ;;19,"SDPEND" W !,"#$#",! C IO
52 ;;19,"XY" S $X=IOX,$Y=IOY
53 ;;19,"ZS" N %I,%F,%S S %I=$I,%F=$P($P($ZRO,")"),"(",2)_"/"_X_".m" O %F:(NEWVERSION) U %F X "S %S=0 F S %S=$O(^UTILITY($J,0,%S)) Q:%S="""" Q:'$D(^(%S)) S %=^UTILITY($J,0,%S) I $E(%)'="";"" W %,!" C %F U %I
54 ;;100,0 OTHER^^40^5000
55 ;;100,1 Q
Note: See TracBrowser for help on using the repository browser.