OCXDI01K ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^OCXDIAG
;
;
K REMOTE,LOCAL,OPCODE,REF
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
;
G ^OCXDI01L
;
Q
;
DATA ;
;
;;D^BETWEEN
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:","863.92:1",.01,"E"
;;D^BETWEEN
;;R^"863.9:","863.92:2",.01,"E"
;;D^WITHIN
;;R^"863.9:","863.92:3",.01,"E"
;;D^DURING
;;EOR^
;;KEY^863.9:^EQ DATE
;;R^"863.9:",.01,"E"
;;D^EQ DATE
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.04,"E"
;;D^IS EQUAL TO
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC DATE/TIME EQUALS
;;R^"863.9:","863.92:1",.01,"E"
;;D^EQUAL TO
;;R^"863.9:","863.92:2",.01,"E"
;;D^EQUALS
;;R^"863.9:","863.92:3",.01,"E"
;;D^ON
;;R^"863.9:","863.92:4",.01,"E"
;;D^=
;;EOR^
;;KEY^863.9:^CONTAINS
;;R^"863.9:",.01,"E"
;;D^CONTAINS
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^CONTAINS
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC FREE TEXT CONTAINS
;;EOR^
;;KEY^863.9:^NULL
;;R^"863.9:",.01,"E"
;;D^NULL
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO NULL VALUE ALLOWED
;;R^"863.9:","863.91:2",1,"E"
;;D^1
;;EOR^
;;KEY^863.9:^EQ FREE TEXT
;;R^"863.9:",.01,"E"
;;D^EQ FREE TEXT
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^IS EQUAL TO
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC FREE TEXT EQUALS
;;R^"863.9:","863.92:1",.01,"E"
;;D^EQUALS
;;EOR^
;;KEY^863.9:^GREATER THAN
;;R^"863.9:",.01,"E"
;;D^GREATER THAN
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.04,"E"
;;D^IS GREATER THAN
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC NUMERIC GREATER THAN
;;EOR^
;;KEY^863.9:^LESS THAN
;;R^"863.9:",.01,"E"
;;D^LESS THAN
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.04,"E"
;;D^IS LESS THAN
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC NUMERIC LESS THAN
;;EOR^
;;KEY^863.9:^EXISTS
;;R^"863.9:",.01,"E"
;;D^EXISTS
;;R^"863.9:",.02,"E"
;;D^POINTER TO A FILEMAN FILE
;;EOR^
;;KEY^863.9:^LOGICAL AND
;;R^"863.9:",.01,"E"
;;D^LOGICAL AND
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL AND
;;R^"863.9:",.04,"E"
;;D^AND
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC BOOLEAN LOGICAL AND
;;R^"863.9:","863.92:1",.01,"E"
;;D^AND
;;EOR^
;;KEY^863.9:^LOGICAL OR
;;R^"863.9:",.01,"E"
;;D^LOGICAL OR
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL OR
;;R^"863.9:",.04,"E"
;;D^OR
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC BOOLEAN LOGICAL OR
;;R^"863.9:","863.92:1",.01,"E"
;;D^OR
;;EOR^
;;KEY^863.9:^LOGICAL NOT
;;R^"863.9:",.01,"E"
;;D^LOGICAL NOT
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL NOT
;;R^"863.9:",.04,"E"
;;D^NOT
;;R^"863.9:","863.91:4",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:4",1,"E"
;;D^GCC BOOLEAN LOGICAL NOT
;;R^"863.9:","863.92:1",.01,"E"
;;D^NOT
;;EOR^
;;KEY^863.9:^STARTS WITH
;;R^"863.9:",.01,"E"
;;D^STARTS WITH
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.04,"E"
;;D^STARTS WITH
;;R^"863.9:","863.91:3",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:3",1,"E"
;;D^GCC FREE TEXT STARTS WITH
;;R^"863.9:","863.92:1",.01,"E"
;;D^BEGINS WITH
;;EOR^
;;KEY^863.9:^EQ NUMERIC
;;R^"863.9:",.01,"E"
;;D^EQ NUMERIC
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.04,"E"
;;D^IS EQUAL TO
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC NUMERIC EQUALS
;;R^"863.9:","863.92:1",.01,"E"
;;D^EQUALS
;;EOR^
;;KEY^863.9:^INCL BETWEEN NUMERIC
;;R^"863.9:",.01,"E"
;;D^INCL BETWEEN NUMERIC
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.04,"E"
;;D^IS INCLUSIVELY BETWEEN
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC NUMERIC INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^EXCL BETWEEN NUMERIC
;;R^"863.9:",.01,"E"
;;D^EXCL BETWEEN NUMERIC
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC NUMERIC EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^INCL BETWEEN DATE
;;R^"863.9:",.01,"E"
;;D^INCL BETWEEN DATE
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.04,"E"
;;D^IS INCLUSIVELY BETWEEN
;;R^"863.9:","863.91:2",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:2",1,"E"
;;D^GCC DATE/TIME INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^EXCL BETWEEN DATE
;;R^"863.9:",.01,"E"
;;D^EXCL BETWEEN DATE
;;R^"863.9:",.02,"E"
;;D^DATE/TIME
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;1;
;
OCXDI01K ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^OCXDIAG
+3 ;
+4 ;
+5 KILL REMOTE,LOCAL,OPCODE,REF
+6 FOR LINE=1:1:500
SET TEXT=$PIECE($TEXT(DATA+LINE),";",2,999)
IF TEXT
QUIT
IF $LENGTH(TEXT)
Begin DoDot:1
+7 SET ^TMP("OCXDIAG",$JOB,$ORDER(^TMP("OCXDIAG",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
IF QUIT
QUIT
+8 ;
+9 GOTO ^OCXDI01L
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^BETWEEN
+3 ;;R^"863.9:",.02,"E"
+4 ;;D^DATE/TIME
+5 ;;R^"863.9:","863.92:1",.01,"E"
+6 ;;D^BETWEEN
+7 ;;R^"863.9:","863.92:2",.01,"E"
+8 ;;D^WITHIN
+9 ;;R^"863.9:","863.92:3",.01,"E"
+10 ;;D^DURING
+11 ;;EOR^
+12 ;;KEY^863.9:^EQ DATE
+13 ;;R^"863.9:",.01,"E"
+14 ;;D^EQ DATE
+15 ;;R^"863.9:",.02,"E"
+16 ;;D^DATE/TIME
+17 ;;R^"863.9:",.04,"E"
+18 ;;D^IS EQUAL TO
+19 ;;R^"863.9:","863.91:3",.01,"E"
+20 ;;D^OCXO GENERATE CODE FUNCTION
+21 ;;R^"863.9:","863.91:3",1,"E"
+22 ;;D^GCC DATE/TIME EQUALS
+23 ;;R^"863.9:","863.92:1",.01,"E"
+24 ;;D^EQUAL TO
+25 ;;R^"863.9:","863.92:2",.01,"E"
+26 ;;D^EQUALS
+27 ;;R^"863.9:","863.92:3",.01,"E"
+28 ;;D^ON
+29 ;;R^"863.9:","863.92:4",.01,"E"
+30 ;;D^=
+31 ;;EOR^
+32 ;;KEY^863.9:^CONTAINS
+33 ;;R^"863.9:",.01,"E"
+34 ;;D^CONTAINS
+35 ;;R^"863.9:",.02,"E"
+36 ;;D^FREE TEXT
+37 ;;R^"863.9:",.04,"E"
+38 ;;D^CONTAINS
+39 ;;R^"863.9:","863.91:2",.01,"E"
+40 ;;D^OCXO GENERATE CODE FUNCTION
+41 ;;R^"863.9:","863.91:2",1,"E"
+42 ;;D^GCC FREE TEXT CONTAINS
+43 ;;EOR^
+44 ;;KEY^863.9:^NULL
+45 ;;R^"863.9:",.01,"E"
+46 ;;D^NULL
+47 ;;R^"863.9:",.02,"E"
+48 ;;D^FREE TEXT
+49 ;;R^"863.9:","863.91:2",.01,"E"
+50 ;;D^OCXO NULL VALUE ALLOWED
+51 ;;R^"863.9:","863.91:2",1,"E"
+52 ;;D^1
+53 ;;EOR^
+54 ;;KEY^863.9:^EQ FREE TEXT
+55 ;;R^"863.9:",.01,"E"
+56 ;;D^EQ FREE TEXT
+57 ;;R^"863.9:",.02,"E"
+58 ;;D^FREE TEXT
+59 ;;R^"863.9:",.04,"E"
+60 ;;D^IS EQUAL TO
+61 ;;R^"863.9:","863.91:3",.01,"E"
+62 ;;D^OCXO GENERATE CODE FUNCTION
+63 ;;R^"863.9:","863.91:3",1,"E"
+64 ;;D^GCC FREE TEXT EQUALS
+65 ;;R^"863.9:","863.92:1",.01,"E"
+66 ;;D^EQUALS
+67 ;;EOR^
+68 ;;KEY^863.9:^GREATER THAN
+69 ;;R^"863.9:",.01,"E"
+70 ;;D^GREATER THAN
+71 ;;R^"863.9:",.02,"E"
+72 ;;D^NUMERIC
+73 ;;R^"863.9:",.04,"E"
+74 ;;D^IS GREATER THAN
+75 ;;R^"863.9:","863.91:3",.01,"E"
+76 ;;D^OCXO GENERATE CODE FUNCTION
+77 ;;R^"863.9:","863.91:3",1,"E"
+78 ;;D^GCC NUMERIC GREATER THAN
+79 ;;EOR^
+80 ;;KEY^863.9:^LESS THAN
+81 ;;R^"863.9:",.01,"E"
+82 ;;D^LESS THAN
+83 ;;R^"863.9:",.02,"E"
+84 ;;D^NUMERIC
+85 ;;R^"863.9:",.04,"E"
+86 ;;D^IS LESS THAN
+87 ;;R^"863.9:","863.91:3",.01,"E"
+88 ;;D^OCXO GENERATE CODE FUNCTION
+89 ;;R^"863.9:","863.91:3",1,"E"
+90 ;;D^GCC NUMERIC LESS THAN
+91 ;;EOR^
+92 ;;KEY^863.9:^EXISTS
+93 ;;R^"863.9:",.01,"E"
+94 ;;D^EXISTS
+95 ;;R^"863.9:",.02,"E"
+96 ;;D^POINTER TO A FILEMAN FILE
+97 ;;EOR^
+98 ;;KEY^863.9:^LOGICAL AND
+99 ;;R^"863.9:",.01,"E"
+100 ;;D^LOGICAL AND
+101 ;;R^"863.9:",.02,"E"
+102 ;;D^BOOLEAN
+103 ;;R^"863.9:",.03,"E"
+104 ;;D^GCC BOOLEAN LOGICAL AND
+105 ;;R^"863.9:",.04,"E"
+106 ;;D^AND
+107 ;;R^"863.9:","863.91:3",.01,"E"
+108 ;;D^OCXO GENERATE CODE FUNCTION
+109 ;;R^"863.9:","863.91:3",1,"E"
+110 ;;D^GCC BOOLEAN LOGICAL AND
+111 ;;R^"863.9:","863.92:1",.01,"E"
+112 ;;D^AND
+113 ;;EOR^
+114 ;;KEY^863.9:^LOGICAL OR
+115 ;;R^"863.9:",.01,"E"
+116 ;;D^LOGICAL OR
+117 ;;R^"863.9:",.02,"E"
+118 ;;D^BOOLEAN
+119 ;;R^"863.9:",.03,"E"
+120 ;;D^GCC BOOLEAN LOGICAL OR
+121 ;;R^"863.9:",.04,"E"
+122 ;;D^OR
+123 ;;R^"863.9:","863.91:3",.01,"E"
+124 ;;D^OCXO GENERATE CODE FUNCTION
+125 ;;R^"863.9:","863.91:3",1,"E"
+126 ;;D^GCC BOOLEAN LOGICAL OR
+127 ;;R^"863.9:","863.92:1",.01,"E"
+128 ;;D^OR
+129 ;;EOR^
+130 ;;KEY^863.9:^LOGICAL NOT
+131 ;;R^"863.9:",.01,"E"
+132 ;;D^LOGICAL NOT
+133 ;;R^"863.9:",.02,"E"
+134 ;;D^BOOLEAN
+135 ;;R^"863.9:",.03,"E"
+136 ;;D^GCC BOOLEAN LOGICAL NOT
+137 ;;R^"863.9:",.04,"E"
+138 ;;D^NOT
+139 ;;R^"863.9:","863.91:4",.01,"E"
+140 ;;D^OCXO GENERATE CODE FUNCTION
+141 ;;R^"863.9:","863.91:4",1,"E"
+142 ;;D^GCC BOOLEAN LOGICAL NOT
+143 ;;R^"863.9:","863.92:1",.01,"E"
+144 ;;D^NOT
+145 ;;EOR^
+146 ;;KEY^863.9:^STARTS WITH
+147 ;;R^"863.9:",.01,"E"
+148 ;;D^STARTS WITH
+149 ;;R^"863.9:",.02,"E"
+150 ;;D^FREE TEXT
+151 ;;R^"863.9:",.04,"E"
+152 ;;D^STARTS WITH
+153 ;;R^"863.9:","863.91:3",.01,"E"
+154 ;;D^OCXO GENERATE CODE FUNCTION
+155 ;;R^"863.9:","863.91:3",1,"E"
+156 ;;D^GCC FREE TEXT STARTS WITH
+157 ;;R^"863.9:","863.92:1",.01,"E"
+158 ;;D^BEGINS WITH
+159 ;;EOR^
+160 ;;KEY^863.9:^EQ NUMERIC
+161 ;;R^"863.9:",.01,"E"
+162 ;;D^EQ NUMERIC
+163 ;;R^"863.9:",.02,"E"
+164 ;;D^NUMERIC
+165 ;;R^"863.9:",.04,"E"
+166 ;;D^IS EQUAL TO
+167 ;;R^"863.9:","863.91:2",.01,"E"
+168 ;;D^OCXO GENERATE CODE FUNCTION
+169 ;;R^"863.9:","863.91:2",1,"E"
+170 ;;D^GCC NUMERIC EQUALS
+171 ;;R^"863.9:","863.92:1",.01,"E"
+172 ;;D^EQUALS
+173 ;;EOR^
+174 ;;KEY^863.9:^INCL BETWEEN NUMERIC
+175 ;;R^"863.9:",.01,"E"
+176 ;;D^INCL BETWEEN NUMERIC
+177 ;;R^"863.9:",.02,"E"
+178 ;;D^NUMERIC
+179 ;;R^"863.9:",.04,"E"
+180 ;;D^IS INCLUSIVELY BETWEEN
+181 ;;R^"863.9:","863.91:2",.01,"E"
+182 ;;D^OCXO GENERATE CODE FUNCTION
+183 ;;R^"863.9:","863.91:2",1,"E"
+184 ;;D^GCC NUMERIC INCLUSIVELY BETWEEN
+185 ;;EOR^
+186 ;;KEY^863.9:^EXCL BETWEEN NUMERIC
+187 ;;R^"863.9:",.01,"E"
+188 ;;D^EXCL BETWEEN NUMERIC
+189 ;;R^"863.9:",.02,"E"
+190 ;;D^NUMERIC
+191 ;;R^"863.9:",.04,"E"
+192 ;;D^IS EXCLUSIVELY BETWEEN
+193 ;;R^"863.9:","863.91:2",.01,"E"
+194 ;;D^OCXO GENERATE CODE FUNCTION
+195 ;;R^"863.9:","863.91:2",1,"E"
+196 ;;D^GCC NUMERIC EXCLUSIVELY BETWEEN
+197 ;;EOR^
+198 ;;KEY^863.9:^INCL BETWEEN DATE
+199 ;;R^"863.9:",.01,"E"
+200 ;;D^INCL BETWEEN DATE
+201 ;;R^"863.9:",.02,"E"
+202 ;;D^DATE/TIME
+203 ;;R^"863.9:",.04,"E"
+204 ;;D^IS INCLUSIVELY BETWEEN
+205 ;;R^"863.9:","863.91:2",.01,"E"
+206 ;;D^OCXO GENERATE CODE FUNCTION
+207 ;;R^"863.9:","863.91:2",1,"E"
+208 ;;D^GCC DATE/TIME INCLUSIVELY BETWEEN
+209 ;;EOR^
+210 ;;KEY^863.9:^EXCL BETWEEN DATE
+211 ;;R^"863.9:",.01,"E"
+212 ;;D^EXCL BETWEEN DATE
+213 ;;R^"863.9:",.02,"E"
+214 ;;D^DATE/TIME
+215 ;;R^"863.9:",.04,"E"
+216 ;;D^IS EXCLUSIVELY BETWEEN
+217 ;1;
+218 ;