Annotation of freem_fileman/DINIT006.m, revision 1.1.1.1

1.1       snw         1: DINIT006       ; 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,305,2,0)
                      7:        ;;=^^1^1^2931109^
                      8:        ;;^UTILITY(U,$J,.84,305,2,1,0)
                      9:        ;;=The array with a root of '|1|' has no data associated with it.
                     10:        ;;^UTILITY(U,$J,.84,305,3,0)
                     11:        ;;=^.845^1^1
                     12:        ;;^UTILITY(U,$J,.84,305,3,1,0)
                     13:        ;;=1^Passed root.
                     14:        ;;^UTILITY(U,$J,.84,305,5,0)
                     15:        ;;=^.841^1^1
                     16:        ;;^UTILITY(U,$J,.84,305,5,1,0)
                     17:        ;;=DIE^FILE
                     18:        ;;^UTILITY(U,$J,.84,306,0)
                     19:        ;;=306^1^y^11
                     20:        ;;^UTILITY(U,$J,.84,306,1,0)
                     21:        ;;=^^2^2^2940628^
                     22:        ;;^UTILITY(U,$J,.84,306,1,1,0)
                     23:        ;;=When an IENS is used to explicitly identify a subfile, not a subfile
                     24:        ;;^UTILITY(U,$J,.84,306,1,2,0)
                     25:        ;;=entry, then the first comma-piece should be empty. This one wasn't.
                     26:        ;;^UTILITY(U,$J,.84,306,2,0)
                     27:        ;;=^^1^1^2941018^
                     28:        ;;^UTILITY(U,$J,.84,306,2,1,0)
                     29:        ;;=The first comma-piece of IENS '|IENS|' should be empty.
                     30:        ;;^UTILITY(U,$J,.84,306,3,0)
                     31:        ;;=^.845^1^1
                     32:        ;;^UTILITY(U,$J,.84,306,3,1,0)
                     33:        ;;=IENS^IENS.
                     34:        ;;^UTILITY(U,$J,.84,307,0)
                     35:        ;;=307^1^y^11
                     36:        ;;^UTILITY(U,$J,.84,307,1,0)
                     37:        ;;=^^2^2^2940629^
                     38:        ;;^UTILITY(U,$J,.84,307,1,1,0)
                     39:        ;;=One of the IENs in the IENS has been left out, leaving an empty
                     40:        ;;^UTILITY(U,$J,.84,307,1,2,0)
                     41:        ;;=comma-piece. 
                     42:        ;;^UTILITY(U,$J,.84,307,2,0)
                     43:        ;;=^^1^1^2941018^
                     44:        ;;^UTILITY(U,$J,.84,307,2,1,0)
                     45:        ;;=The IENS '|IENS|' has an empty comma-piece.
                     46:        ;;^UTILITY(U,$J,.84,307,3,0)
                     47:        ;;=^.845^1^1
                     48:        ;;^UTILITY(U,$J,.84,307,3,1,0)
                     49:        ;;=IENS^IENS.
                     50:        ;;^UTILITY(U,$J,.84,308,0)
                     51:        ;;=308^1^y^11
                     52:        ;;^UTILITY(U,$J,.84,308,1,0)
                     53:        ;;=^^3^3^2940629^
                     54:        ;;^UTILITY(U,$J,.84,308,1,1,0)
                     55:        ;;=The syntax of this IENS is incorrect. For example, a record number may be
                     56:        ;;^UTILITY(U,$J,.84,308,1,2,0)
                     57:        ;;=illegal; or a subfile may be specified as already existing, but have a
                     58:        ;;^UTILITY(U,$J,.84,308,1,3,0)
                     59:        ;;=parent that is just now being added.
                     60:        ;;^UTILITY(U,$J,.84,308,2,0)
                     61:        ;;=^^1^1^2941018^
                     62:        ;;^UTILITY(U,$J,.84,308,2,1,0)
                     63:        ;;=The IENS '|IENS|' is syntactically incorrect.
                     64:        ;;^UTILITY(U,$J,.84,308,3,0)
                     65:        ;;=^.845^1^1
                     66:        ;;^UTILITY(U,$J,.84,308,3,1,0)
                     67:        ;;=IENS^IENS.
                     68:        ;;^UTILITY(U,$J,.84,309,0)
                     69:        ;;=309^1^^11
                     70:        ;;^UTILITY(U,$J,.84,309,1,0)
                     71:        ;;=^^2^2^2931109^
                     72:        ;;^UTILITY(U,$J,.84,309,1,1,0)
                     73:        ;;=A multiple field is involved.  Either the root of the multiple or the 
                     74:        ;;^UTILITY(U,$J,.84,309,1,2,0)
                     75:        ;;=necessary entry numbers are missing.
                     76:        ;;^UTILITY(U,$J,.84,309,2,0)
                     77:        ;;=^^1^1^2931109^
                     78:        ;;^UTILITY(U,$J,.84,309,2,1,0)
                     79:        ;;=There is insufficient information to identify an entry in a subfile.
                     80:        ;;^UTILITY(U,$J,.84,310,0)
                     81:        ;;=310^1^y^11
                     82:        ;;^UTILITY(U,$J,.84,310,1,0)
                     83:        ;;=^^6^6^2940629^
                     84:        ;;^UTILITY(U,$J,.84,310,1,1,0)
                     85:        ;;=Some of the IENS subscripts in this FDA conflict with each other. For
                     86:        ;;^UTILITY(U,$J,.84,310,1,2,0)
                     87:        ;;=example, one IENS may use the sequence number ?1 while another uses +1.
                     88:        ;;^UTILITY(U,$J,.84,310,1,3,0)
                     89:        ;;=This would be illegal because the sequence number 1 is being used to
                     90:        ;;^UTILITY(U,$J,.84,310,1,4,0)
                     91:        ;;=represent two different operations. Consult your documentation for an
                     92:        ;;^UTILITY(U,$J,.84,310,1,5,0)
                     93:        ;;=explanation of the various conflicts possible. The IENS returned with this
                     94:        ;;^UTILITY(U,$J,.84,310,1,6,0)
                     95:        ;;=error happens to be one of the IENS values in conflict.
                     96:        ;;^UTILITY(U,$J,.84,310,2,0)
                     97:        ;;=^^1^1^2941018^
                     98:        ;;^UTILITY(U,$J,.84,310,2,1,0)
                     99:        ;;=The IENS '|IENS|' conflicts with the rest of the FDA.
                    100:        ;;^UTILITY(U,$J,.84,310,3,0)
                    101:        ;;=^.845^1^1
                    102:        ;;^UTILITY(U,$J,.84,310,3,1,0)
                    103:        ;;=IENS^IENS.
                    104:        ;;^UTILITY(U,$J,.84,311,0)
                    105:        ;;=311^1^y^11
                    106:        ;;^UTILITY(U,$J,.84,311,1,0)
                    107:        ;;=^^3^3^2940629^
                    108:        ;;^UTILITY(U,$J,.84,311,1,1,0)
                    109:        ;;=Adding an entry to a file without including all required identifiers
                    110:        ;;^UTILITY(U,$J,.84,311,1,2,0)
                    111:        ;;=violates database integrity. The entry identified by this IENS lacks some
                    112:        ;;^UTILITY(U,$J,.84,311,1,3,0)
                    113:        ;;=of its required identifiers in the passed FDA.
                    114:        ;;^UTILITY(U,$J,.84,311,2,0)
                    115:        ;;=^^1^1^2941018^
                    116:        ;;^UTILITY(U,$J,.84,311,2,1,0)
                    117:        ;;=The new record '|IENS|' lacks some required identifiers.
                    118:        ;;^UTILITY(U,$J,.84,311,3,0)
                    119:        ;;=^.845^1^1
                    120:        ;;^UTILITY(U,$J,.84,311,3,1,0)
                    121:        ;;=IENS^IENS.
                    122:        ;;^UTILITY(U,$J,.84,330,0)
                    123:        ;;=330^1^y^11
                    124:        ;;^UTILITY(U,$J,.84,330,1,0)
                    125:        ;;=^^2^2^2941123^
                    126:        ;;^UTILITY(U,$J,.84,330,1,1,0)
                    127:        ;;=The value passed by the calling application should be a certain data type,
                    128:        ;;^UTILITY(U,$J,.84,330,1,2,0)
                    129:        ;;=but according to our checks it is not.
                    130:        ;;^UTILITY(U,$J,.84,330,2,0)
                    131:        ;;=^^1^1^2941123^
                    132:        ;;^UTILITY(U,$J,.84,330,2,1,0)
                    133:        ;;=The value '|1|' is not a valid |2|.
                    134:        ;;^UTILITY(U,$J,.84,330,3,0)
                    135:        ;;=^.845^2^2

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