AZHNI006 ; ; 05-AUG-1998
;;4.1T4;AZHN DALE'S WORK PACKAGE;;AUG 05, 1998
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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,"DIST(.404,",366,40,23,0)
;;=23^QTY^2^^EOQQM
;;^UTILITY(U,$J,"DIST(.404,",366,40,23,2)
;;=3,54^4^3,50^1
;;^UTILITY(U,$J,"DIST(.404,",366,40,23,4)
;;=^^1^1
;;^UTILITY(U,$J,"DIST(.404,",366,40,23,20)
;;=N
;;^UTILITY(U,$J,"DIST(.404,",366,40,24,0)
;;=24^ACT^2^^EQAM
;;^UTILITY(U,$J,"DIST(.404,",366,40,24,2)
;;=3,63^5^3,59^1
;;^UTILITY(U,$J,"DIST(.404,",366,40,24,4)
;;=^^^1
;;^UTILITY(U,$J,"DIST(.404,",366,40,24,20)
;;=F
;;^UTILITY(U,$J,"DIST(.404,",366,40,25,0)
;;=25^DT EST^2^^SESTCHG
;;^UTILITY(U,$J,"DIST(.404,",366,40,25,2)
;;=5,71^8^5,63
;;^UTILITY(U,$J,"DIST(.404,",366,40,25,3)
;;=T
;;^UTILITY(U,$J,"DIST(.404,",366,40,25,4)
;;=^^^1
;;^UTILITY(U,$J,"DIST(.404,",366,40,25,14)
;;=D DT^ASUJVALD(.X,"DTS")
;;^UTILITY(U,$J,"DIST(.404,",366,40,25,20)
;;=F
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",1,1)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",2,2)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",3,3)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",4,4)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",5,5)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",6,6)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",7,7)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",8,8)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",9,9)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",10,10)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",11,11)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",12,12)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",13,13)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",14,14)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",15,15)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",16,16)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",17,17)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",19,19)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",20,20)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",21,21)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",22,22)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",23,23)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",24,24)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",25,25)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","*STATION*",1)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","ACT",24)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","COST/U",13)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","DT EST",25)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","DUE IN",14)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","DUE OUT",10)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","EOQTP",19)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","LPP",11)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","LSTIS",9)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","LTM",6)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","MO",22)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","MODS:",21)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","ORD#",4)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","PAMIQ",15)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","QTY",23)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","QTYOH",7)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","RPQ",12)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SLC",17)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SPQ",16)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SRC",2)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SUI",5)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","TBL",20)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","VALOH",8)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","VEN U/I",5)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","VEND",3)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","CST/U",13)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","DUEIN",14)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","DUEOUT",10)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQMM",22)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQQM",23)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQTB",20)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQTP",19)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EQAM",24)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","LPP",11)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","LSTISS",9)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","LTM",6)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","ORD",4)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","PAMIQ",15)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","QTYOH",7)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","RPQ",12)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SESTCHG",25)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SLC",17)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SPQ",16)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SRC",2)
;;=
;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","VALOH",8)
;;=
AZHNI006 ; ; 05-AUG-1998
+1 ;;4.1T4;AZHN DALE'S WORK PACKAGE;;AUG 05, 1998
+2 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,999)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,"DIST(.404,",366,40,23,0)
+2 ;;=23^QTY^2^^EOQQM
+3 ;;^UTILITY(U,$J,"DIST(.404,",366,40,23,2)
+4 ;;=3,54^4^3,50^1
+5 ;;^UTILITY(U,$J,"DIST(.404,",366,40,23,4)
+6 ;;=^^1^1
+7 ;;^UTILITY(U,$J,"DIST(.404,",366,40,23,20)
+8 ;;=N
+9 ;;^UTILITY(U,$J,"DIST(.404,",366,40,24,0)
+10 ;;=24^ACT^2^^EQAM
+11 ;;^UTILITY(U,$J,"DIST(.404,",366,40,24,2)
+12 ;;=3,63^5^3,59^1
+13 ;;^UTILITY(U,$J,"DIST(.404,",366,40,24,4)
+14 ;;=^^^1
+15 ;;^UTILITY(U,$J,"DIST(.404,",366,40,24,20)
+16 ;;=F
+17 ;;^UTILITY(U,$J,"DIST(.404,",366,40,25,0)
+18 ;;=25^DT EST^2^^SESTCHG
+19 ;;^UTILITY(U,$J,"DIST(.404,",366,40,25,2)
+20 ;;=5,71^8^5,63
+21 ;;^UTILITY(U,$J,"DIST(.404,",366,40,25,3)
+22 ;;=T
+23 ;;^UTILITY(U,$J,"DIST(.404,",366,40,25,4)
+24 ;;=^^^1
+25 ;;^UTILITY(U,$J,"DIST(.404,",366,40,25,14)
+26 ;;=D DT^ASUJVALD(.X,"DTS")
+27 ;;^UTILITY(U,$J,"DIST(.404,",366,40,25,20)
+28 ;;=F
+29 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",1,1)
+30 ;;=
+31 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",2,2)
+32 ;;=
+33 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",3,3)
+34 ;;=
+35 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",4,4)
+36 ;;=
+37 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",5,5)
+38 ;;=
+39 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",6,6)
+40 ;;=
+41 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",7,7)
+42 ;;=
+43 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",8,8)
+44 ;;=
+45 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",9,9)
+46 ;;=
+47 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",10,10)
+48 ;;=
+49 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",11,11)
+50 ;;=
+51 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",12,12)
+52 ;;=
+53 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",13,13)
+54 ;;=
+55 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",14,14)
+56 ;;=
+57 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",15,15)
+58 ;;=
+59 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",16,16)
+60 ;;=
+61 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",17,17)
+62 ;;=
+63 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",19,19)
+64 ;;=
+65 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",20,20)
+66 ;;=
+67 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",21,21)
+68 ;;=
+69 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",22,22)
+70 ;;=
+71 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",23,23)
+72 ;;=
+73 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",24,24)
+74 ;;=
+75 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"B",25,25)
+76 ;;=
+77 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","*STATION*",1)
+78 ;;=
+79 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","ACT",24)
+80 ;;=
+81 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","COST/U",13)
+82 ;;=
+83 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","DT EST",25)
+84 ;;=
+85 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","DUE IN",14)
+86 ;;=
+87 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","DUE OUT",10)
+88 ;;=
+89 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","EOQTP",19)
+90 ;;=
+91 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","LPP",11)
+92 ;;=
+93 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","LSTIS",9)
+94 ;;=
+95 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","LTM",6)
+96 ;;=
+97 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","MO",22)
+98 ;;=
+99 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","MODS:",21)
+100 ;;=
+101 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","ORD#",4)
+102 ;;=
+103 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","PAMIQ",15)
+104 ;;=
+105 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","QTY",23)
+106 ;;=
+107 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","QTYOH",7)
+108 ;;=
+109 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","RPQ",12)
+110 ;;=
+111 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SLC",17)
+112 ;;=
+113 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SPQ",16)
+114 ;;=
+115 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SRC",2)
+116 ;;=
+117 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","SUI",5)
+118 ;;=
+119 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","TBL",20)
+120 ;;=
+121 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","VALOH",8)
+122 ;;=
+123 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","VEN U/I",5)
+124 ;;=
+125 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"C","VEND",3)
+126 ;;=
+127 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","CST/U",13)
+128 ;;=
+129 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","DUEIN",14)
+130 ;;=
+131 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","DUEOUT",10)
+132 ;;=
+133 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQMM",22)
+134 ;;=
+135 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQQM",23)
+136 ;;=
+137 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQTB",20)
+138 ;;=
+139 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EOQTP",19)
+140 ;;=
+141 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","EQAM",24)
+142 ;;=
+143 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","LPP",11)
+144 ;;=
+145 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","LSTISS",9)
+146 ;;=
+147 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","LTM",6)
+148 ;;=
+149 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","ORD",4)
+150 ;;=
+151 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","PAMIQ",15)
+152 ;;=
+153 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","QTYOH",7)
+154 ;;=
+155 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","RPQ",12)
+156 ;;=
+157 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SESTCHG",25)
+158 ;;=
+159 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SLC",17)
+160 ;;=
+161 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SPQ",16)
+162 ;;=
+163 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","SRC",2)
+164 ;;=
+165 ;;^UTILITY(U,$J,"DIST(.404,",366,40,"D","VALOH",8)
+166 ;;=