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

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

initial load of WorldVistAEHR

File size: 1.5 KB
RevLine 
[613]1DINIT28 ;SFISC/XAK-INITIALIZE VA FILEMAN ;9/9/94 14:19
2 ;;22.0;VA FileMan;;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 F I=1:2 S X=$T(Q+I) G ^DINIT285:X="" S Y=$E($T(Q+I+1),5,999),X=$E(X,4,999),@X=Y
5Q Q
6 ;;^DIC(1.12,0,"GL")
7 ;;=^DIAR(1.12,
8 ;;^DIC("B","FILEGRAM HISTORY",1.12)
9 ;;=
10 ;;^DIC(1.12,"%D",0)
11 ;;=^^1^1^2930712^
12 ;;^DIC(1.12,"%D",1,0)
13 ;;=This file stores information and status of filegram activities.
14 ;;^DD(1.12,0)
15 ;;=FIELD^^.07^7
16 ;;^DD(1.12,0,"ID",.03)
17 ;;=W " ",$P(^(0),U,3)
18 ;;^DD(1.12,0,"ID",.04)
19 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DIC(+$P(^(0),U,4),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(1,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
20 ;;^DD(1.12,0,"IX","B",1.12,.01)
21 ;;=
22 ;;^DD(1.12,.01,0)
23 ;;=DATE/TIME^RDX^^0;1^S %DT="ETX" D ^%DT S X=Y K:Y<1 X
24 ;;^DD(1.12,.01,1,0)
25 ;;=^.1
26 ;;^DD(1.12,.01,1,1,0)
27 ;;=1.12^B
28 ;;^DD(1.12,.01,1,1,1)
29 ;;=S ^DIAR(1.12,"B",$E(X,1,30),DA)=""
30 ;;^DD(1.12,.01,1,1,2)
31 ;;=K ^DIAR(1.12,"B",$E(X,1,30),DA)
32 ;;^DD(1.12,.01,3)
33 ;;=
34 ;;^DD(1.12,.02,0)
35 ;;=SENT/INSTALLED^RS^s:SENT;i:INSTALLED;u:UNSUCCESSFUL;^0;2^Q
36 ;;^DD(1.12,.03,0)
37 ;;=USER^RF^^0;3^K:$L(X)>30!($L(X)<1) X
38 ;;^DD(1.12,.03,3)
39 ;;=Answer must be 1-30 characters in length.
40 ;;^DD(1.12,.04,0)
41 ;;=FILE^P1'^DIC(^0;4^Q
42 ;;^DD(1.12,.05,0)
43 ;;=ENTRY NUMBER^RNJ8,0^^0;5^K:+X'=X!(X>99999999)!(X<.001)!(X?.E1"."1N.N) X
44 ;;^DD(1.12,.05,3)
45 ;;=Type a Number between .001 and 99999999, 0 Decimal Digits
46 ;;^DD(1.12,.06,0)
47 ;;=MESSAGE^P3.9'^XMB(3.9,^0;6^Q
48 ;;^DD(1.12,.07,0)
49 ;;=FILEGRAM^P.4'^DIPT(^0;7^Q
Note: See TracBrowser for help on using the repository browser.