File:  [Coherent Logic Development] / freem_fileman / USER / DIPKI005.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: DIPKI005	; ; 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,1944,9)
    7: 	;;=^
    8: 	;;^DD(9.4,1944,9.01)
    9: 	;;=
   10: 	;;^DD(9.4,1944,9.1)
   11: 	;;=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))
   12: 	;;^DD(9.4,1944,21,0)
   13: 	;;=^^2^2^2851008^
   14: 	;;^DD(9.4,1944,21,1,0)
   15: 	;;=This presents information about any BULLETINs which are distributed
   16: 	;;^DD(9.4,1944,21,2,0)
   17: 	;;=along with the Package.
   18: 	;;^DD(9.4,1944,"DT")
   19: 	;;=2940606
   20: 	;;^DD(9.4,1945,0)
   21: 	;;=*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
   22: 	;;^DD(9.4,1945,9)
   23: 	;;=^
   24: 	;;^DD(9.4,1945,9.01)
   25: 	;;=
   26: 	;;^DD(9.4,1945,9.1)
   27: 	;;=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
   28: 	;;^DD(9.4,1945,21,0)
   29: 	;;=^^2^2^2851008^
   30: 	;;^DD(9.4,1945,21,1,0)
   31: 	;;=This describes the SECURITY KEYs which are distributed along with
   32: 	;;^DD(9.4,1945,21,2,0)
   33: 	;;=the Package.
   34: 	;;^DD(9.4,1945,"DT")
   35: 	;;=2940606
   36: 	;;^DD(9.4,1946,0)
   37: 	;;=*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
   38: 	;;^DD(9.4,1946,9)
   39: 	;;=^
   40: 	;;^DD(9.4,1946,9.01)
   41: 	;;=
   42: 	;;^DD(9.4,1946,9.1)
   43: 	;;=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))
   44: 	;;^DD(9.4,1946,21,0)
   45: 	;;=^^2^2^2851008^
   46: 	;;^DD(9.4,1946,21,1,0)
   47: 	;;=This lists information concerning the OPTIONs which are distributed
   48: 	;;^DD(9.4,1946,21,2,0)
   49: 	;;=along with the Package.
   50: 	;;^DD(9.4,1946,"DT")
   51: 	;;=2940606
   52: 	;;^DD(9.402,0)
   53: 	;;=AFFECTS RECORD MERGE SUB-FIELD^^4^3
   54: 	;;^DD(9.402,0,"DT")
   55: 	;;=2900906
   56: 	;;^DD(9.402,0,"IX","B",9.402,.01)
   57: 	;;=
   58: 	;;^DD(9.402,0,"NM","AFFECTS RECORD MERGE")
   59: 	;;=
   60: 	;;^DD(9.402,0,"UP")
   61: 	;;=9.4
   62: 	;;^DD(9.402,.01,0)
   63: 	;;=FILE AFFECTED^*P1'X^DIC(^0;1^S DIC("S")="I $D(^DD(15,.01,""V"",""B"",Y))" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X S:$D(X) DINUM=X
   64: 	;;^DD(9.402,.01,1,0)
   65: 	;;=^.1
   66: 	;;^DD(9.402,.01,1,1,0)
   67: 	;;=9.402^B
   68: 	;;^DD(9.402,.01,1,1,1)
   69: 	;;=S ^DIC(9.4,DA(1),20,"B",$E(X,1,30),DA)=""
   70: 	;;^DD(9.402,.01,1,1,2)
   71: 	;;=K ^DIC(9.4,DA(1),20,"B",$E(X,1,30),DA)
   72: 	;;^DD(9.402,.01,1,2,0)
   73: 	;;=9.4^AMRG
   74: 	;;^DD(9.402,.01,1,2,1)
   75: 	;;=S ^DIC(9.4,"AMRG",$E(X,1,30),DA(1),DA)=""
   76: 	;;^DD(9.402,.01,1,2,2)
   77: 	;;=K ^DIC(9.4,"AMRG",$E(X,1,30),DA(1),DA)
   78: 	;;^DD(9.402,.01,1,2,"%D",0)
   79: 	;;=^^2^2^2900906^
   80: 	;;^DD(9.402,.01,1,2,"%D",1,0)
   81: 	;;=This xref is used by the merge process to determine if any package
   82: 	;;^DD(9.402,.01,1,2,"%D",2,0)
   83: 	;;=file entry affects the file being merged.
   84: 	;;^DD(9.402,.01,1,2,"DT")
   85: 	;;=2900906
   86: 	;;^DD(9.402,.01,3)
   87: 	;;=Pointer to a file that has been added to FILE 15's variable pointer.
   88: 	;;^DD(9.402,.01,12)
   89: 	;;=MUST BE VARIABLE POINTER FILE IN FIELD .01 OF FILE 15
   90: 	;;^DD(9.402,.01,12.1)
   91: 	;;=S DIC("S")="I $D(^DD(15,.01,""V"",""B"",Y))"
   92: 	;;^DD(9.402,.01,21,0)
   93: 	;;=^^1^1^2940627^^
   94: 	;;^DD(9.402,.01,21,1,0)
   95: 	;;=A file that if merged will affect this package.
   96: 	;;^DD(9.402,.01,"DT")
   97: 	;;=2900910
   98: 	;;^DD(9.402,3,0)
   99: 	;;=NAME OF MERGE ROUTINE^F^^0;3^K:$L(X)>8!($L(X)<2)!'(X?1U1.7UN) X
  100: 	;;^DD(9.402,3,3)
  101: 	;;=Answer with a routine name (1U.1.7UN).
  102: 	;;^DD(9.402,3,21,0)
  103: 	;;=^^4^4^2930330^
  104: 	;;^DD(9.402,3,21,1,0)
  105: 	;;=This field holds the routine name to call when two records in
  106: 	;;^DD(9.402,3,21,2,0)
  107: 	;;=an affected file are to be merged. This allows the package to
  108: 	;;^DD(9.402,3,21,3,0)
  109: 	;;=do any repointing or other clean-up needed before the records
  110: 	;;^DD(9.402,3,21,4,0)
  111: 	;;=are merged.
  112: 	;;^DD(9.402,3,"DT")
  113: 	;;=2900816
  114: 	;;^DD(9.402,4,0)
  115: 	;;=RECORD HAS PACKAGE DATA^K^^1;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
  116: 	;;^DD(9.402,4,3)
  117: 	;;=This is Standard MUMPS code. To tell if this record has data in this package.
  118: 	;;^DD(9.402,4,9)
  119: 	;;=@
  120: 	;;^DD(9.402,4,"DT")
  121: 	;;=2900816
  122: 	;;^DD(9.404,0)
  123: 	;;=*VERIFICATION SUB-FIELD^NL^3^4
  124: 	;;^DD(9.404,0,"ID",1)
  125: 	;;=W:$D(^(0)) "   ",$P(^(0),U,2)
  126: 	;;^DD(9.404,0,"NM","*VERIFICATION")
  127: 	;;=
  128: 	;;^DD(9.404,0,"UP")
  129: 	;;=9.4
  130: 	;;^DD(9.404,.01,0)
  131: 	;;=VERIFICATION^DX^^0;1^S %DT="E" D ^%DT S (DINUM,X)=Y K:Y<1 DINUM,X
  132: 	;;^DD(9.404,.01,21,0)
  133: 	;;=^^1^1^2920513^^^
  134: 	;;^DD(9.404,.01,21,1,0)
  135: 	;;=Date of notification that this software has been verified.
  136: 	;;^DD(9.404,.01,"DT")
  137: 	;;=2840815
  138: 	;;^DD(9.404,1,0)
  139: 	;;=ISC^F^^0;2^K:$L(X)>20!($L(X)<2) X
  140: 	;;^DD(9.404,1,3)
  141: 	;;=The name of the ISC responsible for verification (3-20 characters).

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