Annotation of freem_fileman/DIINI009.m, revision 1.1
1.1 ! snw 1: DIINI009 ; ; 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: 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: ;;^UTILITY(U,$J,"OPT",396,20)
! 7: ;;=S DI=1 D EN^DIAX
! 8: ;;^UTILITY(U,$J,"OPT",396,"U")
! 9: ;;=SELECT ENTRIES TO EXTRACT
! 10: ;;^UTILITY(U,$J,"OPT",397,0)
! 11: ;;=DIAX ADD/DELETE^Add/Delete Selected Entries^^A^^DIEXTRACT^^^^^^^^1^^^
! 12: ;;^UTILITY(U,$J,"OPT",397,1,0)
! 13: ;;=^^3^3^2921222^
! 14: ;;^UTILITY(U,$J,"OPT",397,1,1,0)
! 15: ;;=
! 16: ;;^UTILITY(U,$J,"OPT",397,1,2,0)
! 17: ;;=Use this option to edit the list of selected entries to extract by adding
! 18: ;;^UTILITY(U,$J,"OPT",397,1,3,0)
! 19: ;;=needed entries or by deleting undesired ones.
! 20: ;;^UTILITY(U,$J,"OPT",397,20)
! 21: ;;=S DI=2 D EN^DIAX
! 22: ;;^UTILITY(U,$J,"OPT",397,"U")
! 23: ;;=ADD/DELETE SELECTED ENTRIES
! 24: ;;^UTILITY(U,$J,"OPT",398,0)
! 25: ;;=DIAX PRINT^Print Selected Entries^^A^^DIEXTRACT^^^^^^^^1^^^
! 26: ;;^UTILITY(U,$J,"OPT",398,1,0)
! 27: ;;=^^3^3^2921222^
! 28: ;;^UTILITY(U,$J,"OPT",398,1,1,0)
! 29: ;;=
! 30: ;;^UTILITY(U,$J,"OPT",398,1,2,0)
! 31: ;;=Use this option to display the list of entries selected for extract. This
! 32: ;;^UTILITY(U,$J,"OPT",398,1,3,0)
! 33: ;;=option uses the standard VA Fileman interface for printing.
! 34: ;;^UTILITY(U,$J,"OPT",398,20)
! 35: ;;=S DI=3 D EN^DIAX
! 36: ;;^UTILITY(U,$J,"OPT",398,"U")
! 37: ;;=PRINT SELECTED ENTRIES
! 38: ;;^UTILITY(U,$J,"OPT",399,0)
! 39: ;;=DIAX MODIFY^Modify Destination File^^A^^DIEXTRACT^^^^^^^^1^^^
! 40: ;;^UTILITY(U,$J,"OPT",399,1,0)
! 41: ;;=^^3^3^2921222^
! 42: ;;^UTILITY(U,$J,"OPT",399,1,1,0)
! 43: ;;=
! 44: ;;^UTILITY(U,$J,"OPT",399,1,2,0)
! 45: ;;=Use this option to create a destination file that will hold the data
! 46: ;;^UTILITY(U,$J,"OPT",399,1,3,0)
! 47: ;;=extracted from the source entries.
! 48: ;;^UTILITY(U,$J,"OPT",399,20)
! 49: ;;=S DI=4 D EN^DIAX
! 50: ;;^UTILITY(U,$J,"OPT",399,"U")
! 51: ;;=MODIFY DESTINATION FILE
! 52: ;;^UTILITY(U,$J,"OPT",400,0)
! 53: ;;=DIAX CREATE^Create Extract Template^^A^^DIEXTRACT^^^^^^^^1^^^
! 54: ;;^UTILITY(U,$J,"OPT",400,1,0)
! 55: ;;=^^4^4^2930104^
! 56: ;;^UTILITY(U,$J,"OPT",400,1,1,0)
! 57: ;;=
! 58: ;;^UTILITY(U,$J,"OPT",400,1,2,0)
! 59: ;;=Use this option to identify the fields to be extracted from the source
! 60: ;;^UTILITY(U,$J,"OPT",400,1,3,0)
! 61: ;;=file and the fields in the destination file where the extracted data will
! 62: ;;^UTILITY(U,$J,"OPT",400,1,4,0)
! 63: ;;=be stored.
! 64: ;;^UTILITY(U,$J,"OPT",400,20)
! 65: ;;=S DI=5 D EN^DIAX
! 66: ;;^UTILITY(U,$J,"OPT",400,"U")
! 67: ;;=CREATE EXTRACT TEMPLATE
! 68: ;;^UTILITY(U,$J,"OPT",401,0)
! 69: ;;=DIAX UPDATE^Update Destination File^^A^^DIEXTRACT^^^^^^^^1^^^
! 70: ;;^UTILITY(U,$J,"OPT",401,1,0)
! 71: ;;=^^3^3^2921222^
! 72: ;;^UTILITY(U,$J,"OPT",401,1,1,0)
! 73: ;;=
! 74: ;;^UTILITY(U,$J,"OPT",401,1,2,0)
! 75: ;;=Use this option to extract data from the source file and move it to the
! 76: ;;^UTILITY(U,$J,"OPT",401,1,3,0)
! 77: ;;=destination file.
! 78: ;;^UTILITY(U,$J,"OPT",401,20)
! 79: ;;=S DI=6 D EN^DIAX
! 80: ;;^UTILITY(U,$J,"OPT",401,"U")
! 81: ;;=UPDATE DESTINATION FILE
! 82: ;;^UTILITY(U,$J,"OPT",402,0)
! 83: ;;=DIAX PURGE^Purge Extracted Entries^^A^^DIEXTRACT^^^^^^^^1^^^
! 84: ;;^UTILITY(U,$J,"OPT",402,1,0)
! 85: ;;=^^2^2^2921222^
! 86: ;;^UTILITY(U,$J,"OPT",402,1,1,0)
! 87: ;;=
! 88: ;;^UTILITY(U,$J,"OPT",402,1,2,0)
! 89: ;;=Use this option to delete the extracted data from the primary file.
! 90: ;;^UTILITY(U,$J,"OPT",402,20)
! 91: ;;=S DI=7 D EN^DIAX
! 92: ;;^UTILITY(U,$J,"OPT",402,"U")
! 93: ;;=PURGE EXTRACTED ENTRIES
! 94: ;;^UTILITY(U,$J,"OPT",403,0)
! 95: ;;=DIAX CANCEL^Cancel Extract Selection^^A^^DIEXTRACT^^^^^^^^1^^^
! 96: ;;^UTILITY(U,$J,"OPT",403,1,0)
! 97: ;;=^^3^3^2921222^
! 98: ;;^UTILITY(U,$J,"OPT",403,1,1,0)
! 99: ;;=
! 100: ;;^UTILITY(U,$J,"OPT",403,1,2,0)
! 101: ;;=Use this option to cancel an extract activity any time before the selected
! 102: ;;^UTILITY(U,$J,"OPT",403,1,3,0)
! 103: ;;=entries in the primary file are purged.
! 104: ;;^UTILITY(U,$J,"OPT",403,20)
! 105: ;;=S DI=8 D EN^DIAX
! 106: ;;^UTILITY(U,$J,"OPT",403,"U")
! 107: ;;=CANCEL EXTRACT SELECTION
! 108: ;;^UTILITY(U,$J,"OPT",404,0)
! 109: ;;=DIAX VALIDATE^Validate Extract Template^^A^^DIEXTRACT^^^^^^^^1^^^
! 110: ;;^UTILITY(U,$J,"OPT",404,1,0)
! 111: ;;=^^3^3^2930104^
! 112: ;;^UTILITY(U,$J,"OPT",404,1,1,0)
! 113: ;;=
! 114: ;;^UTILITY(U,$J,"OPT",404,1,2,0)
! 115: ;;=Use this option to verify the compatibility between fields to be extracted
! 116: ;;^UTILITY(U,$J,"OPT",404,1,3,0)
! 117: ;;=and their corresponding destination fields in the destination file.
! 118: ;;^UTILITY(U,$J,"OPT",404,20)
! 119: ;;=S DI=9 D EN^DIAX
! 120: ;;^UTILITY(U,$J,"OPT",404,"U")
! 121: ;;=VALIDATE EXTRACT TEMPLATE
! 122: ;;^UTILITY(U,$J,"OPT",405,0)
! 123: ;;=DDXP FORMAT DOCUMENTATION^Print Format Documentation^^A^^^^^^^^^^1
! 124: ;;^UTILITY(U,$J,"OPT",405,1,0)
! 125: ;;=^^2^2^2921207^^
! 126: ;;^UTILITY(U,$J,"OPT",405,1,1,0)
! 127: ;;=Use this option ot print documentation for existing entries in the Foreign
! 128: ;;^UTILITY(U,$J,"OPT",405,1,2,0)
! 129: ;;=Format file.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>