Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: XPDIN003

XPDIN003.m

Go to the documentation of this file.
  1. XPDIN003 ; ; 03-JUL-1995
  1. ;;8.0;KERNEL;;JUL 10, 1995
  1. 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
  1. Q Q
  1. ;;^DD(9.6,914,"DT")
  1. ;;=2940518
  1. ;;^DD(9.6,916,0)
  1. ;;=PRE-INSTALL ROUTINE^FX^^INI;E1,240^K:$L(X)>17!(X'?.1UP.7UN.1"^".1UP.7UN) X
  1. ;;^DD(9.6,916,.1)
  1. ;;=
  1. ;;^DD(9.6,916,3)
  1. ;;=Enter name of developer's pre-init [TAG^]ROUTINE.
  1. ;;^DD(9.6,916,21,0)
  1. ;;=^^6^6^2940518^^^^
  1. ;;^DD(9.6,916,21,1,0)
  1. ;;=Name of the developer's routine that runs after the user has answered all
  1. ;;^DD(9.6,916,21,2,0)
  1. ;;=of the questions, but before any data or DD has been installed. All of
  1. ;;^DD(9.6,916,21,3,0)
  1. ;;=the routines for this package will already be installed. Used for data
  1. ;;^DD(9.6,916,21,4,0)
  1. ;;=conversions, etc. that the developer needs to do before bringing in new
  1. ;;^DD(9.6,916,21,5,0)
  1. ;;=data. This routine cannot be interactive with the user, it might
  1. ;;^DD(9.6,916,21,6,0)
  1. ;;=be queued to run at a later time.
  1. ;;^DD(9.6,916,"DT")
  1. ;;=2940518
  1. ;;^DD(9.61,0)
  1. ;;=DESCRIPTION OF ENHANCEMENTS SUB-FIELD^NL^.01^1
  1. ;;^DD(9.61,0,"NM","DESCRIPTION OF ENHANCEMENTS")
  1. ;;=
  1. ;;^DD(9.61,0,"UP")
  1. ;;=9.6
  1. ;;^DD(9.61,.01,0)
  1. ;;=DESCRIPTION^W^^0;1^Q
  1. ;;^DD(9.61,.01,3)
  1. ;;=Please enter a complete and detailed description of the Package.
  1. ;;^DD(9.61,.01,21,0)
  1. ;;=^^2^2^2920513^^^^
  1. ;;^DD(9.61,.01,21,1,0)
  1. ;;=This is a complete and detailed description of the Package's functions
  1. ;;^DD(9.61,.01,21,2,0)
  1. ;;=and capabilities.
  1. ;;^DD(9.61,.01,"DT")
  1. ;;=2851007
  1. ;;^DD(9.62,0)
  1. ;;=INSTALL QUESTIONS SUB-FIELD^^10^9
  1. ;;^DD(9.62,0,"DT")
  1. ;;=2931129
  1. ;;^DD(9.62,0,"IX","B",9.62,.01)
  1. ;;=
  1. ;;^DD(9.62,0,"NM","INSTALL QUESTIONS")
  1. ;;=
  1. ;;^DD(9.62,0,"UP")
  1. ;;=9.6
  1. ;;^DD(9.62,.01,0)
  1. ;;=SUBSCRIPT^MFX^^0;1^K:$L(X)>30!'(X?1"PRE".E!(X?1"POS".E)) X
  1. ;;^DD(9.62,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(9.62,.01,1,1,0)
  1. ;;=9.62^B
  1. ;;^DD(9.62,.01,1,1,1)
  1. ;;=S ^XPD(9.6,DA(1),"QUES","B",$E(X,1,30),DA)=""
  1. ;;^DD(9.62,.01,1,1,2)
  1. ;;=K ^XPD(9.6,DA(1),"QUES","B",$E(X,1,30),DA)
  1. ;;^DD(9.62,.01,3)
  1. ;;=Answer must begin with "PRE" or "POS" and can be up to 30 characters in length.
  1. ;;^DD(9.62,.01,21,0)
  1. ;;=^^8^8^2940607^^^^
  1. ;;^DD(9.62,.01,21,1,0)
  1. ;;=This field will be used as the subscript of the users answer to the
  1. ;;^DD(9.62,.01,21,2,0)
  1. ;;=Install Questions. The first 3 character should be either "PRE" or "POS"
  1. ;;^DD(9.62,.01,21,3,0)
  1. ;;=to indicate whether the question should be asked during the pre-init or
  1. ;;^DD(9.62,.01,21,4,0)
  1. ;;=during the post-init. The answers will be in the XPDQUES array, example:
  1. ;;^DD(9.62,.01,21,5,0)
  1. ;;= If this field was set to 'PRE1 QUESTION' then
  1. ;;^DD(9.62,.01,21,6,0)
  1. ;;= XPDQUES("PRE1 QUESTION") = user response.
  1. ;;^DD(9.62,.01,21,7,0)
  1. ;;=
  1. ;;^DD(9.62,.01,21,8,0)
  1. ;;=This field is also used to determine the order of the questions.
  1. ;;^DD(9.62,.01,"DT")
  1. ;;=2931129
  1. ;;^DD(9.62,1,0)
  1. ;;=DIR(0)^RF^^1;E1,245^K:$L(X)>240!($L(X)<1) X
  1. ;;^DD(9.62,1,3)
  1. ;;=Answer must be 1-240 characters in length.
  1. ;;^DD(9.62,1,21,0)
  1. ;;=^^1^1^2940414^
  1. ;;^DD(9.62,1,21,1,0)
  1. ;;=This is the DIR(0) variable for the VA Fileman DIR routine.
  1. ;;^DD(9.62,1,"DT")
  1. ;;=2931123
  1. ;;^DD(9.62,2,0)
  1. ;;=DIR(A)^F^^A;E1,245^K:$L(X)>240!($L(X)<1) X
  1. ;;^DD(9.62,2,3)
  1. ;;=Answer must be 1-240 characters in length.
  1. ;;^DD(9.62,2,21,0)
  1. ;;=^^1^1^2940414^^
  1. ;;^DD(9.62,2,21,1,0)
  1. ;;=This is the DIR("A") variable for the VA Fileman DIR routine.
  1. ;;^DD(9.62,2,"DT")
  1. ;;=2931122
  1. ;;^DD(9.62,3,0)
  1. ;;=DIR(A,#)^9.623^^A1;0
  1. ;;^DD(9.62,3,21,0)
  1. ;;=^^1^1^2940414^^
  1. ;;^DD(9.62,3,21,1,0)
  1. ;;=This is the DIR("A",#) array for the VA Fileman DIR routine.
  1. ;;^DD(9.62,4,0)
  1. ;;=DIR(B)^F^^B;1^K:$L(X)>79!($L(X)<1) X
  1. ;;^DD(9.62,4,3)
  1. ;;=Answer must be 1-79 characters in length.
  1. ;;^DD(9.62,4,21,0)
  1. ;;=^^1^1^2940414^^
  1. ;;^DD(9.62,4,21,1,0)
  1. ;;=This is the DIR("B") variable for the VA Fileman DIR routine.
  1. ;;^DD(9.62,4,"DT")
  1. ;;=2931122
  1. ;;^DD(9.62,5,0)
  1. ;;=DIR(?)^F^^Q;E1,245^K:$L(X)>240!($L(X)<1) X
  1. ;;^DD(9.62,5,3)
  1. ;;=Answer must be 1-240 characters in length.
  1. ;;^DD(9.62,5,21,0)
  1. ;;=^^1^1^2940414^^
  1. ;;^DD(9.62,5,21,1,0)
  1. ;;=This is the DIR("?") variable for the VA Fileman DIR routine.
  1. ;;^DD(9.62,5,"DT")
  1. ;;=2931122
  1. ;;^DD(9.62,6,0)
  1. ;;=DIR(?,#)^9.626^^Q1;0
  1. ;;^DD(9.62,6,21,0)
  1. ;;=^^1^1^2940414^^
  1. ;;^DD(9.62,6,21,1,0)
  1. ;;=This is the DIR("?",#) array for the VA Fileman DIR routine.
  1. ;;^DD(9.62,7,0)
  1. ;;=DIR(??)^F^^QQ;E1,245^K:$L(X)>240!($L(X)<3) X
  1. ;;^DD(9.62,7,3)
  1. ;;=Answer must be 3-240 characters in length.
  1. ;;^DD(9.62,7,21,0)
  1. ;;=^^1^1^2940414^^
  1. ;;^DD(9.62,7,21,1,0)
  1. ;;=This is the DIR("??") variable for the VA Fileman DIR routine.
  1. ;;^DD(9.62,7,"DT")
  1. ;;=2931122
  1. ;;^DD(9.62,10,0)
  1. ;;=M CODE^K^^M;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  1. ;;^DD(9.62,10,3)
  1. ;;=This is Standard MUMPS code.
  1. ;;^DD(9.62,10,9)
  1. ;;=@