| 1 | DINIT260 ;SFISC/XAK-INITIALIZE VA FILEMAN ;12/14/92  2:48 PM
 | 
|---|
| 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 ^DINIT27:X="" S Y=$E($T(Q+I+1),5,999),X=$E(X,4,999),@X=Y
 | 
|---|
| 5 | Q Q
 | 
|---|
| 6 |  ;;^DD(1.11,12,0)
 | 
|---|
| 7 |  ;;=DATE LAST PRINTED^D^^0;13^S %DT="ETX" D ^%DT S X=Y K:Y<1 X
 | 
|---|
| 8 |  ;;^DD(1.11,12,3)
 | 
|---|
| 9 |  ;;=Enter the date that the listing of items to be archived was last printed.
 | 
|---|
| 10 |  ;;^DD(1.11,13,0)
 | 
|---|
| 11 |  ;;=ARCHIVING ACTION IN PROGRESS^S^1:SELECTION;2:EDITING;4:ARCHIVING (TEMPORARY);5:ARCHIVING (PERMANENT);6:UPDATING DESTINATION FILE;90:PURGING;99:CANCELLING;^0;14^Q
 | 
|---|
| 12 |  ;;^DD(1.11,13,3)
 | 
|---|
| 13 |  ;;=Entry will be made here by system when user begins performing some action to this ARCHIVAL ACTIVITY and will be deleted when action is complete, to lock out other users.
 | 
|---|
| 14 |  ;;^DD(1.11,14,0)
 | 
|---|
| 15 |  ;;=DATE/TIME ACTIVITY BEGAN^D^^0;15^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
 | 
|---|
| 16 |  ;;^DD(1.11,14,3)
 | 
|---|
| 17 |  ;;=Date/time user began archiving action currently in progress.
 | 
|---|
| 18 |  ;;^DD(1.11,15,0)
 | 
|---|
| 19 |  ;;=USER PERFORMING ACTION^P200'^VA(200,^0;16^Q
 | 
|---|
| 20 |  ;;^DD(1.11,15,3)
 | 
|---|
| 21 |  ;;=User that initiated the archiving action.
 | 
|---|
| 22 |  ;;^DD(1.11,16,0)
 | 
|---|
| 23 |  ;;=TYPE OF ARCHIVE^S^0:ARCHIVING;1:EXTRACT;^0;17^Q
 | 
|---|
| 24 |  ;;^DD(1.11,16,21,0)
 | 
|---|
| 25 |  ;;=^^4^4^2921002^
 | 
|---|
| 26 |  ;;^DD(1.11,16,21,1,0)
 | 
|---|
| 27 |  ;;=This field indicates the archiving type for this particular archival
 | 
|---|
| 28 |  ;;^DD(1.11,16,21,2,0)
 | 
|---|
| 29 |  ;;=activity entry.  This should be 0 if the archival process is being done
 | 
|---|
| 30 |  ;;^DD(1.11,16,21,3,0)
 | 
|---|
| 31 |  ;;=under the Archiving options; or should be 1 if the archival process is
 | 
|---|
| 32 |  ;;^DD(1.11,16,21,4,0)
 | 
|---|
| 33 |  ;;=being done under the Extract Tool options.
 | 
|---|
| 34 |  ;;^DD(1.11,17,0)
 | 
|---|
| 35 |  ;;=DESTINATION FILE^P1'^DIC(^0;18^Q
 | 
|---|
| 36 |  ;;^DD(1.11,17,21,0)
 | 
|---|
| 37 |  ;;=^^2^2^2921002^
 | 
|---|
| 38 |  ;;^DD(1.11,17,21,1,0)
 | 
|---|
| 39 |  ;;=This field holds the number of the destination file for this archival
 | 
|---|
| 40 |  ;;^DD(1.11,17,21,2,0)
 | 
|---|
| 41 |  ;;=activity.
 | 
|---|
| 42 |  ;;^DD(1.11,18,0)
 | 
|---|
| 43 |  ;;=ARCHIVE DEVICE LABEL^F^^0;19^K:$L(X)>45!($L(X)<2) X
 | 
|---|
| 44 |  ;;^DD(1.11,18,3)
 | 
|---|
| 45 |  ;;=Answer must be 2-45 characters in length.
 | 
|---|
| 46 |  ;;^DD(1.11,18,21,0)
 | 
|---|
| 47 |  ;;=^^2^2^2921002^
 | 
|---|
| 48 |  ;;^DD(1.11,18,21,1,0)
 | 
|---|
| 49 |  ;;=This field holds the label information that identifies your archival
 | 
|---|
| 50 |  ;;^DD(1.11,18,21,2,0)
 | 
|---|
| 51 |  ;;=medium.
 | 
|---|
| 52 |  ;;^DD(1.11,30,0)
 | 
|---|
| 53 |  ;;=SUBFILE NUMBER^F^^1;1^K:+X'=X X
 | 
|---|
| 54 |  ;;^DD(1.11,30,3)
 | 
|---|
| 55 |  ;;=Type the number of a sub-file data dictionary.
 | 
|---|
| 56 |  ;;^DD(1.11,31,0)
 | 
|---|
| 57 |  ;;=SUBFILE SUBSCRIPTS^F^^1;2^K:$L(X)>50!($L(X)<3) X
 | 
|---|
| 58 |  ;;^DD(1.11,31,3)
 | 
|---|
| 59 |  ;;=Answer must be 3-50 characters in length.
 | 
|---|
| 60 |  ;;^DD(1.11,32,0)
 | 
|---|
| 61 |  ;;=SUBFILE SCREEN^1.1132A^^S;0
 | 
|---|
| 62 |  ;;^DD(1.11,100,0)
 | 
|---|
| 63 |  ;;=DATA^1.113^^D;0
 | 
|---|
| 64 |  ;;^DD(1.113,0)
 | 
|---|
| 65 |  ;;=DATA SUB-FIELD^^.01^1
 | 
|---|
| 66 |  ;;^DD(1.113,0,"NM","DATA")
 | 
|---|
| 67 |  ;;=
 | 
|---|
| 68 |  ;;^DD(1.113,0,"UP")
 | 
|---|
| 69 |  ;;=1.11
 | 
|---|
| 70 |  ;;^DD(1.113,.01,0)
 | 
|---|
| 71 |  ;;=DATA^WL^^0;1^Q
 | 
|---|
| 72 |  ;;^DD(1.1132,0)
 | 
|---|
| 73 |  ;;=SUBFILE SCREEN SUB-FIELD^^1^2
 | 
|---|
| 74 |  ;;^DD(1.1132,0,"NM","SUBFILE SCREEN")
 | 
|---|
| 75 |  ;;=
 | 
|---|
| 76 |  ;;^DD(1.1132,0,"UP")
 | 
|---|
| 77 |  ;;=1.11
 | 
|---|
| 78 |  ;;^DD(1.1132,.01,0)
 | 
|---|
| 79 |  ;;=SUBSCRIPT^F^^0;1^K:$L(X)>10!($L(X)<1) X
 | 
|---|
| 80 |  ;;^DD(1.1132,.01,3)
 | 
|---|
| 81 |  ;;=Answer must be 1-10 characters in length.
 | 
|---|
| 82 |  ;;^DD(1.1132,1,0)
 | 
|---|
| 83 |  ;;=CODE^K^^1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
 | 
|---|
| 84 |  ;;^DD(1.1132,1,3)
 | 
|---|
| 85 |  ;;=This is Standard MUMPS code.
 | 
|---|
| 86 |  ;;^DD(1.1132,1,9)
 | 
|---|
| 87 |  ;;=@
 | 
|---|
| 88 |  ;;^DD(1.11,200,0)
 | 
|---|
| 89 |  ;;=DESTINATION FILE ENTRIES^1.14^^EX;0
 | 
|---|
| 90 |  ;;^DD(1.14,0)
 | 
|---|
| 91 |  ;;=DESTINATION FILE ENTRIES SUB-FIELD^^.01^1
 | 
|---|
| 92 |  ;;^DD(1.14,0,"NM","DESTINATION FILE ENTRIES")
 | 
|---|
| 93 |  ;;=
 | 
|---|
| 94 |  ;;^DD(1.14,0,"UP")
 | 
|---|
| 95 |  ;;=1.11
 | 
|---|
| 96 |  ;;^DD(1.14,.01,0)
 | 
|---|
| 97 |  ;;=DESTINATION FILE ENTRIES^MNJ9,0X^^0;1^K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X I $D(X) S DINUM=X
 | 
|---|
| 98 |  ;;^DD(1.14,.01,1,0)
 | 
|---|
| 99 |  ;;=^.1
 | 
|---|
| 100 |  ;;^DD(1.14,.01,1,1,0)
 | 
|---|
| 101 |  ;;=1.14^B
 | 
|---|
| 102 |  ;;^DD(1.14,.01,1,1,1)
 | 
|---|
| 103 |  ;;=S ^DIAR(1.11,DA(1),"EX","B",$E(X,1,30),DA)=""
 | 
|---|
| 104 |  ;;^DD(1.14,.01,1,1,2)
 | 
|---|
| 105 |  ;;=K ^DIAR(1.11,DA(1),"EX","B",$E(X,1,30),DA)
 | 
|---|
| 106 |  ;;^DD(1.14,.01,3)
 | 
|---|
| 107 |  ;;=Type a Number between 0 and 999999999, 0 Decimal Digits
 | 
|---|
| 108 |  ;;^DD(1.14,.01,21,0)
 | 
|---|
| 109 |  ;;=^^2^2^2921208^
 | 
|---|
| 110 |  ;;^DD(1.14,.01,21,1,0)
 | 
|---|
| 111 |  ;;=This field holds the internal entry number of the record created in the
 | 
|---|
| 112 |  ;;^DD(1.14,.01,21,3,0)
 | 
|---|
| 113 |  ;;=destination file.
 | 
|---|