File:  [Coherent Logic Development] / freem_fileman / USER / DIPKI004.m
Revision 1.1: download - view: text, annotated - select for diffs
Mon Apr 28 14:13:21 2025 UTC (3 months ago) by snw
Branches: MAIN
CVS tags: HEAD
Restructure repository

    1: DIPKI004	; ; 22-DEC-1994
    2: 	;;21.0;VA FileMan;;Dec 28, 1994
    3: 	;Per VHA Directive 10-93-142, this routine should not be modified.
    4: 	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
    5: Q	Q
    6: 	;;^DD(9.4,913.5,21,0)
    7: 	;;=^^3^3^2921202^
    8: 	;;^DD(9.4,913.5,21,1,0)
    9: 	;;=This is the date/time that the ENVIRONMENT CHECK routine last ran. When an
   10: 	;;^DD(9.4,913.5,21,2,0)
   11: 	;;=INIT is run at a target site, and it contains an ENVIRONMENT CHECK
   12: 	;;^DD(9.4,913.5,21,3,0)
   13: 	;;=routine, this field is updated automatically.
   14: 	;;^DD(9.4,913.5,"DT")
   15: 	;;=2940603
   16: 	;;^DD(9.4,914,0)
   17: 	;;=*POST-INITIALIZATION ROUTINE^F^^INIT;1^K:$L(X)>8!($L(X)<3)!'(X?1UP.UN) X
   18: 	;;^DD(9.4,914,.1)
   19: 	;;=DEVELOPERS ROUTINE TO BRANCH TO AT END OF 'INIT' ROUTINE
   20: 	;;^DD(9.4,914,3)
   21: 	;;=Enter the name of the developer's post-initialization routine (3-8 characters).
   22: 	;;^DD(9.4,914,21,0)
   23: 	;;=^^2^2^2900730^^^^
   24: 	;;^DD(9.4,914,21,1,0)
   25: 	;;=The name of the developer's routine which is run immediately after the
   26: 	;;^DD(9.4,914,21,2,0)
   27: 	;;=installation of the package.
   28: 	;;^DD(9.4,914,23,0)
   29: 	;;=^^3^3^2900730^^^
   30: 	;;^DD(9.4,914,23,1,0)
   31: 	;;=  This routine gets inserted by DIFROM at the end of the
   32: 	;;^DD(9.4,914,23,2,0)
   33: 	;;=NAMESPACE_INIT routine, after the INIT has filed all the information,
   34: 	;;^DD(9.4,914,23,3,0)
   35: 	;;=but before the quit statement.
   36: 	;;^DD(9.4,914,"DT")
   37: 	;;=2940606
   38: 	;;^DD(9.4,914.5,0)
   39: 	;;=*POST-INIT COMPLETION DATE^D^^INIT;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
   40: 	;;^DD(9.4,914.5,3)
   41: 	;;=
   42: 	;;^DD(9.4,914.5,21,0)
   43: 	;;=^^3^3^2911209^^
   44: 	;;^DD(9.4,914.5,21,1,0)
   45: 	;;=This is the date/time that the POST-INIT last ran.  When an
   46: 	;;^DD(9.4,914.5,21,2,0)
   47: 	;;=INIT is run at a target site, and it contains a POST-INIT
   48: 	;;^DD(9.4,914.5,21,3,0)
   49: 	;;=routine, this field is updated automatically.
   50: 	;;^DD(9.4,914.5,"DT")
   51: 	;;=2940603
   52: 	;;^DD(9.4,916,0)
   53: 	;;=*PRE-INIT AFTER USER COMMIT^F^^INI;1^K:$L(X)>8!($L(X)<3) X
   54: 	;;^DD(9.4,916,.1)
   55: 	;;=DEVELOPERS ROUTINE RUN AFTER 'INIT' QUESTIONS ANSWERED
   56: 	;;^DD(9.4,916,3)
   57: 	;;=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.
   58: 	;;^DD(9.4,916,21,0)
   59: 	;;=^^4^4^2930303^^^^
   60: 	;;^DD(9.4,916,21,1,0)
   61: 	;;=Name of the developer's routine that runs after the user has answered all
   62: 	;;^DD(9.4,916,21,2,0)
   63: 	;;=of the questions in NAMESPACE_INIT but before the INIT files any new data.
   64: 	;;^DD(9.4,916,21,3,0)
   65: 	;;=Used for data conversions, etc. that the developer needs to do before
   66: 	;;^DD(9.4,916,21,4,0)
   67: 	;;=bringing in new data.
   68: 	;;^DD(9.4,916,23,0)
   69: 	;;=^^3^3^2930303^^^^
   70: 	;;^DD(9.4,916,23,1,0)
   71: 	;;=  A call to this routine gets inserted, by DIFROM, into the
   72: 	;;^DD(9.4,916,23,2,0)
   73: 	;;=NAMESPACE_INIT1 routine, after the user has answered the last
   74: 	;;^DD(9.4,916,23,3,0)
   75: 	;;=question 'ARE YOU SURE EVERYTHING'S OK?', but before filing any data.
   76: 	;;^DD(9.4,916,"DT")
   77: 	;;=2940606
   78: 	;;^DD(9.4,916.5,0)
   79: 	;;=*PRE-INIT COMPLETION DATE^D^^INI;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
   80: 	;;^DD(9.4,916.5,21,0)
   81: 	;;=^^3^3^2911209^^
   82: 	;;^DD(9.4,916.5,21,1,0)
   83: 	;;=This is the date/time that the PRE-INIT AFTER USER COMMIT last ran.
   84: 	;;^DD(9.4,916.5,21,2,0)
   85: 	;;=When an INIT is run at a target site, and it contains a PRE-INIT
   86: 	;;^DD(9.4,916.5,21,3,0)
   87: 	;;=AFTER USER COMMIT routine, this field is updated automatically.
   88: 	;;^DD(9.4,916.5,"DT")
   89: 	;;=2940603
   90: 	;;^DD(9.4,919,0)
   91: 	;;=*EXCLUDED NAME SPACE^9.432^^EX;0
   92: 	;;^DD(9.4,919,21,0)
   93: 	;;=^^5^5^2930303^^^
   94: 	;;^DD(9.4,919,21,1,0)
   95: 	;;=By specifying an "excluded name space", the developer will be telling
   96: 	;;^DD(9.4,919,21,2,0)
   97: 	;;=the DIFROM routine not to take OPTIONS, BULLETINS, etc. which begin
   98: 	;;^DD(9.4,919,21,3,0)
   99: 	;;=with these characters.  For example, if "PSZ" is an excluded name space
  100: 	;;^DD(9.4,919,21,4,0)
  101: 	;;=in the "PS" package, DIFROM will not send along OPTIONS, SECURITY KEYS,
  102: 	;;^DD(9.4,919,21,5,0)
  103: 	;;=BULLETINS, or FUNCTIONS that begin with "PSZ".
  104: 	;;^DD(9.4,919,"DT")
  105: 	;;=2940603
  106: 	;;^DD(9.4,1920,0)
  107: 	;;=*STATUS^9.444D^^ST;0
  108: 	;;^DD(9.4,1920,21,0)
  109: 	;;=^^1^1^2851008^^^
  110: 	;;^DD(9.4,1920,21,1,0)
  111: 	;;=Information about the Namespace assignment status of this package.
  112: 	;;^DD(9.4,1920,"DT")
  113: 	;;=2940606
  114: 	;;^DD(9.4,1933,0)
  115: 	;;=*KEY VARIABLE^9.455^^1933;0
  116: 	;;^DD(9.4,1933,21,0)
  117: 	;;=^^2^2^2851009^^^
  118: 	;;^DD(9.4,1933,21,1,0)
  119: 	;;=These are the MUMPS variables which the Package would like defined
  120: 	;;^DD(9.4,1933,21,2,0)
  121: 	;;=prior to entry into the routines.
  122: 	;;^DD(9.4,1933,"DT")
  123: 	;;=2940603
  124: 	;;^DD(9.4,1944,0)
  125: 	;;=*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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>