DINIT004 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ;5/24/00 13:20 [ 04/02/2003 8:25 AM ]
;;22.0;VA FileMan;**1001**;APR 1, 2003
;;22.0;VA FileMan;**41**;Mar 30, 1999
;Per VHA Directive 10-93-142, this routine should not be modified.
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
Q Q
;;^UTILITY(U,$J,.84)
;;=^DI(.84,
;;^UTILITY(U,$J,.84,0)
;;=DIALOG^.84I^9549^322
;;^UTILITY(U,$J,.84,101,0)
;;=101^1^^5
;;^UTILITY(U,$J,.84,101,1,0)
;;=^^2^2^2931110^
;;^UTILITY(U,$J,.84,101,1,1,0)
;;=The option or function can only be done if DUZ(0)="@", designating
;;^UTILITY(U,$J,.84,101,1,2,0)
;;=the user as having programmer access.
;;^UTILITY(U,$J,.84,101,2,0)
;;=^^1^1^2931110^
;;^UTILITY(U,$J,.84,101,2,1,0)
;;=Only those with programmer's access can perform this function.
;;^UTILITY(U,$J,.84,110,0)
;;=110^1^^5
;;^UTILITY(U,$J,.84,110,1,0)
;;=^^2^2^2931110^
;;^UTILITY(U,$J,.84,110,1,1,0)
;;=An attempt to get a lock timed out. The record is locked and the desired
;;^UTILITY(U,$J,.84,110,1,2,0)
;;=action cannot be taken until the lock is released.
;;^UTILITY(U,$J,.84,110,2,0)
;;=^^1^1^2931110^
;;^UTILITY(U,$J,.84,110,2,1,0)
;;=The record is currently locked.
;;^UTILITY(U,$J,.84,110,3,0)
;;=^.845^2^2
;;^UTILITY(U,$J,.84,110,3,1,0)
;;=FILE^File or subfile #.
;;^UTILITY(U,$J,.84,110,3,2,0)
;;=IENS^IEN string of entry numbers.
;;^UTILITY(U,$J,.84,110,5,0)
;;=^.841^1^1
;;^UTILITY(U,$J,.84,110,5,1,0)
;;=DIE^FILE
;;^UTILITY(U,$J,.84,111,0)
;;=111^1^y^5
;;^UTILITY(U,$J,.84,111,1,0)
;;=^^2^2^2970205^^
;;^UTILITY(U,$J,.84,111,1,1,0)
;;=An attempt to get a lock timed out. The File Header Node is locked, and
;;^UTILITY(U,$J,.84,111,1,2,0)
;;=the desired action cannot be taken until the lock is released.
;;^UTILITY(U,$J,.84,111,2,0)
;;=^^1^1^2970205^^
;;^UTILITY(U,$J,.84,111,2,1,0)
;;=The File Header Node is currently locked.
;;^UTILITY(U,$J,.84,111,3,0)
;;=^.845^1^1
;;^UTILITY(U,$J,.84,111,3,1,0)
;;=FILE^File #.
;;^UTILITY(U,$J,.84,111,5,0)
;;=^.841^1^1
;;^UTILITY(U,$J,.84,111,5,1,0)
;;=0
;;^UTILITY(U,$J,.84,112,0)
;;=112^1^y^5
;;^UTILITY(U,$J,.84,112,1,0)
;;=^^2^2^2970205^^
;;^UTILITY(U,$J,.84,112,1,1,0)
;;=An attempt to get a lock timed out. The File is locked, and the desired
;;^UTILITY(U,$J,.84,112,1,2,0)
;;=action cannot be taken until the lock is released.
;;^UTILITY(U,$J,.84,112,2,0)
;;=^^1^1^2970205^
;;^UTILITY(U,$J,.84,112,2,1,0)
;;=The file is currently locked.
;;^UTILITY(U,$J,.84,112,3,0)
;;=^.845^1^1
;;^UTILITY(U,$J,.84,112,3,1,0)
;;=FILE^FILE #
;;^UTILITY(U,$J,.84,120,0)
;;=120^1^y^5
;;^UTILITY(U,$J,.84,120,1,0)
;;=^^7^7^2941006^^
;;^UTILITY(U,$J,.84,120,1,1,0)
;;=An error occurred during the Xecution of a FileMan hook (e.g., an input
;;^UTILITY(U,$J,.84,120,1,2,0)
;;=transform, DIC screen). The type of hook in which the error occurred is
;;^UTILITY(U,$J,.84,120,1,3,0)
;;=identified in the text. When relevant, the file, field, and IENS for
;;^UTILITY(U,$J,.84,120,1,4,0)
;;=which the hook was being Xecuted are identified in the PARAM nodes. The
;;^UTILITY(U,$J,.84,120,1,5,0)
;;=substance of the error will usually be identified by a separate error
;;^UTILITY(U,$J,.84,120,1,6,0)
;;=message generated during the Xecution of the hook itself. That error will
;;^UTILITY(U,$J,.84,120,1,7,0)
;;=usually be the one preceding this one in the DIERR array.
;;^UTILITY(U,$J,.84,120,2,0)
;;=^^1^1^2941006^^
;;^UTILITY(U,$J,.84,120,2,1,0)
;;=The previous error occurred when performing an action specified in a |1|.
;;^UTILITY(U,$J,.84,120,3,0)
;;=^.845^4^4
;;^UTILITY(U,$J,.84,120,3,1,0)
;;=1^Type of FileMan Xecutable code.
;;^UTILITY(U,$J,.84,120,3,2,0)
;;=FILE^File#
;;^UTILITY(U,$J,.84,120,3,3,0)
;;=FIELD^Field#.
;;^UTILITY(U,$J,.84,120,3,4,0)
;;=IENS^Internal Entry Number String.
;;^UTILITY(U,$J,.84,200,0)
;;=200^1^^5
;;^UTILITY(U,$J,.84,200,1,0)
;;=^^2^2^2931109^
;;^UTILITY(U,$J,.84,200,1,1,0)
;;=There is an error in one of the variables passed to a FileMan call or
;;^UTILITY(U,$J,.84,200,1,2,0)
;;=in one of the parameters passed in the actual parameter list.
;;^UTILITY(U,$J,.84,200,2,0)
;;=^^1^1^2931110^^^
;;^UTILITY(U,$J,.84,200,2,1,0)
;;=An input variable or parameter is missing or invalid.
;;^UTILITY(U,$J,.84,201,0)
;;=201^1^y^5
;;^UTILITY(U,$J,.84,201,1,0)
;;=^^2^2^2931110^^
;;^UTILITY(U,$J,.84,201,1,1,0)
;;=The specified input variable is either 1) required but not defined or
;;^UTILITY(U,$J,.84,201,1,2,0)
;;=2) not valid.
;;^UTILITY(U,$J,.84,201,2,0)
;;=^^1^1^2931110^^^
;;^UTILITY(U,$J,.84,201,2,1,0)
;;=The input variable |1| is missing or invalid.
;;^UTILITY(U,$J,.84,201,3,0)
;;=^.845^1^1
;;^UTILITY(U,$J,.84,201,3,1,0)
;;=1^Variable name.
;;^UTILITY(U,$J,.84,202,0)
;;=202^1^y^5
;;^UTILITY(U,$J,.84,202,1,0)
;;=^^1^1^2931110^^^^
;;^UTILITY(U,$J,.84,202,1,1,0)
;;=The specified parameter is either required but missing or invalid.
;;^UTILITY(U,$J,.84,202,2,0)
;;=^^1^1^2950317^^^^
;;^UTILITY(U,$J,.84,202,2,1,0)
;;=The input parameter that identifies the |1| is missing or invalid.
;;^UTILITY(U,$J,.84,202,3,0)
;;=^.845^1^1
;;^UTILITY(U,$J,.84,202,3,1,0)
;;=1^Parameter as identified in the FM documentation.
;;^UTILITY(U,$J,.84,202,5,0)
;;=^.841^1^1
;;^UTILITY(U,$J,.84,202,5,1,0)
;;=DIT^TRNMRG
;;^UTILITY(U,$J,.84,203,0)
;;=203^1^y^5
;;^UTILITY(U,$J,.84,203,1,0)
;;=^^3^3^2940426^
;;^UTILITY(U,$J,.84,203,1,1,0)
;;=An incorrect subscript is present in an array that is passed to FileMan.
;;^UTILITY(U,$J,.84,203,1,2,0)
;;=For example, one of the subscripts in the FDA which identifies FILE, IENS,
;;^UTILITY(U,$J,.84,203,1,3,0)
;;=or FIELD is incorrectly formatted.
;;^UTILITY(U,$J,.84,203,2,0)
;;=^^1^1^2940426^^^
;;^UTILITY(U,$J,.84,203,2,1,0)
;;=The subscript that identifies the |1| is missing or invalid.
;;^UTILITY(U,$J,.84,203,3,0)
;;=^.845^1^1
;;^UTILITY(U,$J,.84,203,3,1,0)
;;=1^The data element incorrectly specified by a subscript.
;;^UTILITY(U,$J,.84,203,5,0)
;;=^.841^1^1
;;^UTILITY(U,$J,.84,203,5,1,0)
;;=DIE^FILE
;;^UTILITY(U,$J,.84,204,0)
;;=204^1^^5
;;^UTILITY(U,$J,.84,204,1,0)
;;=^^1^1^2940316^
;;^UTILITY(U,$J,.84,204,1,1,0)
;;=Control characters are not permitted in the database.
;;^UTILITY(U,$J,.84,204,2,0)
;;=^^1^1^2940316^
;;^UTILITY(U,$J,.84,204,2,1,0)
;;=The input value contains control characters.
;;^UTILITY(U,$J,.84,204,3,0)
;;=^.845^1^1
;;^UTILITY(U,$J,.84,204,3,1,0)
;;=1^INPUT VALUE
;;^UTILITY(U,$J,.84,205,0)
;;=205^1^y^5
;;^UTILITY(U,$J,.84,205,1,0)
;;=^^4^4^2960827^
;;^UTILITY(U,$J,.84,205,1,1,0)
;;=Error message output when a file or subfile number, and its associated IEN
;;^UTILITY(U,$J,.84,205,1,2,0)
;;=string are not in sync (i.e, the number of comma pieces represented by
DINIT004 ; SFISC/TKW-DIALOG & LANGUAGE FILE INITS ;5/24/00 13:20 [ 04/02/2003 8:25 AM ]
+1 ;;22.0;VA FileMan;**1001**;APR 1, 2003
+2 ;;22.0;VA FileMan;**41**;Mar 30, 1999
+3 ;Per VHA Directive 10-93-142, this routine should not be modified.
+4 FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,.84)
+2 ;;=^DI(.84,
+3 ;;^UTILITY(U,$J,.84,0)
+4 ;;=DIALOG^.84I^9549^322
+5 ;;^UTILITY(U,$J,.84,101,0)
+6 ;;=101^1^^5
+7 ;;^UTILITY(U,$J,.84,101,1,0)
+8 ;;=^^2^2^2931110^
+9 ;;^UTILITY(U,$J,.84,101,1,1,0)
+10 ;;=The option or function can only be done if DUZ(0)="@", designating
+11 ;;^UTILITY(U,$J,.84,101,1,2,0)
+12 ;;=the user as having programmer access.
+13 ;;^UTILITY(U,$J,.84,101,2,0)
+14 ;;=^^1^1^2931110^
+15 ;;^UTILITY(U,$J,.84,101,2,1,0)
+16 ;;=Only those with programmer's access can perform this function.
+17 ;;^UTILITY(U,$J,.84,110,0)
+18 ;;=110^1^^5
+19 ;;^UTILITY(U,$J,.84,110,1,0)
+20 ;;=^^2^2^2931110^
+21 ;;^UTILITY(U,$J,.84,110,1,1,0)
+22 ;;=An attempt to get a lock timed out. The record is locked and the desired
+23 ;;^UTILITY(U,$J,.84,110,1,2,0)
+24 ;;=action cannot be taken until the lock is released.
+25 ;;^UTILITY(U,$J,.84,110,2,0)
+26 ;;=^^1^1^2931110^
+27 ;;^UTILITY(U,$J,.84,110,2,1,0)
+28 ;;=The record is currently locked.
+29 ;;^UTILITY(U,$J,.84,110,3,0)
+30 ;;=^.845^2^2
+31 ;;^UTILITY(U,$J,.84,110,3,1,0)
+32 ;;=FILE^File or subfile #.
+33 ;;^UTILITY(U,$J,.84,110,3,2,0)
+34 ;;=IENS^IEN string of entry numbers.
+35 ;;^UTILITY(U,$J,.84,110,5,0)
+36 ;;=^.841^1^1
+37 ;;^UTILITY(U,$J,.84,110,5,1,0)
+38 ;;=DIE^FILE
+39 ;;^UTILITY(U,$J,.84,111,0)
+40 ;;=111^1^y^5
+41 ;;^UTILITY(U,$J,.84,111,1,0)
+42 ;;=^^2^2^2970205^^
+43 ;;^UTILITY(U,$J,.84,111,1,1,0)
+44 ;;=An attempt to get a lock timed out. The File Header Node is locked, and
+45 ;;^UTILITY(U,$J,.84,111,1,2,0)
+46 ;;=the desired action cannot be taken until the lock is released.
+47 ;;^UTILITY(U,$J,.84,111,2,0)
+48 ;;=^^1^1^2970205^^
+49 ;;^UTILITY(U,$J,.84,111,2,1,0)
+50 ;;=The File Header Node is currently locked.
+51 ;;^UTILITY(U,$J,.84,111,3,0)
+52 ;;=^.845^1^1
+53 ;;^UTILITY(U,$J,.84,111,3,1,0)
+54 ;;=FILE^File #.
+55 ;;^UTILITY(U,$J,.84,111,5,0)
+56 ;;=^.841^1^1
+57 ;;^UTILITY(U,$J,.84,111,5,1,0)
+58 ;;=0
+59 ;;^UTILITY(U,$J,.84,112,0)
+60 ;;=112^1^y^5
+61 ;;^UTILITY(U,$J,.84,112,1,0)
+62 ;;=^^2^2^2970205^^
+63 ;;^UTILITY(U,$J,.84,112,1,1,0)
+64 ;;=An attempt to get a lock timed out. The File is locked, and the desired
+65 ;;^UTILITY(U,$J,.84,112,1,2,0)
+66 ;;=action cannot be taken until the lock is released.
+67 ;;^UTILITY(U,$J,.84,112,2,0)
+68 ;;=^^1^1^2970205^
+69 ;;^UTILITY(U,$J,.84,112,2,1,0)
+70 ;;=The file is currently locked.
+71 ;;^UTILITY(U,$J,.84,112,3,0)
+72 ;;=^.845^1^1
+73 ;;^UTILITY(U,$J,.84,112,3,1,0)
+74 ;;=FILE^FILE #
+75 ;;^UTILITY(U,$J,.84,120,0)
+76 ;;=120^1^y^5
+77 ;;^UTILITY(U,$J,.84,120,1,0)
+78 ;;=^^7^7^2941006^^
+79 ;;^UTILITY(U,$J,.84,120,1,1,0)
+80 ;;=An error occurred during the Xecution of a FileMan hook (e.g., an input
+81 ;;^UTILITY(U,$J,.84,120,1,2,0)
+82 ;;=transform, DIC screen). The type of hook in which the error occurred is
+83 ;;^UTILITY(U,$J,.84,120,1,3,0)
+84 ;;=identified in the text. When relevant, the file, field, and IENS for
+85 ;;^UTILITY(U,$J,.84,120,1,4,0)
+86 ;;=which the hook was being Xecuted are identified in the PARAM nodes. The
+87 ;;^UTILITY(U,$J,.84,120,1,5,0)
+88 ;;=substance of the error will usually be identified by a separate error
+89 ;;^UTILITY(U,$J,.84,120,1,6,0)
+90 ;;=message generated during the Xecution of the hook itself. That error will
+91 ;;^UTILITY(U,$J,.84,120,1,7,0)
+92 ;;=usually be the one preceding this one in the DIERR array.
+93 ;;^UTILITY(U,$J,.84,120,2,0)
+94 ;;=^^1^1^2941006^^
+95 ;;^UTILITY(U,$J,.84,120,2,1,0)
+96 ;;=The previous error occurred when performing an action specified in a |1|.
+97 ;;^UTILITY(U,$J,.84,120,3,0)
+98 ;;=^.845^4^4
+99 ;;^UTILITY(U,$J,.84,120,3,1,0)
+100 ;;=1^Type of FileMan Xecutable code.
+101 ;;^UTILITY(U,$J,.84,120,3,2,0)
+102 ;;=FILE^File#
+103 ;;^UTILITY(U,$J,.84,120,3,3,0)
+104 ;;=FIELD^Field#.
+105 ;;^UTILITY(U,$J,.84,120,3,4,0)
+106 ;;=IENS^Internal Entry Number String.
+107 ;;^UTILITY(U,$J,.84,200,0)
+108 ;;=200^1^^5
+109 ;;^UTILITY(U,$J,.84,200,1,0)
+110 ;;=^^2^2^2931109^
+111 ;;^UTILITY(U,$J,.84,200,1,1,0)
+112 ;;=There is an error in one of the variables passed to a FileMan call or
+113 ;;^UTILITY(U,$J,.84,200,1,2,0)
+114 ;;=in one of the parameters passed in the actual parameter list.
+115 ;;^UTILITY(U,$J,.84,200,2,0)
+116 ;;=^^1^1^2931110^^^
+117 ;;^UTILITY(U,$J,.84,200,2,1,0)
+118 ;;=An input variable or parameter is missing or invalid.
+119 ;;^UTILITY(U,$J,.84,201,0)
+120 ;;=201^1^y^5
+121 ;;^UTILITY(U,$J,.84,201,1,0)
+122 ;;=^^2^2^2931110^^
+123 ;;^UTILITY(U,$J,.84,201,1,1,0)
+124 ;;=The specified input variable is either 1) required but not defined or
+125 ;;^UTILITY(U,$J,.84,201,1,2,0)
+126 ;;=2) not valid.
+127 ;;^UTILITY(U,$J,.84,201,2,0)
+128 ;;=^^1^1^2931110^^^
+129 ;;^UTILITY(U,$J,.84,201,2,1,0)
+130 ;;=The input variable |1| is missing or invalid.
+131 ;;^UTILITY(U,$J,.84,201,3,0)
+132 ;;=^.845^1^1
+133 ;;^UTILITY(U,$J,.84,201,3,1,0)
+134 ;;=1^Variable name.
+135 ;;^UTILITY(U,$J,.84,202,0)
+136 ;;=202^1^y^5
+137 ;;^UTILITY(U,$J,.84,202,1,0)
+138 ;;=^^1^1^2931110^^^^
+139 ;;^UTILITY(U,$J,.84,202,1,1,0)
+140 ;;=The specified parameter is either required but missing or invalid.
+141 ;;^UTILITY(U,$J,.84,202,2,0)
+142 ;;=^^1^1^2950317^^^^
+143 ;;^UTILITY(U,$J,.84,202,2,1,0)
+144 ;;=The input parameter that identifies the |1| is missing or invalid.
+145 ;;^UTILITY(U,$J,.84,202,3,0)
+146 ;;=^.845^1^1
+147 ;;^UTILITY(U,$J,.84,202,3,1,0)
+148 ;;=1^Parameter as identified in the FM documentation.
+149 ;;^UTILITY(U,$J,.84,202,5,0)
+150 ;;=^.841^1^1
+151 ;;^UTILITY(U,$J,.84,202,5,1,0)
+152 ;;=DIT^TRNMRG
+153 ;;^UTILITY(U,$J,.84,203,0)
+154 ;;=203^1^y^5
+155 ;;^UTILITY(U,$J,.84,203,1,0)
+156 ;;=^^3^3^2940426^
+157 ;;^UTILITY(U,$J,.84,203,1,1,0)
+158 ;;=An incorrect subscript is present in an array that is passed to FileMan.
+159 ;;^UTILITY(U,$J,.84,203,1,2,0)
+160 ;;=For example, one of the subscripts in the FDA which identifies FILE, IENS,
+161 ;;^UTILITY(U,$J,.84,203,1,3,0)
+162 ;;=or FIELD is incorrectly formatted.
+163 ;;^UTILITY(U,$J,.84,203,2,0)
+164 ;;=^^1^1^2940426^^^
+165 ;;^UTILITY(U,$J,.84,203,2,1,0)
+166 ;;=The subscript that identifies the |1| is missing or invalid.
+167 ;;^UTILITY(U,$J,.84,203,3,0)
+168 ;;=^.845^1^1
+169 ;;^UTILITY(U,$J,.84,203,3,1,0)
+170 ;;=1^The data element incorrectly specified by a subscript.
+171 ;;^UTILITY(U,$J,.84,203,5,0)
+172 ;;=^.841^1^1
+173 ;;^UTILITY(U,$J,.84,203,5,1,0)
+174 ;;=DIE^FILE
+175 ;;^UTILITY(U,$J,.84,204,0)
+176 ;;=204^1^^5
+177 ;;^UTILITY(U,$J,.84,204,1,0)
+178 ;;=^^1^1^2940316^
+179 ;;^UTILITY(U,$J,.84,204,1,1,0)
+180 ;;=Control characters are not permitted in the database.
+181 ;;^UTILITY(U,$J,.84,204,2,0)
+182 ;;=^^1^1^2940316^
+183 ;;^UTILITY(U,$J,.84,204,2,1,0)
+184 ;;=The input value contains control characters.
+185 ;;^UTILITY(U,$J,.84,204,3,0)
+186 ;;=^.845^1^1
+187 ;;^UTILITY(U,$J,.84,204,3,1,0)
+188 ;;=1^INPUT VALUE
+189 ;;^UTILITY(U,$J,.84,205,0)
+190 ;;=205^1^y^5
+191 ;;^UTILITY(U,$J,.84,205,1,0)
+192 ;;=^^4^4^2960827^
+193 ;;^UTILITY(U,$J,.84,205,1,1,0)
+194 ;;=Error message output when a file or subfile number, and its associated IEN
+195 ;;^UTILITY(U,$J,.84,205,1,2,0)
+196 ;;=string are not in sync (i.e, the number of comma pieces represented by