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

    1: DINIT00G	; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ; 12/22/94  09:32:23
    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) S @X=Y
    5: Q	Q
    6: 	;;^UTILITY(U,$J,.84,7002,4,0)
    7: 	;;=^.847P^^0
    8: 	;;^UTILITY(U,$J,.84,7003,0)
    9: 	;;=7003^2^^11
   10: 	;;^UTILITY(U,$J,.84,7003,1,0)
   11: 	;;=^^1^1^2940314^
   12: 	;;^UTILITY(U,$J,.84,7003,1,1,0)
   13: 	;;=Yes/No prompt for Reader
   14: 	;;^UTILITY(U,$J,.84,7003,2,0)
   15: 	;;=^^1^1^2940414^^
   16: 	;;^UTILITY(U,$J,.84,7003,2,1,0)
   17: 	;;=y:YES;n:NO
   18: 	;;^UTILITY(U,$J,.84,7003,4,0)
   19: 	;;=^.847P^^0
   20: 	;;^UTILITY(U,$J,.84,7004,0)
   21: 	;;=7004^2^^11
   22: 	;;^UTILITY(U,$J,.84,7004,1,0)
   23: 	;;=^^2^2^2940909^^^^
   24: 	;;^UTILITY(U,$J,.84,7004,1,1,0)
   25: 	;;=Set of codes for reader call when asking user whether they want to include
   26: 	;;^UTILITY(U,$J,.84,7004,1,2,0)
   27: 	;;=computed fields and/or IEN in CAPTIONED output.
   28: 	;;^UTILITY(U,$J,.84,7004,2,0)
   29: 	;;=^^4^4^2940914^^
   30: 	;;^UTILITY(U,$J,.84,7004,2,1,0)
   31: 	;;=N:NO - No record number (IEN), no Computed Fields;
   32: 	;;^UTILITY(U,$J,.84,7004,2,2,0)
   33: 	;;=Y:Computed Fields;
   34: 	;;^UTILITY(U,$J,.84,7004,2,3,0)
   35: 	;;=R:Record Number (IEN);
   36: 	;;^UTILITY(U,$J,.84,7004,2,4,0)
   37: 	;;=B:BOTH Computed Fields and Record Number (IEN)
   38: 	;;^UTILITY(U,$J,.84,8001,0)
   39: 	;;=8001^2^^11
   40: 	;;^UTILITY(U,$J,.84,8001,1,0)
   41: 	;;=^^1^1^2941118^^^^
   42: 	;;^UTILITY(U,$J,.84,8001,1,1,0)
   43: 	;;=Prompt for name of compiled template or cross-reference routine.
   44: 	;;^UTILITY(U,$J,.84,8001,2,0)
   45: 	;;=^^1^1^2941118^^
   46: 	;;^UTILITY(U,$J,.84,8001,2,1,0)
   47: 	;;=Routine Name
   48: 	;;^UTILITY(U,$J,.84,8001,4,0)
   49: 	;;=^.847P^^0
   50: 	;;^UTILITY(U,$J,.84,8001,5,0)
   51: 	;;=^.841^3^3
   52: 	;;^UTILITY(U,$J,.84,8001,5,1,0)
   53: 	;;=DIPZ^ 
   54: 	;;^UTILITY(U,$J,.84,8001,5,2,0)
   55: 	;;=DIEZ^ 
   56: 	;;^UTILITY(U,$J,.84,8001,5,3,0)
   57: 	;;=DIKZ^ 
   58: 	;;^UTILITY(U,$J,.84,8002,0)
   59: 	;;=8002^2^^11
   60: 	;;^UTILITY(U,$J,.84,8002,1,0)
   61: 	;;=^^1^1^2940426^^^^
   62: 	;;^UTILITY(U,$J,.84,8002,1,1,0)
   63: 	;;=Prompt for including computed fields and/or IEN in CAPTIONED output.
   64: 	;;^UTILITY(U,$J,.84,8002,2,0)
   65: 	;;=^^1^1^2940909^^^^
   66: 	;;^UTILITY(U,$J,.84,8002,2,1,0)
   67: 	;;=Include COMPUTED fields
   68: 	;;^UTILITY(U,$J,.84,8002,4,0)
   69: 	;;=^.847P
   70: 	;;^UTILITY(U,$J,.84,8003,0)
   71: 	;;=8003^2^y^11^
   72: 	;;^UTILITY(U,$J,.84,8003,1,0)
   73: 	;;=^^2^2^2931101^^^^
   74: 	;;^UTILITY(U,$J,.84,8003,1,1,0)
   75: 	;;=Used in Print to display sort criteria in heading--when BY(0) contains
   76: 	;;^UTILITY(U,$J,.84,8003,1,2,0)
   77: 	;;=a search template name.
   78: 	;;^UTILITY(U,$J,.84,8003,2,0)
   79: 	;;=^^1^1^2931102^
   80: 	;;^UTILITY(U,$J,.84,8003,2,1,0)
   81: 	;;=Records from list on |1| search template
   82: 	;;^UTILITY(U,$J,.84,8003,3,0)
   83: 	;;=^.845^1^1
   84: 	;;^UTILITY(U,$J,.84,8003,3,1,0)
   85: 	;;=1^Name of search template.
   86: 	;;^UTILITY(U,$J,.84,8003,5,0)
   87: 	;;=^.841^2^2
   88: 	;;^UTILITY(U,$J,.84,8003,5,1,0)
   89: 	;;=DIP^EN1
   90: 	;;^UTILITY(U,$J,.84,8003,5,2,0)
   91: 	;;=DIS^ENS
   92: 	;;^UTILITY(U,$J,.84,8004,0)
   93: 	;;=8004^2^y^11^
   94: 	;;^UTILITY(U,$J,.84,8004,1,0)
   95: 	;;=^^3^3^2931101^
   96: 	;;^UTILITY(U,$J,.84,8004,1,1,0)
   97: 	;;=Used in Print to display sort criteria in heading--when BY(0) contains
   98: 	;;^UTILITY(U,$J,.84,8004,1,2,0)
   99: 	;;=the global reference for a cross-reference or for another global
  100: 	;;^UTILITY(U,$J,.84,8004,1,3,0)
  101: 	;;=containing a list of record numbers.
  102: 	;;^UTILITY(U,$J,.84,8004,2,0)
  103: 	;;=^^1^1^2931101^^
  104: 	;;^UTILITY(U,$J,.84,8004,2,1,0)
  105: 	;;=Sort using |1|
  106: 	;;^UTILITY(U,$J,.84,8004,3,0)
  107: 	;;=^.845^1^1
  108: 	;;^UTILITY(U,$J,.84,8004,3,1,0)
  109: 	;;=1^Global reference passed in BY(0)
  110: 	;;^UTILITY(U,$J,.84,8004,5,0)
  111: 	;;=^.841^2^2
  112: 	;;^UTILITY(U,$J,.84,8004,5,1,0)
  113: 	;;=DIP^EN1
  114: 	;;^UTILITY(U,$J,.84,8004,5,2,0)
  115: 	;;=DIS^ENS
  116: 	;;^UTILITY(U,$J,.84,8005,0)
  117: 	;;=8005^2^y^11^
  118: 	;;^UTILITY(U,$J,.84,8005,1,0)
  119: 	;;=^^4^4^2940908^^
  120: 	;;^UTILITY(U,$J,.84,8005,1,1,0)
  121: 	;;=At the heading prompt during the FileMan print, the user can enter flags
  122: 	;;^UTILITY(U,$J,.84,8005,1,2,0)
  123: 	;;=to either suppress printing of the header if there are no records to
  124: 	;;^UTILITY(U,$J,.84,8005,1,3,0)
  125: 	;;=print, or to cause the search/sort criteria to print in the header.  This
  126: 	;;^UTILITY(U,$J,.84,8005,1,4,0)
  127: 	;;=is the help prompt.
  128: 	;;^UTILITY(U,$J,.84,8005,2,0)
  129: 	;;=^^11^11^2940908^^^^
  130: 	;;^UTILITY(U,$J,.84,8005,2,1,0)
  131: 	;;=There are two different options:
  132: 	;;^UTILITY(U,$J,.84,8005,2,2,0)
  133: 	;;= 
  134: 	;;^UTILITY(U,$J,.84,8005,2,3,0)
  135: 	;;=1) Accept the default heading or enter a custom heading.
  136: 	;;^UTILITY(U,$J,.84,8005,2,4,0)
  137: 	;;= For no heading at all, type @.
  138: 	;;^UTILITY(U,$J,.84,8005,2,5,0)
  139: 	;;= To use a Print Template for the heading, type [TEMPLATE NAME].
  140: 	;;^UTILITY(U,$J,.84,8005,2,6,0)
  141: 	;;= 
  142: 	;;^UTILITY(U,$J,.84,8005,2,7,0)
  143: 	;;=2) Replace the default heading with:
  144: 	;;^UTILITY(U,$J,.84,8005,2,8,0)
  145: 	;;= S  to Suppress the |1|, and/or
  146: 	;;^UTILITY(U,$J,.84,8005,2,9,0)
  147: 	;;= C  to print |2| Criteria in the heading.

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