OCXDI01N ;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 ^OCXDI01O
;
Q
;
DATA ;
;
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT LENGTH IS GREATER THAN
;;EOR^
;;KEY^863.9:^FREE TEXT LENGTH INC. BETWEEN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT LENGTH INC. BETWEEN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT LENGTH IS INCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^LENGTH IS INCLUSIVELY BETWEEN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT LENGTH IS INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^FREE TEXT LENGTH LESS THAN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT LENGTH LESS THAN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT LENGTH IS LESS THAN
;;R^"863.9:",.04,"E"
;;D^LENGTH IS LESS THAN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT LENGTH IS LESS THAN
;;EOR^
;;KEY^863.9:^FREE TEXT MATCHES PATTERN
;;R^"863.9:",.01,"E"
;;D^FREE TEXT MATCHES PATTERN
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT MATCHES PATTERN
;;R^"863.9:",.04,"E"
;;D^MATCHES THE PATTERN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT MATCHES PATTERN
;;EOR^
;;KEY^863.9:^FREE TEXT NULL
;;R^"863.9:",.01,"E"
;;D^FREE TEXT NULL
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO NULL VALUE ALLOWED
;;R^"863.9:","863.91:1",1,"E"
;;D^1
;;EOR^
;;KEY^863.9:^FREE TEXT PRECEDES
;;R^"863.9:",.01,"E"
;;D^FREE TEXT PRECEDES
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT PRECEDES ALPHABETICALLY
;;R^"863.9:",.04,"E"
;;D^PRECEDS ALPHABETICALLY
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT PRECEDES ALPHABETICALLY
;;EOR^
;;KEY^863.9:^FREE TEXT STARTS WITH
;;R^"863.9:",.01,"E"
;;D^FREE TEXT STARTS WITH
;;R^"863.9:",.02,"E"
;;D^FREE TEXT
;;R^"863.9:",.03,"E"
;;D^GCC FREE TEXT STARTS WITH
;;R^"863.9:",.04,"E"
;;D^STARTS WITH
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC FREE TEXT STARTS WITH
;;R^"863.9:","863.92:1",.01,"E"
;;D^BEGINS WITH
;;EOR^
;;KEY^863.9:^NUMERIC EQUALS
;;R^"863.9:",.01,"E"
;;D^NUMERIC EQUALS
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.03,"E"
;;D^GCC NUMERIC EQUALS
;;R^"863.9:",.04,"E"
;;D^IS EQUAL TO
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC NUMERIC EQUALS
;;EOR^
;;KEY^863.9:^NUMERIC EXCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^NUMERIC EXCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.03,"E"
;;D^GCC NUMERIC EXCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^IS EXCLUSIVELY BETWEEN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC NUMERIC EXCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^NUMERIC GREATER THAN
;;R^"863.9:",.01,"E"
;;D^NUMERIC GREATER THAN
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.03,"E"
;;D^GCC NUMERIC GREATER THAN
;;R^"863.9:",.04,"E"
;;D^IS GREATER THAN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC NUMERIC GREATER THAN
;;EOR^
;;KEY^863.9:^NUMERIC INCLUSIVELY BETWEEN
;;R^"863.9:",.01,"E"
;;D^NUMERIC INCLUSIVELY BETWEEN
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.03,"E"
;;D^GCC NUMERIC INCLUSIVELY BETWEEN
;;R^"863.9:",.04,"E"
;;D^IS INCLUSIVELY BETWEEN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC NUMERIC INCLUSIVELY BETWEEN
;;EOR^
;;KEY^863.9:^NUMERIC LESS THAN
;;R^"863.9:",.01,"E"
;;D^NUMERIC LESS THAN
;;R^"863.9:",.02,"E"
;;D^NUMERIC
;;R^"863.9:",.03,"E"
;;D^GCC NUMERIC LESS THAN
;;R^"863.9:",.04,"E"
;;D^IS LESS THAN
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC NUMERIC LESS THAN
;;EOR^
;;KEY^863.9:^POINTER EXISTS
;;R^"863.9:",.01,"E"
;;D^POINTER EXISTS
;;R^"863.9:",.02,"E"
;;D^POINTER TO A FILEMAN FILE
;;EOR^
;;KEY^863.9:^TRUE
;;R^"863.9:",.01,"E"
;;D^TRUE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.9:^LOGICAL TRUE
;;R^"863.9:",.01,"E"
;;D^LOGICAL TRUE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.9:",.04,"E"
;;D^IS TRUE
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.9:","863.92:1",.01,"E"
;;D^TRUE
;;EOR^
;;KEY^863.9:^LOGICAL FALSE
;;R^"863.9:",.01,"E"
;;D^LOGICAL FALSE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL FALSE
;1;
;
OCXDI01N ;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 ^OCXDI01O
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.9:","863.91:1",1,"E"
+3 ;;D^GCC FREE TEXT LENGTH IS GREATER THAN
+4 ;;EOR^
+5 ;;KEY^863.9:^FREE TEXT LENGTH INC. BETWEEN
+6 ;;R^"863.9:",.01,"E"
+7 ;;D^FREE TEXT LENGTH INC. BETWEEN
+8 ;;R^"863.9:",.02,"E"
+9 ;;D^FREE TEXT
+10 ;;R^"863.9:",.03,"E"
+11 ;;D^GCC FREE TEXT LENGTH IS INCLUSIVELY BETWEEN
+12 ;;R^"863.9:",.04,"E"
+13 ;;D^LENGTH IS INCLUSIVELY BETWEEN
+14 ;;R^"863.9:","863.91:1",.01,"E"
+15 ;;D^OCXO GENERATE CODE FUNCTION
+16 ;;R^"863.9:","863.91:1",1,"E"
+17 ;;D^GCC FREE TEXT LENGTH IS INCLUSIVELY BETWEEN
+18 ;;EOR^
+19 ;;KEY^863.9:^FREE TEXT LENGTH LESS THAN
+20 ;;R^"863.9:",.01,"E"
+21 ;;D^FREE TEXT LENGTH LESS THAN
+22 ;;R^"863.9:",.02,"E"
+23 ;;D^FREE TEXT
+24 ;;R^"863.9:",.03,"E"
+25 ;;D^GCC FREE TEXT LENGTH IS LESS THAN
+26 ;;R^"863.9:",.04,"E"
+27 ;;D^LENGTH IS LESS THAN
+28 ;;R^"863.9:","863.91:1",.01,"E"
+29 ;;D^OCXO GENERATE CODE FUNCTION
+30 ;;R^"863.9:","863.91:1",1,"E"
+31 ;;D^GCC FREE TEXT LENGTH IS LESS THAN
+32 ;;EOR^
+33 ;;KEY^863.9:^FREE TEXT MATCHES PATTERN
+34 ;;R^"863.9:",.01,"E"
+35 ;;D^FREE TEXT MATCHES PATTERN
+36 ;;R^"863.9:",.02,"E"
+37 ;;D^FREE TEXT
+38 ;;R^"863.9:",.03,"E"
+39 ;;D^GCC FREE TEXT MATCHES PATTERN
+40 ;;R^"863.9:",.04,"E"
+41 ;;D^MATCHES THE PATTERN
+42 ;;R^"863.9:","863.91:1",.01,"E"
+43 ;;D^OCXO GENERATE CODE FUNCTION
+44 ;;R^"863.9:","863.91:1",1,"E"
+45 ;;D^GCC FREE TEXT MATCHES PATTERN
+46 ;;EOR^
+47 ;;KEY^863.9:^FREE TEXT NULL
+48 ;;R^"863.9:",.01,"E"
+49 ;;D^FREE TEXT NULL
+50 ;;R^"863.9:",.02,"E"
+51 ;;D^FREE TEXT
+52 ;;R^"863.9:","863.91:1",.01,"E"
+53 ;;D^OCXO NULL VALUE ALLOWED
+54 ;;R^"863.9:","863.91:1",1,"E"
+55 ;;D^1
+56 ;;EOR^
+57 ;;KEY^863.9:^FREE TEXT PRECEDES
+58 ;;R^"863.9:",.01,"E"
+59 ;;D^FREE TEXT PRECEDES
+60 ;;R^"863.9:",.02,"E"
+61 ;;D^FREE TEXT
+62 ;;R^"863.9:",.03,"E"
+63 ;;D^GCC FREE TEXT PRECEDES ALPHABETICALLY
+64 ;;R^"863.9:",.04,"E"
+65 ;;D^PRECEDS ALPHABETICALLY
+66 ;;R^"863.9:","863.91:1",.01,"E"
+67 ;;D^OCXO GENERATE CODE FUNCTION
+68 ;;R^"863.9:","863.91:1",1,"E"
+69 ;;D^GCC FREE TEXT PRECEDES ALPHABETICALLY
+70 ;;EOR^
+71 ;;KEY^863.9:^FREE TEXT STARTS WITH
+72 ;;R^"863.9:",.01,"E"
+73 ;;D^FREE TEXT STARTS WITH
+74 ;;R^"863.9:",.02,"E"
+75 ;;D^FREE TEXT
+76 ;;R^"863.9:",.03,"E"
+77 ;;D^GCC FREE TEXT STARTS WITH
+78 ;;R^"863.9:",.04,"E"
+79 ;;D^STARTS WITH
+80 ;;R^"863.9:","863.91:1",.01,"E"
+81 ;;D^OCXO GENERATE CODE FUNCTION
+82 ;;R^"863.9:","863.91:1",1,"E"
+83 ;;D^GCC FREE TEXT STARTS WITH
+84 ;;R^"863.9:","863.92:1",.01,"E"
+85 ;;D^BEGINS WITH
+86 ;;EOR^
+87 ;;KEY^863.9:^NUMERIC EQUALS
+88 ;;R^"863.9:",.01,"E"
+89 ;;D^NUMERIC EQUALS
+90 ;;R^"863.9:",.02,"E"
+91 ;;D^NUMERIC
+92 ;;R^"863.9:",.03,"E"
+93 ;;D^GCC NUMERIC EQUALS
+94 ;;R^"863.9:",.04,"E"
+95 ;;D^IS EQUAL TO
+96 ;;R^"863.9:","863.91:1",.01,"E"
+97 ;;D^OCXO GENERATE CODE FUNCTION
+98 ;;R^"863.9:","863.91:1",1,"E"
+99 ;;D^GCC NUMERIC EQUALS
+100 ;;EOR^
+101 ;;KEY^863.9:^NUMERIC EXCLUSIVELY BETWEEN
+102 ;;R^"863.9:",.01,"E"
+103 ;;D^NUMERIC EXCLUSIVELY BETWEEN
+104 ;;R^"863.9:",.02,"E"
+105 ;;D^NUMERIC
+106 ;;R^"863.9:",.03,"E"
+107 ;;D^GCC NUMERIC EXCLUSIVELY BETWEEN
+108 ;;R^"863.9:",.04,"E"
+109 ;;D^IS EXCLUSIVELY BETWEEN
+110 ;;R^"863.9:","863.91:1",.01,"E"
+111 ;;D^OCXO GENERATE CODE FUNCTION
+112 ;;R^"863.9:","863.91:1",1,"E"
+113 ;;D^GCC NUMERIC EXCLUSIVELY BETWEEN
+114 ;;EOR^
+115 ;;KEY^863.9:^NUMERIC GREATER THAN
+116 ;;R^"863.9:",.01,"E"
+117 ;;D^NUMERIC GREATER THAN
+118 ;;R^"863.9:",.02,"E"
+119 ;;D^NUMERIC
+120 ;;R^"863.9:",.03,"E"
+121 ;;D^GCC NUMERIC GREATER THAN
+122 ;;R^"863.9:",.04,"E"
+123 ;;D^IS GREATER THAN
+124 ;;R^"863.9:","863.91:1",.01,"E"
+125 ;;D^OCXO GENERATE CODE FUNCTION
+126 ;;R^"863.9:","863.91:1",1,"E"
+127 ;;D^GCC NUMERIC GREATER THAN
+128 ;;EOR^
+129 ;;KEY^863.9:^NUMERIC INCLUSIVELY BETWEEN
+130 ;;R^"863.9:",.01,"E"
+131 ;;D^NUMERIC INCLUSIVELY BETWEEN
+132 ;;R^"863.9:",.02,"E"
+133 ;;D^NUMERIC
+134 ;;R^"863.9:",.03,"E"
+135 ;;D^GCC NUMERIC INCLUSIVELY BETWEEN
+136 ;;R^"863.9:",.04,"E"
+137 ;;D^IS INCLUSIVELY BETWEEN
+138 ;;R^"863.9:","863.91:1",.01,"E"
+139 ;;D^OCXO GENERATE CODE FUNCTION
+140 ;;R^"863.9:","863.91:1",1,"E"
+141 ;;D^GCC NUMERIC INCLUSIVELY BETWEEN
+142 ;;EOR^
+143 ;;KEY^863.9:^NUMERIC LESS THAN
+144 ;;R^"863.9:",.01,"E"
+145 ;;D^NUMERIC LESS THAN
+146 ;;R^"863.9:",.02,"E"
+147 ;;D^NUMERIC
+148 ;;R^"863.9:",.03,"E"
+149 ;;D^GCC NUMERIC LESS THAN
+150 ;;R^"863.9:",.04,"E"
+151 ;;D^IS LESS THAN
+152 ;;R^"863.9:","863.91:1",.01,"E"
+153 ;;D^OCXO GENERATE CODE FUNCTION
+154 ;;R^"863.9:","863.91:1",1,"E"
+155 ;;D^GCC NUMERIC LESS THAN
+156 ;;EOR^
+157 ;;KEY^863.9:^POINTER EXISTS
+158 ;;R^"863.9:",.01,"E"
+159 ;;D^POINTER EXISTS
+160 ;;R^"863.9:",.02,"E"
+161 ;;D^POINTER TO A FILEMAN FILE
+162 ;;EOR^
+163 ;;KEY^863.9:^TRUE
+164 ;;R^"863.9:",.01,"E"
+165 ;;D^TRUE
+166 ;;R^"863.9:",.02,"E"
+167 ;;D^BOOLEAN
+168 ;;EOR^
+169 ;;KEY^863.9:^LOGICAL TRUE
+170 ;;R^"863.9:",.01,"E"
+171 ;;D^LOGICAL TRUE
+172 ;;R^"863.9:",.02,"E"
+173 ;;D^BOOLEAN
+174 ;;R^"863.9:",.03,"E"
+175 ;;D^GCC BOOLEAN LOGICAL TRUE
+176 ;;R^"863.9:",.04,"E"
+177 ;;D^IS TRUE
+178 ;;R^"863.9:","863.91:1",.01,"E"
+179 ;;D^OCXO GENERATE CODE FUNCTION
+180 ;;R^"863.9:","863.91:1",1,"E"
+181 ;;D^GCC BOOLEAN LOGICAL TRUE
+182 ;;R^"863.9:","863.92:1",.01,"E"
+183 ;;D^TRUE
+184 ;;EOR^
+185 ;;KEY^863.9:^LOGICAL FALSE
+186 ;;R^"863.9:",.01,"E"
+187 ;;D^LOGICAL FALSE
+188 ;;R^"863.9:",.02,"E"
+189 ;;D^BOOLEAN
+190 ;;R^"863.9:",.03,"E"
+191 ;;D^GCC BOOLEAN LOGICAL FALSE
+192 ;1;
+193 ;