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

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

initial load of WorldVistAEHR

File size: 6.6 KB
RevLine 
[613]1DIPKI003 ; ; 30-MAR-1999
2 ;;22.0;VA FileMan;;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 Q:'DIFQ(9.4) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
5Q Q
6 ;;^DD(9.4,913,23,0)
7 ;;=^^2^2^2921202^^^^
8 ;;^DD(9.4,913,23,1,0)
9 ;;= A call to this routine gets inserted, by DIFROM at the beginning of the
10 ;;^DD(9.4,913,23,2,0)
11 ;;=NAMESPACE_INIT routine, before the EN entry point.
12 ;;^DD(9.4,913,"DT")
13 ;;=2940606
14 ;;^DD(9.4,913.5,0)
15 ;;=*ENVIRONMENT CHECK DONE DATE^D^^PRE;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
16 ;;^DD(9.4,913.5,3)
17 ;;=
18 ;;^DD(9.4,913.5,21,0)
19 ;;=^^3^3^2921202^
20 ;;^DD(9.4,913.5,21,1,0)
21 ;;=This is the date/time that the ENVIRONMENT CHECK routine last ran. When an
22 ;;^DD(9.4,913.5,21,2,0)
23 ;;=INIT is run at a target site, and it contains an ENVIRONMENT CHECK
24 ;;^DD(9.4,913.5,21,3,0)
25 ;;=routine, this field is updated automatically.
26 ;;^DD(9.4,913.5,"DT")
27 ;;=2940603
28 ;;^DD(9.4,914,0)
29 ;;=*POST-INITIALIZATION ROUTINE^F^^INIT;1^K:$L(X)>8!($L(X)<3)!'(X?1UP.UN) X
30 ;;^DD(9.4,914,.1)
31 ;;=DEVELOPERS ROUTINE TO BRANCH TO AT END OF 'INIT' ROUTINE
32 ;;^DD(9.4,914,3)
33 ;;=Enter the name of the developer's post-initialization routine (3-8 characters).
34 ;;^DD(9.4,914,21,0)
35 ;;=^^2^2^2900730^^^^
36 ;;^DD(9.4,914,21,1,0)
37 ;;=The name of the developer's routine which is run immediately after the
38 ;;^DD(9.4,914,21,2,0)
39 ;;=installation of the package.
40 ;;^DD(9.4,914,23,0)
41 ;;=^^3^3^2900730^^^
42 ;;^DD(9.4,914,23,1,0)
43 ;;= This routine gets inserted by DIFROM at the end of the
44 ;;^DD(9.4,914,23,2,0)
45 ;;=NAMESPACE_INIT routine, after the INIT has filed all the information,
46 ;;^DD(9.4,914,23,3,0)
47 ;;=but before the quit statement.
48 ;;^DD(9.4,914,"DT")
49 ;;=2940606
50 ;;^DD(9.4,914.5,0)
51 ;;=*POST-INIT COMPLETION DATE^D^^INIT;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
52 ;;^DD(9.4,914.5,3)
53 ;;=
54 ;;^DD(9.4,914.5,21,0)
55 ;;=^^3^3^2911209^^
56 ;;^DD(9.4,914.5,21,1,0)
57 ;;=This is the date/time that the POST-INIT last ran. When an
58 ;;^DD(9.4,914.5,21,2,0)
59 ;;=INIT is run at a target site, and it contains a POST-INIT
60 ;;^DD(9.4,914.5,21,3,0)
61 ;;=routine, this field is updated automatically.
62 ;;^DD(9.4,914.5,"DT")
63 ;;=2940603
64 ;;^DD(9.4,916,0)
65 ;;=*PRE-INIT AFTER USER COMMIT^F^^INI;1^K:$L(X)>8!($L(X)<3) X
66 ;;^DD(9.4,916,.1)
67 ;;=DEVELOPERS ROUTINE RUN AFTER 'INIT' QUESTIONS ANSWERED
68 ;;^DD(9.4,916,3)
69 ;;=Enter name of developer's pre-init routine (3-8 characters) that runs after user has answered all INIT questions. Can be used for data conversions needed before INIT files new data.
70 ;;^DD(9.4,916,21,0)
71 ;;=^^4^4^2930303^^^^
72 ;;^DD(9.4,916,21,1,0)
73 ;;=Name of the developer's routine that runs after the user has answered all
74 ;;^DD(9.4,916,21,2,0)
75 ;;=of the questions in NAMESPACE_INIT but before the INIT files any new data.
76 ;;^DD(9.4,916,21,3,0)
77 ;;=Used for data conversions, etc. that the developer needs to do before
78 ;;^DD(9.4,916,21,4,0)
79 ;;=bringing in new data.
80 ;;^DD(9.4,916,23,0)
81 ;;=^^3^3^2930303^^^^
82 ;;^DD(9.4,916,23,1,0)
83 ;;= A call to this routine gets inserted, by DIFROM, into the
84 ;;^DD(9.4,916,23,2,0)
85 ;;=NAMESPACE_INIT1 routine, after the user has answered the last
86 ;;^DD(9.4,916,23,3,0)
87 ;;=question 'ARE YOU SURE EVERYTHING'S OK?', but before filing any data.
88 ;;^DD(9.4,916,"DT")
89 ;;=2940606
90 ;;^DD(9.4,916.5,0)
91 ;;=*PRE-INIT COMPLETION DATE^D^^INI;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
92 ;;^DD(9.4,916.5,21,0)
93 ;;=^^3^3^2911209^^
94 ;;^DD(9.4,916.5,21,1,0)
95 ;;=This is the date/time that the PRE-INIT AFTER USER COMMIT last ran.
96 ;;^DD(9.4,916.5,21,2,0)
97 ;;=When an INIT is run at a target site, and it contains a PRE-INIT
98 ;;^DD(9.4,916.5,21,3,0)
99 ;;=AFTER USER COMMIT routine, this field is updated automatically.
100 ;;^DD(9.4,916.5,"DT")
101 ;;=2940603
102 ;;^DD(9.4,919,0)
103 ;;=*EXCLUDED NAME SPACE^9.432^^EX;0
104 ;;^DD(9.4,919,21,0)
105 ;;=^^5^5^2930303^^^
106 ;;^DD(9.4,919,21,1,0)
107 ;;=By specifying an "excluded name space", the developer will be telling
108 ;;^DD(9.4,919,21,2,0)
109 ;;=the DIFROM routine not to take OPTIONS, BULLETINS, etc. which begin
110 ;;^DD(9.4,919,21,3,0)
111 ;;=with these characters. For example, if "PSZ" is an excluded name space
112 ;;^DD(9.4,919,21,4,0)
113 ;;=in the "PS" package, DIFROM will not send along OPTIONS, SECURITY KEYS,
114 ;;^DD(9.4,919,21,5,0)
115 ;;=BULLETINS, or FUNCTIONS that begin with "PSZ".
116 ;;^DD(9.4,919,"DT")
117 ;;=2940603
118 ;;^DD(9.4,1920,0)
119 ;;=*STATUS^9.444D^^ST;0
120 ;;^DD(9.4,1920,21,0)
121 ;;=^^1^1^2851008^^^
122 ;;^DD(9.4,1920,21,1,0)
123 ;;=Information about the Namespace assignment status of this package.
124 ;;^DD(9.4,1920,"DT")
125 ;;=2940606
126 ;;^DD(9.4,1933,0)
127 ;;=*KEY VARIABLE^9.455^^1933;0
128 ;;^DD(9.4,1933,21,0)
129 ;;=^^2^2^2851009^^^
130 ;;^DD(9.4,1933,21,1,0)
131 ;;=These are the MUMPS variables which the Package would like defined
132 ;;^DD(9.4,1933,21,2,0)
133 ;;=prior to entry into the routines.
134 ;;^DD(9.4,1933,"DT")
135 ;;=2940603
136 ;;^DD(9.4,1944,0)
137 ;;=*BULLETINS^XCmJ30^^ ; ^S (XU,X)=$P(^DIC(9.4,D0,0),U,2) I X?1A.E F D=0:0 S D=$O(^XMB(3.6,"B",X,0)) S:D="" D=-1 X:$D(^XMB(3.6,D,0)) DICMX S X=$O(^XMB(3.6,"B",X)) I $P(X,XU,1)]""!(X="") S X="" Q
138 ;;^DD(9.4,1944,9)
139 ;;=^
140 ;;^DD(9.4,1944,9.01)
141 ;;=
142 ;;^DD(9.4,1944,9.1)
143 ;;=S (XU,X)=$P(^DIC(9.4,D0,0),U,2) I X?1A.E F D=0:0 Q:$P(X,XU,1)]""!(X="") S D=$O(^XMB(3.6,X,0)) S:D="" D=-1 X:$D(^XMB(3.6,D,0)) DICMX S X=$O(^XMB(3.6,"B",X))
144 ;;^DD(9.4,1944,21,0)
145 ;;=^^2^2^2851008^
146 ;;^DD(9.4,1944,21,1,0)
147 ;;=This presents information about any BULLETINs which are distributed
148 ;;^DD(9.4,1944,21,2,0)
149 ;;=along with the Package.
150 ;;^DD(9.4,1944,"DT")
151 ;;=2940606
152 ;;^DD(9.4,1945,0)
153 ;;=*SECURITY KEYS^XCmJ30^^ ; ^S (XU,X)=$P(^DIC(9.4,D0,0),U,2) I X?1A.E F D=0:0 X:$D(^XUSEC(X)) DICMX S X=$O(^XUSEC(X)) I $P(X,XU,1)]""!(X="") S X="" Q
154 ;;^DD(9.4,1945,9)
155 ;;=^
156 ;;^DD(9.4,1945,9.01)
157 ;;=
158 ;;^DD(9.4,1945,9.1)
159 ;;=S (XU,X)=$P(^DIC(9.4,D0,0),U,2) I X?1A.E F D=0:0 X:$D(^XUSEC(X)) DICMX S X=$O(^XUSEC(X)) I $P(X,XU,1)]""!(X="") S X="" Q
160 ;;^DD(9.4,1945,21,0)
161 ;;=^^2^2^2851008^
162 ;;^DD(9.4,1945,21,1,0)
163 ;;=This describes the SECURITY KEYs which are distributed along with
164 ;;^DD(9.4,1945,21,2,0)
165 ;;=the Package.
166 ;;^DD(9.4,1945,"DT")
167 ;;=2940606
168 ;;^DD(9.4,1946,0)
169 ;;=*OPTIONS^XCmJ30^^ ; ^S (XU,X)=$P(^DIC(9.4,D0,0),U,2) I X?1A.E F D=0:0 S D=$O(^DIC(19,"B",X,0)) S:D="" D=-1 X:$D(^DIC(19,D,0)) DICMX S X=$O(^DIC(19,"B",X)) I $P(X,XU,1)]""!(X="") S X="" Q
170 ;;^DD(9.4,1946,9)
171 ;;=^
172 ;;^DD(9.4,1946,9.01)
173 ;;=
174 ;;^DD(9.4,1946,9.1)
175 ;;=S (XU,X)=$P(^DIC(9.4,D0,0),U,2) I X?1A.E F D=0:0 Q:$P(X,XU,1)]""!(X="") S D=$O(^DIC(19,"B",X,0)) S:D="" D=-1 X:$D(^DIC(19,D,0)) DICMX S X=$O(^DIC(19,"B",X))
176 ;;^DD(9.4,1946,21,0)
177 ;;=^^2^2^2851008^
178 ;;^DD(9.4,1946,21,1,0)
179 ;;=This lists information concerning the OPTIONs which are distributed
Note: See TracBrowser for help on using the repository browser.