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

DINIT25.m

Go to the documentation of this file.
  1. DINIT25 ;SFISC/XAK-INITIALIZE VA FILEMAN ;3/16/94 11:26 AM
  1. ;;22.0;VA FileMan;;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. F I=1:2 S X=$T(Q+I) G ^DINIT250:X="" S Y=$E($T(Q+I+1),5,999),X=$E(X,4,999),@X=Y
  1. Q Q
  1. ;;^DD(.41,0)
  1. ;;=FILEGRAM/EXTR FILE SUB-FIELD^^13^13
  1. ;;^DD(.41,0,"NM","FILEGRAM/EXTR FILE")
  1. ;;=
  1. ;;^DD(.41,0,"UP")
  1. ;;=.4
  1. ;;^DD(.41,.001,0)
  1. ;;=ORDER^NJ4,0^^ ^K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(.41,.001,3)
  1. ;;=Type a Number between 1 and 9999, 0 Decimal Digits
  1. ;;^DD(.41,.01,0)
  1. ;;=FILEGRAM/EXTR FILE^NJ16,4^^0;1^K:+X'=X!(X>99999999999)!(X<2)!(X?.E1"."5N.N) X
  1. ;;^DD(.41,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(.41,.01,1,1,0)
  1. ;;=.41^B
  1. ;;^DD(.41,.01,1,1,1)
  1. ;;=S ^DIPT(DA(1),1,"B",$E(X,1,30),DA)=""
  1. ;;^DD(.41,.01,1,1,2)
  1. ;;=K ^DIPT(DA(1),1,"B",$E(X,1,30),DA)
  1. ;;^DD(.41,.01,3)
  1. ;;=Type a Number between 2 and 99999999999, 4 Decimal Digits
  1. ;;^DD(.41,.02,0)
  1. ;;=LEVEL^RNJ2,0^^0;2^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(.41,.02,3)
  1. ;;=Type a Number between 1 and 99, 0 Decimal Digits
  1. ;;^DD(.41,.03,0)
  1. ;;=PARENT^NJ14,4^^0;3^K:+X'=X!(X>999999999)!(X<2)!(X?.E1"."5N.N) X
  1. ;;^DD(.41,.03,3)
  1. ;;=Type a Number between 2 and 999999999, 4 Decimal Digits
  1. ;;^DD(.41,.04,0)
  1. ;;=LINK TYPE^S^1:DINUM;2:DIRECT POINTER;3:MULTIPLE;4:BACKPOINTER^0;4^Q
  1. ;;^DD(.41,.05,0)
  1. ;;=USER RESPONSE TO GET HERE^F^^0;5^K:$L(X)>30!($L(X)<1) X
  1. ;;^DD(.41,.05,3)
  1. ;;=Answer must be 1-30 characters in length.
  1. ;;^DD(.41,.06,0)
  1. ;;=DATE LAST STORED^D^^0;6^S %DT="EX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(.41,.07,0)
  1. ;;=CROSS-REFERENCE^F^^0;7^K:$L(X)>30!($L(X)<1) X
  1. ;;^DD(.41,.07,3)
  1. ;;=Answer must be 1-30 characters in length.
  1. ;;^DD(.41,.07,21,0)
  1. ;;=^^1^1^2900405^
  1. ;;^DD(.41,.07,21,1,0)
  1. ;;=This field holds the X-ref to use in a backpointer.
  1. ;;^DD(.41,.08,0)
  1. ;;=ALL FIELDS IN FILE^S^1:YES;^0;8^Q
  1. ;;^DD(.41,10,0)
  1. ;;=FIELD NUMBER^.411A^^F;0
  1. ;;^DD(.41,11,0)
  1. ;;=DESTINATION FILE^NJ16,6^^0;9^K:+X'=X!(X>999999999)!(X<2)!(X?.E1"."7N.N) X
  1. ;;^DD(.41,11,3)
  1. ;;=Type a Number between 2 and 999999999, 6 Decimal Digits
  1. ;;^DD(.41,11,21,0)
  1. ;;=^^1^1^2921002^
  1. ;;^DD(.41,11,21,1,0)
  1. ;;=This field holds the number of the destination file or the destination subfile.
  1. ;;^DD(.41,12,0)
  1. ;;=DESTINATION FILE PARENT^NJ16,6^^0;10^K:+X'=X!(X>999999999)!(X<2)!(X?.E1"."7N.N) X
  1. ;;^DD(.41,12,3)
  1. ;;=Type a Number between 2 and 999999999, 6 Decimal Digits
  1. ;;^DD(.41,12,21,0)
  1. ;;=^^2^2^2921002^
  1. ;;^DD(.41,12,21,1,0)
  1. ;;=This field holds the number of the parent file or subfile of the
  1. ;;^DD(.41,12,21,2,0)
  1. ;;=DESTINATION FILE.
  1. ;;^DD(.41,13,0)
  1. ;;=DESTINATION FILE LOCATION^F^^0;11^K:$L(X)>30!($L(X)<1) X
  1. ;;^DD(.41,13,3)
  1. ;;=Answer must be 1-30 characters in length.
  1. ;;^DD(.41,13,21,0)
  1. ;;=^^1^1^2921002^
  1. ;;^DD(.41,13,21,1,0)
  1. ;;=This field holds the node and piece location of the DESTINATION FILE.
  1. ;;^DD(.411,0)
  1. ;;=FIELD NUMBER SUB-FIELD^^4^5
  1. ;;^DD(.411,0,"NM","FIELD NUMBER")
  1. ;;=
  1. ;;^DD(.411,0,"UP")
  1. ;;=.41
  1. ;;^DD(.411,.001,0)
  1. ;;=FIELD ORDER^NJ8,0^^ ^K:+X'=X!(X>99999999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(.411,.001,3)
  1. ;;=Type a Number between 1 and 99999999, 0 Decimal Digits
  1. ;;^DD(.411,.01,0)
  1. ;;=FIELD NUMBER^NJ14,4^^0;1^K:+X'=X!(X>999999999)!(X<.001)!(X?.E1"."5N.N) X
  1. ;;^DD(.411,.01,1,0)
  1. ;;=^.1^^0
  1. ;;^DD(.411,.01,3)
  1. ;;=Type a Number between .001 and 999999999, 4 Decimal Digits
  1. ;;^DD(.411,1,0)
  1. ;;=CAPTION^CJ30^^ ; ^S %=+^DIPT(D0,1,D1,0),X=$S('%:"",$D(^DD(%,+^DIPT(D0,1,D1,"F",D2,0),0)):$P(^(0),U),1:"")
  1. ;;^DD(.411,1,9)
  1. ;;=^
  1. ;;^DD(.411,1,9.01)
  1. ;;=
  1. ;;^DD(.411,1,9.1)
  1. ;;=S %=+^DIPT(D0,1,D1,0),X=$S('%:"",$D(^DD(%,+^DIPT(D0,1,D1,"F",D2,0),0)):$P(^(0),U),1:"")
  1. ;;^DD(.411,3,0)
  1. ;;=DESTINATION FIELD NUMBER^NJ14,4^^0;3^K:+X'=X!(X>999999999)!(X<.001)!(X?.E1"."5N.N) X
  1. ;;^DD(.411,3,3)
  1. ;;=Type a Number between .001 and 999999999, 4 Decimal Digits
  1. ;;^DD(.411,3,21,0)
  1. ;;=^^2^2^2921002^
  1. ;;^DD(.411,3,21,1,0)
  1. ;;=This field holds the number of the field in the destination file
  1. ;;^DD(.411,3,21,2,0)
  1. ;;=that will contain the extracted data from FIELD NUMBER in the source file.
  1. ;;^DD(.411,4,0)
  1. ;;=DESTINATION FIELD LOCATION^F^^0;4^K:$L(X)>30!($L(X)<3) X
  1. ;;^DD(.411,4,3)
  1. ;;=Answer must be 3-30 characters in length.
  1. ;;^DD(.411,4,21,0)
  1. ;;=^^3^3^2921002^
  1. ;;^DD(.411,4,21,1,0)
  1. ;;=This field holds the node and piece location of the DESTINATION FIELD
  1. ;;^DD(.411,4,21,2,0)
  1. ;;=NUMBER. This is used at the time extract data is moved to the destination
  1. ;;^DD(.411,4,21,3,0)
  1. ;;=file.
  1. ;;^DD(.411,5,0)
  1. ;;= EXTERNAL FORMAT^S^1:MOVE EXTERNAL FORMAT TO DESTINATION FILE;^0;5^Q
  1. ;;^DD(.411,5,3)
  1. ;;=Enter 1 if external format of data should be moved to destination file.
  1. ;;^DD(.411,5,21,0)
  1. ;;=^^3^3^2921208^
  1. ;;^DD(.411,5,21,1,0)
  1. ;;=This code is used to determine if the external form of the data in the
  1. ;;^DD(.411,5,21,2,0)
  1. ;;=source file should be moved to the destination file. If null, the
  1. ;;^DD(.411,5,21,3,0)
  1. ;;=internal format of the data is moved.