XPDIN003 ; ; 03-JUL-1995
;;8.0;KERNEL;;JUL 10, 1995
Q:'DIFQ(9.6) 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
Q Q
;;^DD(9.6,914,"DT")
;;=2940518
;;^DD(9.6,916,0)
;;=PRE-INSTALL ROUTINE^FX^^INI;E1,240^K:$L(X)>17!(X'?.1UP.7UN.1"^".1UP.7UN) X
;;^DD(9.6,916,.1)
;;=
;;^DD(9.6,916,3)
;;=Enter name of developer's pre-init [TAG^]ROUTINE.
;;^DD(9.6,916,21,0)
;;=^^6^6^2940518^^^^
;;^DD(9.6,916,21,1,0)
;;=Name of the developer's routine that runs after the user has answered all
;;^DD(9.6,916,21,2,0)
;;=of the questions, but before any data or DD has been installed. All of
;;^DD(9.6,916,21,3,0)
;;=the routines for this package will already be installed. Used for data
;;^DD(9.6,916,21,4,0)
;;=conversions, etc. that the developer needs to do before bringing in new
;;^DD(9.6,916,21,5,0)
;;=data. This routine cannot be interactive with the user, it might
;;^DD(9.6,916,21,6,0)
;;=be queued to run at a later time.
;;^DD(9.6,916,"DT")
;;=2940518
;;^DD(9.61,0)
;;=DESCRIPTION OF ENHANCEMENTS SUB-FIELD^NL^.01^1
;;^DD(9.61,0,"NM","DESCRIPTION OF ENHANCEMENTS")
;;=
;;^DD(9.61,0,"UP")
;;=9.6
;;^DD(9.61,.01,0)
;;=DESCRIPTION^W^^0;1^Q
;;^DD(9.61,.01,3)
;;=Please enter a complete and detailed description of the Package.
;;^DD(9.61,.01,21,0)
;;=^^2^2^2920513^^^^
;;^DD(9.61,.01,21,1,0)
;;=This is a complete and detailed description of the Package's functions
;;^DD(9.61,.01,21,2,0)
;;=and capabilities.
;;^DD(9.61,.01,"DT")
;;=2851007
;;^DD(9.62,0)
;;=INSTALL QUESTIONS SUB-FIELD^^10^9
;;^DD(9.62,0,"DT")
;;=2931129
;;^DD(9.62,0,"IX","B",9.62,.01)
;;=
;;^DD(9.62,0,"NM","INSTALL QUESTIONS")
;;=
;;^DD(9.62,0,"UP")
;;=9.6
;;^DD(9.62,.01,0)
;;=SUBSCRIPT^MFX^^0;1^K:$L(X)>30!'(X?1"PRE".E!(X?1"POS".E)) X
;;^DD(9.62,.01,1,0)
;;=^.1
;;^DD(9.62,.01,1,1,0)
;;=9.62^B
;;^DD(9.62,.01,1,1,1)
;;=S ^XPD(9.6,DA(1),"QUES","B",$E(X,1,30),DA)=""
;;^DD(9.62,.01,1,1,2)
;;=K ^XPD(9.6,DA(1),"QUES","B",$E(X,1,30),DA)
;;^DD(9.62,.01,3)
;;=Answer must begin with "PRE" or "POS" and can be up to 30 characters in length.
;;^DD(9.62,.01,21,0)
;;=^^8^8^2940607^^^^
;;^DD(9.62,.01,21,1,0)
;;=This field will be used as the subscript of the users answer to the
;;^DD(9.62,.01,21,2,0)
;;=Install Questions. The first 3 character should be either "PRE" or "POS"
;;^DD(9.62,.01,21,3,0)
;;=to indicate whether the question should be asked during the pre-init or
;;^DD(9.62,.01,21,4,0)
;;=during the post-init. The answers will be in the XPDQUES array, example:
;;^DD(9.62,.01,21,5,0)
;;= If this field was set to 'PRE1 QUESTION' then
;;^DD(9.62,.01,21,6,0)
;;= XPDQUES("PRE1 QUESTION") = user response.
;;^DD(9.62,.01,21,7,0)
;;=
;;^DD(9.62,.01,21,8,0)
;;=This field is also used to determine the order of the questions.
;;^DD(9.62,.01,"DT")
;;=2931129
;;^DD(9.62,1,0)
;;=DIR(0)^RF^^1;E1,245^K:$L(X)>240!($L(X)<1) X
;;^DD(9.62,1,3)
;;=Answer must be 1-240 characters in length.
;;^DD(9.62,1,21,0)
;;=^^1^1^2940414^
;;^DD(9.62,1,21,1,0)
;;=This is the DIR(0) variable for the VA Fileman DIR routine.
;;^DD(9.62,1,"DT")
;;=2931123
;;^DD(9.62,2,0)
;;=DIR(A)^F^^A;E1,245^K:$L(X)>240!($L(X)<1) X
;;^DD(9.62,2,3)
;;=Answer must be 1-240 characters in length.
;;^DD(9.62,2,21,0)
;;=^^1^1^2940414^^
;;^DD(9.62,2,21,1,0)
;;=This is the DIR("A") variable for the VA Fileman DIR routine.
;;^DD(9.62,2,"DT")
;;=2931122
;;^DD(9.62,3,0)
;;=DIR(A,#)^9.623^^A1;0
;;^DD(9.62,3,21,0)
;;=^^1^1^2940414^^
;;^DD(9.62,3,21,1,0)
;;=This is the DIR("A",#) array for the VA Fileman DIR routine.
;;^DD(9.62,4,0)
;;=DIR(B)^F^^B;1^K:$L(X)>79!($L(X)<1) X
;;^DD(9.62,4,3)
;;=Answer must be 1-79 characters in length.
;;^DD(9.62,4,21,0)
;;=^^1^1^2940414^^
;;^DD(9.62,4,21,1,0)
;;=This is the DIR("B") variable for the VA Fileman DIR routine.
;;^DD(9.62,4,"DT")
;;=2931122
;;^DD(9.62,5,0)
;;=DIR(?)^F^^Q;E1,245^K:$L(X)>240!($L(X)<1) X
;;^DD(9.62,5,3)
;;=Answer must be 1-240 characters in length.
;;^DD(9.62,5,21,0)
;;=^^1^1^2940414^^
;;^DD(9.62,5,21,1,0)
;;=This is the DIR("?") variable for the VA Fileman DIR routine.
;;^DD(9.62,5,"DT")
;;=2931122
;;^DD(9.62,6,0)
;;=DIR(?,#)^9.626^^Q1;0
;;^DD(9.62,6,21,0)
;;=^^1^1^2940414^^
;;^DD(9.62,6,21,1,0)
;;=This is the DIR("?",#) array for the VA Fileman DIR routine.
;;^DD(9.62,7,0)
;;=DIR(??)^F^^QQ;E1,245^K:$L(X)>240!($L(X)<3) X
;;^DD(9.62,7,3)
;;=Answer must be 3-240 characters in length.
;;^DD(9.62,7,21,0)
;;=^^1^1^2940414^^
;;^DD(9.62,7,21,1,0)
;;=This is the DIR("??") variable for the VA Fileman DIR routine.
;;^DD(9.62,7,"DT")
;;=2931122
;;^DD(9.62,10,0)
;;=M CODE^K^^M;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
;;^DD(9.62,10,3)
;;=This is Standard MUMPS code.
;;^DD(9.62,10,9)
;;=@
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HXPDIN003 4991 printed Dec 13, 2024@02:03:45 Page 2
XPDIN003 ; ; 03-JUL-1995
+1 ;;8.0;KERNEL;;JUL 10, 1995
+2 if 'DIFQ(9.6)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
if X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
if $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DD(9.6,914,"DT")
+2 ;;=2940518
+3 ;;^DD(9.6,916,0)
+4 ;;=PRE-INSTALL ROUTINE^FX^^INI;E1,240^K:$L(X)>17!(X'?.1UP.7UN.1"^".1UP.7UN) X
+5 ;;^DD(9.6,916,.1)
+6 ;;=
+7 ;;^DD(9.6,916,3)
+8 ;;=Enter name of developer's pre-init [TAG^]ROUTINE.
+9 ;;^DD(9.6,916,21,0)
+10 ;;=^^6^6^2940518^^^^
+11 ;;^DD(9.6,916,21,1,0)
+12 ;;=Name of the developer's routine that runs after the user has answered all
+13 ;;^DD(9.6,916,21,2,0)
+14 ;;=of the questions, but before any data or DD has been installed. All of
+15 ;;^DD(9.6,916,21,3,0)
+16 ;;=the routines for this package will already be installed. Used for data
+17 ;;^DD(9.6,916,21,4,0)
+18 ;;=conversions, etc. that the developer needs to do before bringing in new
+19 ;;^DD(9.6,916,21,5,0)
+20 ;;=data. This routine cannot be interactive with the user, it might
+21 ;;^DD(9.6,916,21,6,0)
+22 ;;=be queued to run at a later time.
+23 ;;^DD(9.6,916,"DT")
+24 ;;=2940518
+25 ;;^DD(9.61,0)
+26 ;;=DESCRIPTION OF ENHANCEMENTS SUB-FIELD^NL^.01^1
+27 ;;^DD(9.61,0,"NM","DESCRIPTION OF ENHANCEMENTS")
+28 ;;=
+29 ;;^DD(9.61,0,"UP")
+30 ;;=9.6
+31 ;;^DD(9.61,.01,0)
+32 ;;=DESCRIPTION^W^^0;1^Q
+33 ;;^DD(9.61,.01,3)
+34 ;;=Please enter a complete and detailed description of the Package.
+35 ;;^DD(9.61,.01,21,0)
+36 ;;=^^2^2^2920513^^^^
+37 ;;^DD(9.61,.01,21,1,0)
+38 ;;=This is a complete and detailed description of the Package's functions
+39 ;;^DD(9.61,.01,21,2,0)
+40 ;;=and capabilities.
+41 ;;^DD(9.61,.01,"DT")
+42 ;;=2851007
+43 ;;^DD(9.62,0)
+44 ;;=INSTALL QUESTIONS SUB-FIELD^^10^9
+45 ;;^DD(9.62,0,"DT")
+46 ;;=2931129
+47 ;;^DD(9.62,0,"IX","B",9.62,.01)
+48 ;;=
+49 ;;^DD(9.62,0,"NM","INSTALL QUESTIONS")
+50 ;;=
+51 ;;^DD(9.62,0,"UP")
+52 ;;=9.6
+53 ;;^DD(9.62,.01,0)
+54 ;;=SUBSCRIPT^MFX^^0;1^K:$L(X)>30!'(X?1"PRE".E!(X?1"POS".E)) X
+55 ;;^DD(9.62,.01,1,0)
+56 ;;=^.1
+57 ;;^DD(9.62,.01,1,1,0)
+58 ;;=9.62^B
+59 ;;^DD(9.62,.01,1,1,1)
+60 ;;=S ^XPD(9.6,DA(1),"QUES","B",$E(X,1,30),DA)=""
+61 ;;^DD(9.62,.01,1,1,2)
+62 ;;=K ^XPD(9.6,DA(1),"QUES","B",$E(X,1,30),DA)
+63 ;;^DD(9.62,.01,3)
+64 ;;=Answer must begin with "PRE" or "POS" and can be up to 30 characters in length.
+65 ;;^DD(9.62,.01,21,0)
+66 ;;=^^8^8^2940607^^^^
+67 ;;^DD(9.62,.01,21,1,0)
+68 ;;=This field will be used as the subscript of the users answer to the
+69 ;;^DD(9.62,.01,21,2,0)
+70 ;;=Install Questions. The first 3 character should be either "PRE" or "POS"
+71 ;;^DD(9.62,.01,21,3,0)
+72 ;;=to indicate whether the question should be asked during the pre-init or
+73 ;;^DD(9.62,.01,21,4,0)
+74 ;;=during the post-init. The answers will be in the XPDQUES array, example:
+75 ;;^DD(9.62,.01,21,5,0)
+76 ;;= If this field was set to 'PRE1 QUESTION' then
+77 ;;^DD(9.62,.01,21,6,0)
+78 ;;= XPDQUES("PRE1 QUESTION") = user response.
+79 ;;^DD(9.62,.01,21,7,0)
+80 ;;=
+81 ;;^DD(9.62,.01,21,8,0)
+82 ;;=This field is also used to determine the order of the questions.
+83 ;;^DD(9.62,.01,"DT")
+84 ;;=2931129
+85 ;;^DD(9.62,1,0)
+86 ;;=DIR(0)^RF^^1;E1,245^K:$L(X)>240!($L(X)<1) X
+87 ;;^DD(9.62,1,3)
+88 ;;=Answer must be 1-240 characters in length.
+89 ;;^DD(9.62,1,21,0)
+90 ;;=^^1^1^2940414^
+91 ;;^DD(9.62,1,21,1,0)
+92 ;;=This is the DIR(0) variable for the VA Fileman DIR routine.
+93 ;;^DD(9.62,1,"DT")
+94 ;;=2931123
+95 ;;^DD(9.62,2,0)
+96 ;;=DIR(A)^F^^A;E1,245^K:$L(X)>240!($L(X)<1) X
+97 ;;^DD(9.62,2,3)
+98 ;;=Answer must be 1-240 characters in length.
+99 ;;^DD(9.62,2,21,0)
+100 ;;=^^1^1^2940414^^
+101 ;;^DD(9.62,2,21,1,0)
+102 ;;=This is the DIR("A") variable for the VA Fileman DIR routine.
+103 ;;^DD(9.62,2,"DT")
+104 ;;=2931122
+105 ;;^DD(9.62,3,0)
+106 ;;=DIR(A,#)^9.623^^A1;0
+107 ;;^DD(9.62,3,21,0)
+108 ;;=^^1^1^2940414^^
+109 ;;^DD(9.62,3,21,1,0)
+110 ;;=This is the DIR("A",#) array for the VA Fileman DIR routine.
+111 ;;^DD(9.62,4,0)
+112 ;;=DIR(B)^F^^B;1^K:$L(X)>79!($L(X)<1) X
+113 ;;^DD(9.62,4,3)
+114 ;;=Answer must be 1-79 characters in length.
+115 ;;^DD(9.62,4,21,0)
+116 ;;=^^1^1^2940414^^
+117 ;;^DD(9.62,4,21,1,0)
+118 ;;=This is the DIR("B") variable for the VA Fileman DIR routine.
+119 ;;^DD(9.62,4,"DT")
+120 ;;=2931122
+121 ;;^DD(9.62,5,0)
+122 ;;=DIR(?)^F^^Q;E1,245^K:$L(X)>240!($L(X)<1) X
+123 ;;^DD(9.62,5,3)
+124 ;;=Answer must be 1-240 characters in length.
+125 ;;^DD(9.62,5,21,0)
+126 ;;=^^1^1^2940414^^
+127 ;;^DD(9.62,5,21,1,0)
+128 ;;=This is the DIR("?") variable for the VA Fileman DIR routine.
+129 ;;^DD(9.62,5,"DT")
+130 ;;=2931122
+131 ;;^DD(9.62,6,0)
+132 ;;=DIR(?,#)^9.626^^Q1;0
+133 ;;^DD(9.62,6,21,0)
+134 ;;=^^1^1^2940414^^
+135 ;;^DD(9.62,6,21,1,0)
+136 ;;=This is the DIR("?",#) array for the VA Fileman DIR routine.
+137 ;;^DD(9.62,7,0)
+138 ;;=DIR(??)^F^^QQ;E1,245^K:$L(X)>240!($L(X)<3) X
+139 ;;^DD(9.62,7,3)
+140 ;;=Answer must be 3-240 characters in length.
+141 ;;^DD(9.62,7,21,0)
+142 ;;=^^1^1^2940414^^
+143 ;;^DD(9.62,7,21,1,0)
+144 ;;=This is the DIR("??") variable for the VA Fileman DIR routine.
+145 ;;^DD(9.62,7,"DT")
+146 ;;=2931122
+147 ;;^DD(9.62,10,0)
+148 ;;=M CODE^K^^M;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
+149 ;;^DD(9.62,10,3)
+150 ;;=This is Standard MUMPS code.
+151 ;;^DD(9.62,10,9)
+152 ;;=@