File:  [Coherent Logic Development] / freem_fileman / USER / DIPKI007.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: DIPKI007	; ; 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.431,.01,"DT")
    7: 	;;=2850228
    8: 	;;^DD(9.432,0)
    9: 	;;=*EXCLUDED NAME SPACE SUB-FIELD^NL^.01^1
   10: 	;;^DD(9.432,0,"NM","*EXCLUDED NAME SPACE")
   11: 	;;=
   12: 	;;^DD(9.432,0,"UP")
   13: 	;;=9.4
   14: 	;;^DD(9.432,.01,0)
   15: 	;;=EXCLUDED NAME SPACE^MFX^^0;1^K:$L(X)>7!($L(X)<2)!'(X?1U1UN.UN) X
   16: 	;;^DD(9.432,.01,3)
   17: 	;;=Please enter the prefix of the excluded name space (2-7 characters).
   18: 	;;^DD(9.432,.01,4)
   19: 	;;=W !,?5,"When DIFROM builds '",$P(^DIC(9.4,D0,0),"^",2),"INIT',",!?5,"OPTIONS, FUNCTIONS, SECURITY KEYS, and BULLETINS beginning with",!?5,"these characters WON'T be included.",!
   20: 	;;^DD(9.432,.01,21,0)
   21: 	;;=^^2^2^2851008^
   22: 	;;^DD(9.432,.01,21,1,0)
   23: 	;;=This specifies a sub-set of the Package's namespace which is not to
   24: 	;;^DD(9.432,.01,21,2,0)
   25: 	;;=be exported by the DIFROM routines.
   26: 	;;^DD(9.432,.01,"DT")
   27: 	;;=2841128
   28: 	;;^DD(9.44,0)
   29: 	;;=*FILE SUB-FIELD^NL^223^9
   30: 	;;^DD(9.44,0,"DT")
   31: 	;;=2890928
   32: 	;;^DD(9.44,0,"IX","B",9.44,.01)
   33: 	;;=
   34: 	;;^DD(9.44,0,"NM","*FILE")
   35: 	;;=
   36: 	;;^DD(9.44,0,"UP")
   37: 	;;=9.4
   38: 	;;^DD(9.44,.01,0)
   39: 	;;=FILE^M*P1'^DIC(^0;1^S DIC("S")="I Y>1.9999" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
   40: 	;;^DD(9.44,.01,.1)
   41: 	;;=REQUIRED FILES FOR THIS PACKAGE
   42: 	;;^DD(9.44,.01,1,0)
   43: 	;;=^.1
   44: 	;;^DD(9.44,.01,1,1,0)
   45: 	;;=9.44^B
   46: 	;;^DD(9.44,.01,1,1,1)
   47: 	;;=S ^DIC(9.4,DA(1),4,"B",X,DA)=""
   48: 	;;^DD(9.44,.01,1,1,2)
   49: 	;;=K ^DIC(9.4,DA(1),4,"B",X,DA)
   50: 	;;^DD(9.44,.01,1,2,0)
   51: 	;;=9.4^AR
   52: 	;;^DD(9.44,.01,1,2,1)
   53: 	;;=S ^DIC(9.4,"AR",$E(X,1,30),DA(1),DA)=""
   54: 	;;^DD(9.44,.01,1,2,2)
   55: 	;;=K ^DIC(9.4,"AR",$E(X,1,30),DA(1),DA)
   56: 	;;^DD(9.44,.01,3)
   57: 	;;=Please enter the name of a FILE that is known to VA FileMan.
   58: 	;;^DD(9.44,.01,12)
   59: 	;;=Select a file which is used by this package.
   60: 	;;^DD(9.44,.01,12.1)
   61: 	;;=S DIC("S")="I Y>1.9999"
   62: 	;;^DD(9.44,.01,21,0)
   63: 	;;=^^2^2^2920513^^^^
   64: 	;;^DD(9.44,.01,21,1,0)
   65: 	;;=The name of a VA FileMan file which you wish to transport with
   66: 	;;^DD(9.44,.01,21,2,0)
   67: 	;;=this package.  This may be any file whose number is 2 or greater.
   68: 	;;^DD(9.44,.01,"DT")
   69: 	;;=2890928
   70: 	;;^DD(9.44,2,0)
   71: 	;;=FIELD^9.45A^^1;0
   72: 	;;^DD(9.44,2,21,0)
   73: 	;;=^^3^3^2920513^^^
   74: 	;;^DD(9.44,2,21,1,0)
   75: 	;;=The names of the FileMan Fields required by this Package.  Enter data
   76: 	;;^DD(9.44,2,21,2,0)
   77: 	;;=here ONLY if you wish to send just selected fields from a Data Dictionary
   78: 	;;^DD(9.44,2,21,3,0)
   79: 	;;=instead of the entire DD (i.e., a partial DD).
   80: 	;;^DD(9.44,222.1,0)
   81: 	;;=UPDATE THE DATA DICTIONARY^S^y:YES;n:NO;^222;1^Q
   82: 	;;^DD(9.44,222.1,21,0)
   83: 	;;=^^8^8^2920513^^^^
   84: 	;;^DD(9.44,222.1,21,1,0)
   85: 	;;=YES means that the Data Dictionary for this file should be updated when
   86: 	;;^DD(9.44,222.1,21,2,0)
   87: 	;;=this version of the package is installed.
   88: 	;;^DD(9.44,222.1,21,3,0)
   89: 	;;= 
   90: 	;;^DD(9.44,222.1,21,4,0)
   91: 	;;=NO means that this Data Dictionary has not changed since the last version,
   92: 	;;^DD(9.44,222.1,21,5,0)
   93: 	;;=and therefore, need not be updated.
   94: 	;;^DD(9.44,222.1,21,6,0)
   95: 	;;= 
   96: 	;;^DD(9.44,222.1,21,7,0)
   97: 	;;=If the Data Dictionary does not exist on the recipient system, then this
   98: 	;;^DD(9.44,222.1,21,8,0)
   99: 	;;=field does not apply.  The DD will be put in place.
  100: 	;;^DD(9.44,222.1,"DT")
  101: 	;;=2890627
  102: 	;;^DD(9.44,222.2,0)
  103: 	;;=ASSIGN A VERSION NUMBER^S^y:YES;n:NO;^222;2^Q
  104: 	;;^DD(9.44,222.2,3)
  105: 	;;=
  106: 	;;^DD(9.44,222.2,21,0)
  107: 	;;=^^5^5^2920513^^^^
  108: 	;;^DD(9.44,222.2,21,1,0)
  109: 	;;=YES means that you want to set ^DD(file#,0,"VR") to the version
  110: 	;;^DD(9.44,222.2,21,2,0)
  111: 	;;=number of this package when the init is finished.
  112: 	;;^DD(9.44,222.2,21,3,0)
  113: 	;;= 
  114: 	;;^DD(9.44,222.2,21,4,0)
  115: 	;;=NO means that you intend for the version number to remain as it is.
  116: 	;;^DD(9.44,222.2,21,5,0)
  117: 	;;=This may mean that this DD has no version number at all.
  118: 	;;^DD(9.44,222.4,0)
  119: 	;;=MAY USER OVERRIDE DD UPDATE^S^y:YES;n:NO;^222;4^Q
  120: 	;;^DD(9.44,222.4,3)
  121: 	;;=
  122: 	;;^DD(9.44,222.4,21,0)
  123: 	;;=^^5^5^2920513^^^^
  124: 	;;^DD(9.44,222.4,21,1,0)
  125: 	;;=YES means that the user may decide at installation time whether or not
  126: 	;;^DD(9.44,222.4,21,2,0)
  127: 	;;=to update the data dictionary for this file.
  128: 	;;^DD(9.44,222.4,21,3,0)
  129: 	;;= 
  130: 	;;^DD(9.44,222.4,21,4,0)
  131: 	;;=NO means that the developer building the INIT is determining if the
  132: 	;;^DD(9.44,222.4,21,5,0)
  133: 	;;=data dictionary is to be updated.
  134: 	;;^DD(9.44,222.7,0)
  135: 	;;=DATA COMES WITH FILE^S^y:YES;n:NO;^222;7^Q
  136: 	;;^DD(9.44,222.7,21,0)
  137: 	;;=^^4^4^2920513^^^^
  138: 	;;^DD(9.44,222.7,21,1,0)
  139: 	;;=YES means that the data should be included in the initialization
  140: 	;;^DD(9.44,222.7,21,2,0)
  141: 	;;=routines.
  142: 	;;^DD(9.44,222.7,21,3,0)
  143: 	;;= 
  144: 	;;^DD(9.44,222.7,21,4,0)
  145: 	;;=NO means that the data should be left out.

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