Annotation of freem_fileman/DINIT004.m, revision 1.1.1.1

1.1       snw         1: DINIT004       ; 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)
                      7:        ;;=^DI(.84,
                      8:        ;;^UTILITY(U,$J,.84,0)
                      9:        ;;=DIALOG^.84I^630^271
                     10:        ;;^UTILITY(U,$J,.84,101,0)
                     11:        ;;=101^1^^11
                     12:        ;;^UTILITY(U,$J,.84,101,1,0)
                     13:        ;;=^^2^2^2931110^
                     14:        ;;^UTILITY(U,$J,.84,101,1,1,0)
                     15:        ;;=The option or function can only be done if DUZ(0)="@", designating 
                     16:        ;;^UTILITY(U,$J,.84,101,1,2,0)
                     17:        ;;=the user as having programmer access.
                     18:        ;;^UTILITY(U,$J,.84,101,2,0)
                     19:        ;;=^^1^1^2931110^
                     20:        ;;^UTILITY(U,$J,.84,101,2,1,0)
                     21:        ;;=Only those with programmer's access can perform this function.
                     22:        ;;^UTILITY(U,$J,.84,110,0)
                     23:        ;;=110^1^^11
                     24:        ;;^UTILITY(U,$J,.84,110,1,0)
                     25:        ;;=^^2^2^2931110^
                     26:        ;;^UTILITY(U,$J,.84,110,1,1,0)
                     27:        ;;=An attempt to get a lock timed out.  The record is locked and the desired
                     28:        ;;^UTILITY(U,$J,.84,110,1,2,0)
                     29:        ;;=action cannot be taken until the lock is released.
                     30:        ;;^UTILITY(U,$J,.84,110,2,0)
                     31:        ;;=^^1^1^2931110^
                     32:        ;;^UTILITY(U,$J,.84,110,2,1,0)
                     33:        ;;=The record is currently locked.
                     34:        ;;^UTILITY(U,$J,.84,110,3,0)
                     35:        ;;=^.845^2^2
                     36:        ;;^UTILITY(U,$J,.84,110,3,1,0)
                     37:        ;;=FILE^File or subfile #.
                     38:        ;;^UTILITY(U,$J,.84,110,3,2,0)
                     39:        ;;=IENS^IEN string of entry numbers.
                     40:        ;;^UTILITY(U,$J,.84,110,5,0)
                     41:        ;;=^.841^1^1
                     42:        ;;^UTILITY(U,$J,.84,110,5,1,0)
                     43:        ;;=DIE^FILE
                     44:        ;;^UTILITY(U,$J,.84,111,0)
                     45:        ;;=111^1^y^11^
                     46:        ;;^UTILITY(U,$J,.84,111,1,0)
                     47:        ;;=^^2^2^2940215^
                     48:        ;;^UTILITY(U,$J,.84,111,1,1,0)
                     49:        ;;=An attempt to get a lock timed out. The File Header Node is locked, and
                     50:        ;;^UTILITY(U,$J,.84,111,1,2,0)
                     51:        ;;=the desired action cannot be taken until the lock is released.
                     52:        ;;^UTILITY(U,$J,.84,111,2,0)
                     53:        ;;=^^1^1^2940215^
                     54:        ;;^UTILITY(U,$J,.84,111,2,1,0)
                     55:        ;;=The File Header Node is currently locked.
                     56:        ;;^UTILITY(U,$J,.84,111,3,0)
                     57:        ;;=^.845^1^1
                     58:        ;;^UTILITY(U,$J,.84,111,3,1,0)
                     59:        ;;=FILE^File #.
                     60:        ;;^UTILITY(U,$J,.84,111,5,0)
                     61:        ;;=^.841^1^1
                     62:        ;;^UTILITY(U,$J,.84,111,5,1,0)
                     63:        ;;=0
                     64:        ;;^UTILITY(U,$J,.84,120,0)
                     65:        ;;=120^1^y^11
                     66:        ;;^UTILITY(U,$J,.84,120,1,0)
                     67:        ;;=^^7^7^2941006^^
                     68:        ;;^UTILITY(U,$J,.84,120,1,1,0)
                     69:        ;;=An error occurred during the Xecution of a FileMan hook (e.g., an input
                     70:        ;;^UTILITY(U,$J,.84,120,1,2,0)
                     71:        ;;=transform, DIC screen).  The type of hook in which the error occurred is
                     72:        ;;^UTILITY(U,$J,.84,120,1,3,0)
                     73:        ;;=identified in the text.  When relevant, the file, field, and IENS for
                     74:        ;;^UTILITY(U,$J,.84,120,1,4,0)
                     75:        ;;=which the hook was being Xecuted are identified in the PARAM nodes.  The
                     76:        ;;^UTILITY(U,$J,.84,120,1,5,0)
                     77:        ;;=substance of the error will usually be identified by a separate error
                     78:        ;;^UTILITY(U,$J,.84,120,1,6,0)
                     79:        ;;=message generated during the Xecution of the hook itself. That error will
                     80:        ;;^UTILITY(U,$J,.84,120,1,7,0)
                     81:        ;;=usually be the one preceding this one in the DIERR array.
                     82:        ;;^UTILITY(U,$J,.84,120,2,0)
                     83:        ;;=^^1^1^2941006^^
                     84:        ;;^UTILITY(U,$J,.84,120,2,1,0)
                     85:        ;;=The previous error occurred when performing an action specified in a |1|.
                     86:        ;;^UTILITY(U,$J,.84,120,3,0)
                     87:        ;;=^.845^4^4
                     88:        ;;^UTILITY(U,$J,.84,120,3,1,0)
                     89:        ;;=1^Type of FileMan Xecutable code.
                     90:        ;;^UTILITY(U,$J,.84,120,3,2,0)
                     91:        ;;=FILE^File#
                     92:        ;;^UTILITY(U,$J,.84,120,3,3,0)
                     93:        ;;=FIELD^Field#.
                     94:        ;;^UTILITY(U,$J,.84,120,3,4,0)
                     95:        ;;=IENS^Internal Entry Number String.
                     96:        ;;^UTILITY(U,$J,.84,200,0)
                     97:        ;;=200^1^^11
                     98:        ;;^UTILITY(U,$J,.84,200,1,0)
                     99:        ;;=^^2^2^2931109^
                    100:        ;;^UTILITY(U,$J,.84,200,1,1,0)
                    101:        ;;=There is an error in one of the variables passed to a FileMan call or
                    102:        ;;^UTILITY(U,$J,.84,200,1,2,0)
                    103:        ;;=in one of the parameters passed in the actual parameter list.
                    104:        ;;^UTILITY(U,$J,.84,200,2,0)
                    105:        ;;=^^1^1^2931110^^^
                    106:        ;;^UTILITY(U,$J,.84,200,2,1,0)
                    107:        ;;=An input variable or parameter is missing or invalid.
                    108:        ;;^UTILITY(U,$J,.84,201,0)
                    109:        ;;=201^1^y^11^
                    110:        ;;^UTILITY(U,$J,.84,201,1,0)
                    111:        ;;=^^2^2^2931110^^
                    112:        ;;^UTILITY(U,$J,.84,201,1,1,0)
                    113:        ;;=The specified input variable is either 1) required but not defined or
                    114:        ;;^UTILITY(U,$J,.84,201,1,2,0)
                    115:        ;;=2) not valid.
                    116:        ;;^UTILITY(U,$J,.84,201,2,0)
                    117:        ;;=^^1^1^2931110^^^
                    118:        ;;^UTILITY(U,$J,.84,201,2,1,0)
                    119:        ;;=The input variable |1| is missing or invalid.
                    120:        ;;^UTILITY(U,$J,.84,201,3,0)
                    121:        ;;=^.845^1^1
                    122:        ;;^UTILITY(U,$J,.84,201,3,1,0)
                    123:        ;;=1^Variable name.
                    124:        ;;^UTILITY(U,$J,.84,202,0)
                    125:        ;;=202^1^y^11^
                    126:        ;;^UTILITY(U,$J,.84,202,1,0)
                    127:        ;;=^^1^1^2931110^^^^
                    128:        ;;^UTILITY(U,$J,.84,202,1,1,0)
                    129:        ;;=The specified parameter is either required but missing or invalid.
                    130:        ;;^UTILITY(U,$J,.84,202,2,0)
                    131:        ;;=^^1^1^2931110^^^
                    132:        ;;^UTILITY(U,$J,.84,202,2,1,0)
                    133:        ;;=The input parameter that identifies the |1| is missing or invalid.
                    134:        ;;^UTILITY(U,$J,.84,202,3,0)
                    135:        ;;=^.845^1^1
                    136:        ;;^UTILITY(U,$J,.84,202,3,1,0)
                    137:        ;;=1^Parameter as identified in the FM documentation.

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