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

DIPKI003.m

Go to the documentation of this file.
  1. DIPKI003 ; ; 30-MAR-1999
  1. ;;22.0;VA FileMan;;Mar 30, 1999;Build 1
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. 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
  1. Q Q
  1. ;;^DD(9.4,913,23,0)
  1. ;;=^^2^2^2921202^^^^
  1. ;;^DD(9.4,913,23,1,0)
  1. ;;= A call to this routine gets inserted, by DIFROM at the beginning of the
  1. ;;^DD(9.4,913,23,2,0)
  1. ;;=NAMESPACE_INIT routine, before the EN entry point.
  1. ;;^DD(9.4,913,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,913.5,0)
  1. ;;=*ENVIRONMENT CHECK DONE DATE^D^^PRE;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(9.4,913.5,3)
  1. ;;=
  1. ;;^DD(9.4,913.5,21,0)
  1. ;;=^^3^3^2921202^
  1. ;;^DD(9.4,913.5,21,1,0)
  1. ;;=This is the date/time that the ENVIRONMENT CHECK routine last ran. When an
  1. ;;^DD(9.4,913.5,21,2,0)
  1. ;;=INIT is run at a target site, and it contains an ENVIRONMENT CHECK
  1. ;;^DD(9.4,913.5,21,3,0)
  1. ;;=routine, this field is updated automatically.
  1. ;;^DD(9.4,913.5,"DT")
  1. ;;=2940603
  1. ;;^DD(9.4,914,0)
  1. ;;=*POST-INITIALIZATION ROUTINE^F^^INIT;1^K:$L(X)>8!($L(X)<3)!'(X?1UP.UN) X
  1. ;;^DD(9.4,914,.1)
  1. ;;=DEVELOPERS ROUTINE TO BRANCH TO AT END OF 'INIT' ROUTINE
  1. ;;^DD(9.4,914,3)
  1. ;;=Enter the name of the developer's post-initialization routine (3-8 characters).
  1. ;;^DD(9.4,914,21,0)
  1. ;;=^^2^2^2900730^^^^
  1. ;;^DD(9.4,914,21,1,0)
  1. ;;=The name of the developer's routine which is run immediately after the
  1. ;;^DD(9.4,914,21,2,0)
  1. ;;=installation of the package.
  1. ;;^DD(9.4,914,23,0)
  1. ;;=^^3^3^2900730^^^
  1. ;;^DD(9.4,914,23,1,0)
  1. ;;= This routine gets inserted by DIFROM at the end of the
  1. ;;^DD(9.4,914,23,2,0)
  1. ;;=NAMESPACE_INIT routine, after the INIT has filed all the information,
  1. ;;^DD(9.4,914,23,3,0)
  1. ;;=but before the quit statement.
  1. ;;^DD(9.4,914,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,914.5,0)
  1. ;;=*POST-INIT COMPLETION DATE^D^^INIT;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(9.4,914.5,3)
  1. ;;=
  1. ;;^DD(9.4,914.5,21,0)
  1. ;;=^^3^3^2911209^^
  1. ;;^DD(9.4,914.5,21,1,0)
  1. ;;=This is the date/time that the POST-INIT last ran. When an
  1. ;;^DD(9.4,914.5,21,2,0)
  1. ;;=INIT is run at a target site, and it contains a POST-INIT
  1. ;;^DD(9.4,914.5,21,3,0)
  1. ;;=routine, this field is updated automatically.
  1. ;;^DD(9.4,914.5,"DT")
  1. ;;=2940603
  1. ;;^DD(9.4,916,0)
  1. ;;=*PRE-INIT AFTER USER COMMIT^F^^INI;1^K:$L(X)>8!($L(X)<3) X
  1. ;;^DD(9.4,916,.1)
  1. ;;=DEVELOPERS ROUTINE RUN AFTER 'INIT' QUESTIONS ANSWERED
  1. ;;^DD(9.4,916,3)
  1. ;;=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.
  1. ;;^DD(9.4,916,21,0)
  1. ;;=^^4^4^2930303^^^^
  1. ;;^DD(9.4,916,21,1,0)
  1. ;;=Name of the developer's routine that runs after the user has answered all
  1. ;;^DD(9.4,916,21,2,0)
  1. ;;=of the questions in NAMESPACE_INIT but before the INIT files any new data.
  1. ;;^DD(9.4,916,21,3,0)
  1. ;;=Used for data conversions, etc. that the developer needs to do before
  1. ;;^DD(9.4,916,21,4,0)
  1. ;;=bringing in new data.
  1. ;;^DD(9.4,916,23,0)
  1. ;;=^^3^3^2930303^^^^
  1. ;;^DD(9.4,916,23,1,0)
  1. ;;= A call to this routine gets inserted, by DIFROM, into the
  1. ;;^DD(9.4,916,23,2,0)
  1. ;;=NAMESPACE_INIT1 routine, after the user has answered the last
  1. ;;^DD(9.4,916,23,3,0)
  1. ;;=question 'ARE YOU SURE EVERYTHING'S OK?', but before filing any data.
  1. ;;^DD(9.4,916,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,916.5,0)
  1. ;;=*PRE-INIT COMPLETION DATE^D^^INI;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(9.4,916.5,21,0)
  1. ;;=^^3^3^2911209^^
  1. ;;^DD(9.4,916.5,21,1,0)
  1. ;;=This is the date/time that the PRE-INIT AFTER USER COMMIT last ran.
  1. ;;^DD(9.4,916.5,21,2,0)
  1. ;;=When an INIT is run at a target site, and it contains a PRE-INIT
  1. ;;^DD(9.4,916.5,21,3,0)
  1. ;;=AFTER USER COMMIT routine, this field is updated automatically.
  1. ;;^DD(9.4,916.5,"DT")
  1. ;;=2940603
  1. ;;^DD(9.4,919,0)
  1. ;;=*EXCLUDED NAME SPACE^9.432^^EX;0
  1. ;;^DD(9.4,919,21,0)
  1. ;;=^^5^5^2930303^^^
  1. ;;^DD(9.4,919,21,1,0)
  1. ;;=By specifying an "excluded name space", the developer will be telling
  1. ;;^DD(9.4,919,21,2,0)
  1. ;;=the DIFROM routine not to take OPTIONS, BULLETINS, etc. which begin
  1. ;;^DD(9.4,919,21,3,0)
  1. ;;=with these characters. For example, if "PSZ" is an excluded name space
  1. ;;^DD(9.4,919,21,4,0)
  1. ;;=in the "PS" package, DIFROM will not send along OPTIONS, SECURITY KEYS,
  1. ;;^DD(9.4,919,21,5,0)
  1. ;;=BULLETINS, or FUNCTIONS that begin with "PSZ".
  1. ;;^DD(9.4,919,"DT")
  1. ;;=2940603
  1. ;;^DD(9.4,1920,0)
  1. ;;=*STATUS^9.444D^^ST;0
  1. ;;^DD(9.4,1920,21,0)
  1. ;;=^^1^1^2851008^^^
  1. ;;^DD(9.4,1920,21,1,0)
  1. ;;=Information about the Namespace assignment status of this package.
  1. ;;^DD(9.4,1920,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,1933,0)
  1. ;;=*KEY VARIABLE^9.455^^1933;0
  1. ;;^DD(9.4,1933,21,0)
  1. ;;=^^2^2^2851009^^^
  1. ;;^DD(9.4,1933,21,1,0)
  1. ;;=These are the MUMPS variables which the Package would like defined
  1. ;;^DD(9.4,1933,21,2,0)
  1. ;;=prior to entry into the routines.
  1. ;;^DD(9.4,1933,"DT")
  1. ;;=2940603
  1. ;;^DD(9.4,1944,0)
  1. ;;=*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
  1. ;;^DD(9.4,1944,9)
  1. ;;=^
  1. ;;^DD(9.4,1944,9.01)
  1. ;;=
  1. ;;^DD(9.4,1944,9.1)
  1. ;;=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))
  1. ;;^DD(9.4,1944,21,0)
  1. ;;=^^2^2^2851008^
  1. ;;^DD(9.4,1944,21,1,0)
  1. ;;=This presents information about any BULLETINs which are distributed
  1. ;;^DD(9.4,1944,21,2,0)
  1. ;;=along with the Package.
  1. ;;^DD(9.4,1944,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,1945,0)
  1. ;;=*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
  1. ;;^DD(9.4,1945,9)
  1. ;;=^
  1. ;;^DD(9.4,1945,9.01)
  1. ;;=
  1. ;;^DD(9.4,1945,9.1)
  1. ;;=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
  1. ;;^DD(9.4,1945,21,0)
  1. ;;=^^2^2^2851008^
  1. ;;^DD(9.4,1945,21,1,0)
  1. ;;=This describes the SECURITY KEYs which are distributed along with
  1. ;;^DD(9.4,1945,21,2,0)
  1. ;;=the Package.
  1. ;;^DD(9.4,1945,"DT")
  1. ;;=2940606
  1. ;;^DD(9.4,1946,0)
  1. ;;=*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
  1. ;;^DD(9.4,1946,9)
  1. ;;=^
  1. ;;^DD(9.4,1946,9.01)
  1. ;;=
  1. ;;^DD(9.4,1946,9.1)
  1. ;;=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))
  1. ;;^DD(9.4,1946,21,0)
  1. ;;=^^2^2^2851008^
  1. ;;^DD(9.4,1946,21,1,0)
  1. ;;=This lists information concerning the OPTIONs which are distributed