File:  [Coherent Logic Development] / freem_fileman / USER / DINIT008.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: DINIT008	; 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,404,1,3,0)
    7: 	;;=of the file, but that piece of information is missing from the Header
    8: 	;;^UTILITY(U,$J,.84,404,1,4,0)
    9: 	;;=Node.
   10: 	;;^UTILITY(U,$J,.84,404,2,0)
   11: 	;;=^^1^1^2940214^
   12: 	;;^UTILITY(U,$J,.84,404,2,1,0)
   13: 	;;=The File Header node of the file stored at |1| lacks a file number.
   14: 	;;^UTILITY(U,$J,.84,404,3,0)
   15: 	;;=^.845^1^1
   16: 	;;^UTILITY(U,$J,.84,404,3,1,0)
   17: 	;;=1^File Root.
   18: 	;;^UTILITY(U,$J,.84,405,0)
   19: 	;;=405^1^y^11^
   20: 	;;^UTILITY(U,$J,.84,405,1,0)
   21: 	;;=^^2^2^2931110^^
   22: 	;;^UTILITY(U,$J,.84,405,1,1,0)
   23: 	;;=The NO EDIT flag is set for the file.  No instruction to override
   24: 	;;^UTILITY(U,$J,.84,405,1,2,0)
   25: 	;;=that flag is present.
   26: 	;;^UTILITY(U,$J,.84,405,2,0)
   27: 	;;=^^1^1^2931109^
   28: 	;;^UTILITY(U,$J,.84,405,2,1,0)
   29: 	;;=Entries in file |1| cannot be edited.
   30: 	;;^UTILITY(U,$J,.84,405,3,0)
   31: 	;;=^.845^2^2
   32: 	;;^UTILITY(U,$J,.84,405,3,1,0)
   33: 	;;=1^File Name.
   34: 	;;^UTILITY(U,$J,.84,405,3,2,0)
   35: 	;;=FILE^File number.
   36: 	;;^UTILITY(U,$J,.84,406,0)
   37: 	;;=406^1^y^11^
   38: 	;;^UTILITY(U,$J,.84,406,1,0)
   39: 	;;=^^2^2^2940317^
   40: 	;;^UTILITY(U,$J,.84,406,1,1,0)
   41: 	;;=The data definition for a .01 field for the specified file is missing.
   42: 	;;^UTILITY(U,$J,.84,406,1,2,0)
   43: 	;;=This file is therefore not valid for most database operations.
   44: 	;;^UTILITY(U,$J,.84,406,2,0)
   45: 	;;=^^1^1^2940317^
   46: 	;;^UTILITY(U,$J,.84,406,2,1,0)
   47: 	;;=File #|FILE| has no .01 field definition.
   48: 	;;^UTILITY(U,$J,.84,406,3,0)
   49: 	;;=^.845^1^1
   50: 	;;^UTILITY(U,$J,.84,406,3,1,0)
   51: 	;;=FILE^File #.
   52: 	;;^UTILITY(U,$J,.84,407,0)
   53: 	;;=407^1^^11
   54: 	;;^UTILITY(U,$J,.84,407,1,0)
   55: 	;;=^^4^4^2940317^
   56: 	;;^UTILITY(U,$J,.84,407,1,1,0)
   57: 	;;=The subfile number of a word processing field has been passed in the place
   58: 	;;^UTILITY(U,$J,.84,407,1,2,0)
   59: 	;;=of a file parameter. This is not acceptable. Although we implement word
   60: 	;;^UTILITY(U,$J,.84,407,1,3,0)
   61: 	;;=processing fields as independent files, we do not allow them to be treated
   62: 	;;^UTILITY(U,$J,.84,407,1,4,0)
   63: 	;;=as files for purposes of most database activities.
   64: 	;;^UTILITY(U,$J,.84,407,2,0)
   65: 	;;=^^1^1^2940317^
   66: 	;;^UTILITY(U,$J,.84,407,2,1,0)
   67: 	;;=A word-processing field is not a file.
   68: 	;;^UTILITY(U,$J,.84,407,3,0)
   69: 	;;=^.845^1^1
   70: 	;;^UTILITY(U,$J,.84,407,3,1,0)
   71: 	;;=FILE^Subfile # of word-processing field.
   72: 	;;^UTILITY(U,$J,.84,408,0)
   73: 	;;=408^1^y^11
   74: 	;;^UTILITY(U,$J,.84,408,1,0)
   75: 	;;=^^2^2^2940715^
   76: 	;;^UTILITY(U,$J,.84,408,1,1,0)
   77: 	;;=The file lacks a name. For subfiles, $P(^DD(file#,0),U) is null. For root
   78: 	;;^UTILITY(U,$J,.84,408,1,2,0)
   79: 	;;=files, $O(^DD(file#,0,"NM",""))="". 
   80: 	;;^UTILITY(U,$J,.84,408,2,0)
   81: 	;;=^^1^1^2940715^
   82: 	;;^UTILITY(U,$J,.84,408,2,1,0)
   83: 	;;=File# |FILE| lacks a name.
   84: 	;;^UTILITY(U,$J,.84,408,3,0)
   85: 	;;=^.845^1^1
   86: 	;;^UTILITY(U,$J,.84,408,3,1,0)
   87: 	;;=FILE^File #.
   88: 	;;^UTILITY(U,$J,.84,420,0)
   89: 	;;=420^1^y^11^
   90: 	;;^UTILITY(U,$J,.84,420,1,0)
   91: 	;;=^^4^4^2940628^
   92: 	;;^UTILITY(U,$J,.84,420,1,1,0)
   93: 	;;=A cross reference was specified for look-up, but that cross reference 
   94: 	;;^UTILITY(U,$J,.84,420,1,2,0)
   95: 	;;=does not exist on the file. The file has entries, but the index does not.
   96: 	;;^UTILITY(U,$J,.84,420,1,3,0)
   97: 	;;=This error implies nothing about whether the index is defined in the
   98: 	;;^UTILITY(U,$J,.84,420,1,4,0)
   99: 	;;=file's DD.
  100: 	;;^UTILITY(U,$J,.84,420,2,0)
  101: 	;;=^^1^1^2931109^
  102: 	;;^UTILITY(U,$J,.84,420,2,1,0)
  103: 	;;=There is no |1| index for File #|FILE|.
  104: 	;;^UTILITY(U,$J,.84,420,3,0)
  105: 	;;=^.845^2^2
  106: 	;;^UTILITY(U,$J,.84,420,3,1,0)
  107: 	;;=1^Cross reference name.
  108: 	;;^UTILITY(U,$J,.84,420,3,2,0)
  109: 	;;=FILE^File number.
  110: 	;;^UTILITY(U,$J,.84,501,0)
  111: 	;;=501^1^y^11^
  112: 	;;^UTILITY(U,$J,.84,501,1,0)
  113: 	;;=^^2^2^2940214^^^
  114: 	;;^UTILITY(U,$J,.84,501,1,1,0)
  115: 	;;=A search of the data dictionary reveals that the field name or number
  116: 	;;^UTILITY(U,$J,.84,501,1,2,0)
  117: 	;;=passed does not exist in the specified file.
  118: 	;;^UTILITY(U,$J,.84,501,2,0)
  119: 	;;=^^1^1^2940214^^
  120: 	;;^UTILITY(U,$J,.84,501,2,1,0)
  121: 	;;=File #|FILE| does not contain a field |1|.
  122: 	;;^UTILITY(U,$J,.84,501,3,0)
  123: 	;;=^.845^3^3
  124: 	;;^UTILITY(U,$J,.84,501,3,1,0)
  125: 	;;=1^Field name or number.
  126: 	;;^UTILITY(U,$J,.84,501,3,2,0)
  127: 	;;=FILE^File number.
  128: 	;;^UTILITY(U,$J,.84,501,3,3,0)
  129: 	;;=FIELD^Field number.
  130: 	;;^UTILITY(U,$J,.84,502,0)
  131: 	;;=502^1^y^11
  132: 	;;^UTILITY(U,$J,.84,502,1,0)
  133: 	;;=^^3^3^2940715^
  134: 	;;^UTILITY(U,$J,.84,502,1,1,0)
  135: 	;;=The field has been identified, but some key part of its definition is
  136: 	;;^UTILITY(U,$J,.84,502,1,2,0)
  137: 	;;=missing or corrupted. ^DD(file#,field#,0) may not be defined. Some key
  138: 	;;^UTILITY(U,$J,.84,502,1,3,0)
  139: 	;;=piece of that node may be missing.

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