DINIT2BE ;SFISC/MKO-SQLI FILES ;10:51 AM 30 Mar 1999
;;22.0;VA FileMan;;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
G ^DINIT2C0
Q Q
;;^DIC(1.52192,0,"GL")
;;=^DMSQ("EX",
;;^DIC("B","SQLI_ERROR_LOG",1.52192)
;;=
;;^DIC(1.52192,"%D",0)
;;=^^4^4^2970806^^^^
;;^DIC(1.52192,"%D",1,0)
;;=Log of all errors encountered while compiling SQLI.
;;^DIC(1.52192,"%D",2,0)
;;=It generates the error text table (SQLI_ERROR_TEXT) on a laygo basis;
;;^DIC(1.52192,"%D",3,0)
;;=errors are added only when they occur. If DBS errors triggered the
;;^DIC(1.52192,"%D",4,0)
;;=error, the DIALOG file reference is also saved.
;;^DD(1.52192,0)
;;=FIELD^^4^5
;;^DD(1.52192,0,"DDA")
;;=N
;;^DD(1.52192,0,"DT")
;;=2960829
;;^DD(1.52192,0,"IX","B",1.52192,.01)
;;=
;;^DD(1.52192,0,"IX","C",1.52192,2)
;;=
;;^DD(1.52192,0,"IX","D",1.52192,3)
;;=
;;^DD(1.52192,0,"IX","E",1.52192,4)
;;=
;;^DD(1.52192,0,"NM","SQLI_ERROR_LOG")
;;=
;;^DD(1.52192,0,"VRPK")
;;=DI
;;^DD(1.52192,.01,0)
;;=FILEMAN_FILE^RNJ15,6^^0;1^K:+X'=X!(X>99999999.999999)!(X<1)!(X?.E1"."7N.N) X
;;^DD(1.52192,.01,.1)
;;=File
;;^DD(1.52192,.01,1,0)
;;=^.1
;;^DD(1.52192,.01,1,1,0)
;;=1.52192^B
;;^DD(1.52192,.01,1,1,1)
;;=S ^DMSQ("EX","B",$E(X,1,30),DA)=""
;;^DD(1.52192,.01,1,1,2)
;;=K ^DMSQ("EX","B",$E(X,1,30),DA)
;;^DD(1.52192,.01,3)
;;=Type a Number between 1 and 99999999.999999, 6 Decimal Digits
;;^DD(1.52192,.01,9)
;;=^
;;^DD(1.52192,.01,21,0)
;;=^^1^1^2960926^^
;;^DD(1.52192,.01,21,1,0)
;;=FileMan source file of error in table build
;;^DD(1.52192,.01,"DT")
;;=2960828
;;^DD(1.52192,1,0)
;;=FILEMAN_FIELD^NJ15,6^^0;2^K:+X'=X!(X>99999999.999999)!(X<.001)!(X?.E1"."7N.N) X
;;^DD(1.52192,1,3)
;;=Type a Number between .001 and 99999999.999999, 6 Decimal Digits
;;^DD(1.52192,1,9)
;;=^
;;^DD(1.52192,1,21,0)
;;=^^1^1^2960926^^
;;^DD(1.52192,1,21,1,0)
;;=FileMan field number of error source
;;^DD(1.52192,1,23,0)
;;=^^1^1^2960926^
;;^DD(1.52192,1,23,1,0)
;;=May be other information. This is a bit loose.
;;^DD(1.52192,1,"DT")
;;=2960828
;;^DD(1.52192,2,0)
;;=ERROR^RP1.52191^DMSQ("ET",^0;3^Q
;;^DD(1.52192,2,.1)
;;=Error
;;^DD(1.52192,2,1,0)
;;=^.1
;;^DD(1.52192,2,1,1,0)
;;=1.52192^C
;;^DD(1.52192,2,1,1,1)
;;=S ^DMSQ("EX","C",$E(X,1,30),DA)=""
;;^DD(1.52192,2,1,1,2)
;;=K ^DMSQ("EX","C",$E(X,1,30),DA)
;;^DD(1.52192,2,1,1,"%D",0)
;;=^^1^1^2960829^
;;^DD(1.52192,2,1,1,"%D",1,0)
;;=Error by error number
;;^DD(1.52192,2,1,1,"DT")
;;=2960829
;;^DD(1.52192,2,9)
;;=^
;;^DD(1.52192,2,21,0)
;;=^^1^1^2960926^
;;^DD(1.52192,2,21,1,0)
;;=IEN of error text from SQLI_ERROR_TEXT
;;^DD(1.52192,2,"DT")
;;=2960926
;;^DD(1.52192,3,0)
;;=ERROR_DATE^RD^^0;4^S %DT="EX" D ^%DT S X=Y K:Y<1 X
;;^DD(1.52192,3,.1)
;;=Run Date
;;^DD(1.52192,3,1,0)
;;=^.1
;;^DD(1.52192,3,1,1,0)
;;=1.52192^D
;;^DD(1.52192,3,1,1,1)
;;=S ^DMSQ("EX","D",$E(X,1,30),DA)=""
;;^DD(1.52192,3,1,1,2)
;;=K ^DMSQ("EX","D",$E(X,1,30),DA)
;;^DD(1.52192,3,1,1,"%D",0)
;;=^^1^1^2960829^
;;^DD(1.52192,3,1,1,"%D",1,0)
;;=Error by date
;;^DD(1.52192,3,1,1,"DT")
;;=2960829
;;^DD(1.52192,3,9)
;;=^
;;^DD(1.52192,3,21,0)
;;=^^1^1^2960926^
;;^DD(1.52192,3,21,1,0)
;;=Date of run
;;^DD(1.52192,3,"DT")
;;=2960926
;;^DD(1.52192,4,0)
;;=FILEMAN_ERROR^P.84'^DI(.84,^0;5^Q
;;^DD(1.52192,4,.1)
;;=FileMan Error
;;^DD(1.52192,4,1,0)
;;=^.1
;;^DD(1.52192,4,1,1,0)
;;=1.52192^E
;;^DD(1.52192,4,1,1,1)
;;=S ^DMSQ("EX","E",$E(X,1,30),DA)=""
;;^DD(1.52192,4,1,1,2)
;;=K ^DMSQ("EX","E",$E(X,1,30),DA)
;;^DD(1.52192,4,1,1,"%D",0)
;;=^^1^1^2960829^
;;^DD(1.52192,4,1,1,"%D",1,0)
;;=Error by FileMan Dialog error number
;;^DD(1.52192,4,1,1,"DT")
;;=2960829
;;^DD(1.52192,4,9)
;;=^
;;^DD(1.52192,4,21,0)
;;=^^1^1^2960926^
;;^DD(1.52192,4,21,1,0)
;;=IEN of FileMan error in DIALOG file
;;^DD(1.52192,4,"DT")
;;=2960926
DINIT2BE ;SFISC/MKO-SQLI FILES ;10:51 AM 30 Mar 1999
+1 ;;22.0;VA FileMan;;Mar 30, 1999
+2 ;Per VHA Directive 10-93-142, this routine should not be modified.
+3 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
+4 GOTO ^DINIT2C0
Q QUIT
+1 ;;^DIC(1.52192,0,"GL")
+2 ;;=^DMSQ("EX",
+3 ;;^DIC("B","SQLI_ERROR_LOG",1.52192)
+4 ;;=
+5 ;;^DIC(1.52192,"%D",0)
+6 ;;=^^4^4^2970806^^^^
+7 ;;^DIC(1.52192,"%D",1,0)
+8 ;;=Log of all errors encountered while compiling SQLI.
+9 ;;^DIC(1.52192,"%D",2,0)
+10 ;;=It generates the error text table (SQLI_ERROR_TEXT) on a laygo basis;
+11 ;;^DIC(1.52192,"%D",3,0)
+12 ;;=errors are added only when they occur. If DBS errors triggered the
+13 ;;^DIC(1.52192,"%D",4,0)
+14 ;;=error, the DIALOG file reference is also saved.
+15 ;;^DD(1.52192,0)
+16 ;;=FIELD^^4^5
+17 ;;^DD(1.52192,0,"DDA")
+18 ;;=N
+19 ;;^DD(1.52192,0,"DT")
+20 ;;=2960829
+21 ;;^DD(1.52192,0,"IX","B",1.52192,.01)
+22 ;;=
+23 ;;^DD(1.52192,0,"IX","C",1.52192,2)
+24 ;;=
+25 ;;^DD(1.52192,0,"IX","D",1.52192,3)
+26 ;;=
+27 ;;^DD(1.52192,0,"IX","E",1.52192,4)
+28 ;;=
+29 ;;^DD(1.52192,0,"NM","SQLI_ERROR_LOG")
+30 ;;=
+31 ;;^DD(1.52192,0,"VRPK")
+32 ;;=DI
+33 ;;^DD(1.52192,.01,0)
+34 ;;=FILEMAN_FILE^RNJ15,6^^0;1^K:+X'=X!(X>99999999.999999)!(X<1)!(X?.E1"."7N.N) X
+35 ;;^DD(1.52192,.01,.1)
+36 ;;=File
+37 ;;^DD(1.52192,.01,1,0)
+38 ;;=^.1
+39 ;;^DD(1.52192,.01,1,1,0)
+40 ;;=1.52192^B
+41 ;;^DD(1.52192,.01,1,1,1)
+42 ;;=S ^DMSQ("EX","B",$E(X,1,30),DA)=""
+43 ;;^DD(1.52192,.01,1,1,2)
+44 ;;=K ^DMSQ("EX","B",$E(X,1,30),DA)
+45 ;;^DD(1.52192,.01,3)
+46 ;;=Type a Number between 1 and 99999999.999999, 6 Decimal Digits
+47 ;;^DD(1.52192,.01,9)
+48 ;;=^
+49 ;;^DD(1.52192,.01,21,0)
+50 ;;=^^1^1^2960926^^
+51 ;;^DD(1.52192,.01,21,1,0)
+52 ;;=FileMan source file of error in table build
+53 ;;^DD(1.52192,.01,"DT")
+54 ;;=2960828
+55 ;;^DD(1.52192,1,0)
+56 ;;=FILEMAN_FIELD^NJ15,6^^0;2^K:+X'=X!(X>99999999.999999)!(X<.001)!(X?.E1"."7N.N) X
+57 ;;^DD(1.52192,1,3)
+58 ;;=Type a Number between .001 and 99999999.999999, 6 Decimal Digits
+59 ;;^DD(1.52192,1,9)
+60 ;;=^
+61 ;;^DD(1.52192,1,21,0)
+62 ;;=^^1^1^2960926^^
+63 ;;^DD(1.52192,1,21,1,0)
+64 ;;=FileMan field number of error source
+65 ;;^DD(1.52192,1,23,0)
+66 ;;=^^1^1^2960926^
+67 ;;^DD(1.52192,1,23,1,0)
+68 ;;=May be other information. This is a bit loose.
+69 ;;^DD(1.52192,1,"DT")
+70 ;;=2960828
+71 ;;^DD(1.52192,2,0)
+72 ;;=ERROR^RP1.52191^DMSQ("ET",^0;3^Q
+73 ;;^DD(1.52192,2,.1)
+74 ;;=Error
+75 ;;^DD(1.52192,2,1,0)
+76 ;;=^.1
+77 ;;^DD(1.52192,2,1,1,0)
+78 ;;=1.52192^C
+79 ;;^DD(1.52192,2,1,1,1)
+80 ;;=S ^DMSQ("EX","C",$E(X,1,30),DA)=""
+81 ;;^DD(1.52192,2,1,1,2)
+82 ;;=K ^DMSQ("EX","C",$E(X,1,30),DA)
+83 ;;^DD(1.52192,2,1,1,"%D",0)
+84 ;;=^^1^1^2960829^
+85 ;;^DD(1.52192,2,1,1,"%D",1,0)
+86 ;;=Error by error number
+87 ;;^DD(1.52192,2,1,1,"DT")
+88 ;;=2960829
+89 ;;^DD(1.52192,2,9)
+90 ;;=^
+91 ;;^DD(1.52192,2,21,0)
+92 ;;=^^1^1^2960926^
+93 ;;^DD(1.52192,2,21,1,0)
+94 ;;=IEN of error text from SQLI_ERROR_TEXT
+95 ;;^DD(1.52192,2,"DT")
+96 ;;=2960926
+97 ;;^DD(1.52192,3,0)
+98 ;;=ERROR_DATE^RD^^0;4^S %DT="EX" D ^%DT S X=Y K:Y<1 X
+99 ;;^DD(1.52192,3,.1)
+100 ;;=Run Date
+101 ;;^DD(1.52192,3,1,0)
+102 ;;=^.1
+103 ;;^DD(1.52192,3,1,1,0)
+104 ;;=1.52192^D
+105 ;;^DD(1.52192,3,1,1,1)
+106 ;;=S ^DMSQ("EX","D",$E(X,1,30),DA)=""
+107 ;;^DD(1.52192,3,1,1,2)
+108 ;;=K ^DMSQ("EX","D",$E(X,1,30),DA)
+109 ;;^DD(1.52192,3,1,1,"%D",0)
+110 ;;=^^1^1^2960829^
+111 ;;^DD(1.52192,3,1,1,"%D",1,0)
+112 ;;=Error by date
+113 ;;^DD(1.52192,3,1,1,"DT")
+114 ;;=2960829
+115 ;;^DD(1.52192,3,9)
+116 ;;=^
+117 ;;^DD(1.52192,3,21,0)
+118 ;;=^^1^1^2960926^
+119 ;;^DD(1.52192,3,21,1,0)
+120 ;;=Date of run
+121 ;;^DD(1.52192,3,"DT")
+122 ;;=2960926
+123 ;;^DD(1.52192,4,0)
+124 ;;=FILEMAN_ERROR^P.84'^DI(.84,^0;5^Q
+125 ;;^DD(1.52192,4,.1)
+126 ;;=FileMan Error
+127 ;;^DD(1.52192,4,1,0)
+128 ;;=^.1
+129 ;;^DD(1.52192,4,1,1,0)
+130 ;;=1.52192^E
+131 ;;^DD(1.52192,4,1,1,1)
+132 ;;=S ^DMSQ("EX","E",$E(X,1,30),DA)=""
+133 ;;^DD(1.52192,4,1,1,2)
+134 ;;=K ^DMSQ("EX","E",$E(X,1,30),DA)
+135 ;;^DD(1.52192,4,1,1,"%D",0)
+136 ;;=^^1^1^2960829^
+137 ;;^DD(1.52192,4,1,1,"%D",1,0)
+138 ;;=Error by FileMan Dialog error number
+139 ;;^DD(1.52192,4,1,1,"DT")
+140 ;;=2960829
+141 ;;^DD(1.52192,4,9)
+142 ;;=^
+143 ;;^DD(1.52192,4,21,0)
+144 ;;=^^1^1^2960926^
+145 ;;^DD(1.52192,4,21,1,0)
+146 ;;=IEN of FileMan error in DIALOG file
+147 ;;^DD(1.52192,4,"DT")
+148 ;;=2960926