OCXDI018 ;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 ^OCXDI019
;
Q
;
DATA ;
;
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Is the query repetative
;;EOR^
;;KEY^863.8:^LOOP QUERY
;;R^"863.8:",.01,"E"
;;D^LOOP QUERY
;;R^"863.8:",.02,"E"
;;D^LOOP QUERY
;;R^"863.8:",1,1
;;D^Alternate query used when repeated answers are required
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter loop query text
;;R^"863.8:","863.84:3",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:3",1,"E"
;;D^This is the query text for all entries after the first one
;;EOR^
;;KEY^863.8:^ERROR MESSAGE
;;R^"863.8:",.01,"E"
;;D^ERROR MESSAGE
;;R^"863.8:",.02,"E"
;;D^EMSG
;;R^"863.8:",1,1
;;D^Error message used by reader
;;R^"863.8:",2,"E"
;;D^Invalid entry
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^This message tells the user there has been an error.
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter error message
;;EOR^
;;KEY^863.8:^FM SCREEN CODE
;;R^"863.8:",.01,"E"
;;D^FM SCREEN CODE
;;R^"863.8:",.02,"E"
;;D^FMDICS
;;EOR^
;;KEY^863.8:^MULTI SELECT
;;R^"863.8:",.01,"E"
;;D^MULTI SELECT
;;R^"863.8:",.02,"E"
;;D^MSEL
;;R^"863.8:",1,1
;;D^
;;R^"863.8:",1,2
;;D^ This parameter names a variable that holds a list of elements.
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^OCXO FILE POINTER
;;R^"863.8:",.01,"E"
;;D^OCXO FILE POINTER
;;EOR^
;;KEY^863.8:^OCXO SEMI-COLON PIECE NUMBER
;;R^"863.8:",.01,"E"
;;D^OCXO SEMI-COLON PIECE NUMBER
;;EOR^
;;KEY^863.8:^OCXO EXTERNAL FUNCTION CALL
;;R^"863.8:",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;EOR^
;;EOF^OCXS(863.8)^1
;;SOF^864.1 OCX MDD DATATYPE
;;KEY^864.1:^NUMERIC
;;R^"864.1:",.01,"E"
;;D^NUMERIC
;;R^"864.1:",.02,"E"
;;D^NUMERIC
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^NU^OCXFDNU
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a number
;;R^"864.1:","864.11:3",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:3",1,"E"
;;D^Enter another number
;;R^"864.1:","864.11:4",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:4",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^SET OF CODES
;;R^"864.1:",.01,"E"
;;D^SET OF CODES
;;R^"864.1:",.02,"E"
;;D^CODES
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:10",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:10",1,"E"
;;D^Enter a code or a value from the list shown above. Partial codes/values are OK as long as they are unambiguous.
;;R^"864.1:","864.11:11",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:11",1,"E"
;;D^0
;;R^"864.1:","864.11:5",.01,"E"
;;D^FM MASK
;;R^"864.1:","864.11:6",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:6",1,"E"
;;D^SC^OCXFDSC
;;R^"864.1:","864.11:8",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^Select a code from the list
;;R^"864.1:","864.11:9",.01,"E"
;;D^PROMPT
;;R^"864.1:","864.11:9",1,"E"
;;D^Your choice
;;EOR^
;;KEY^864.1:^FREE TEXT
;;R^"864.1:",.01,"E"
;;D^FREE TEXT
;;R^"864.1:",.02,"E"
;;D^FT
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^FT^OCXFDFT
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a free text string
;;R^"864.1:","864.11:3",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"864.1:","864.11:3",1,"E"
;;D^240
;;R^"864.1:","864.11:4",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:4",1,"E"
;;D^Enter a free text string. Do not use control characters. |FTMM HELP|
;;R^"864.1:","864.11:5",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:5",1,"E"
;;D^Enter another free text string
;;R^"864.1:","864.11:6",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:6",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^WORD-PROCESSING
;;R^"864.1:",.01,"E"
;;D^WORD-PROCESSING
;;EOR^
;;KEY^864.1:^COMPUTED
;;R^"864.1:",.01,"E"
;;D^COMPUTED
;;EOR^
;;KEY^864.1:^POINTER TO A FILEMAN FILE
;;R^"864.1:",.01,"E"
;;D^POINTER TO A FILEMAN FILE
;;R^"864.1:",.02,"E"
;;D^POINTER
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter the name of a record in the file
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^Select the name of a specific entry in the file. Type '??' to view possible choices.
;;R^"864.1:","864.11:3",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:3",1,"E"
;;D^PT^OCXFDPT
;;R^"864.1:","864.11:4",.01,"E"
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI018 5439 printed Dec 13, 2024@02:23:14 Page 2
OCXDI018 ;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 ^OCXDI019
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:","863.84:3",.01,"E"
+3 ;;D^QUERY
+4 ;;R^"863.8:","863.84:3",1,"E"
+5 ;;D^Is the query repetative
+6 ;;EOR^
+7 ;;KEY^863.8:^LOOP QUERY
+8 ;;R^"863.8:",.01,"E"
+9 ;;D^LOOP QUERY
+10 ;;R^"863.8:",.02,"E"
+11 ;;D^LOOP QUERY
+12 ;;R^"863.8:",1,1
+13 ;;D^Alternate query used when repeated answers are required
+14 ;;R^"863.8:","863.84:1",.01,"E"
+15 ;;D^DATA TYPE
+16 ;;R^"863.8:","863.84:1",1,"E"
+17 ;;D^FREE TEXT
+18 ;;R^"863.8:","863.84:2",.01,"E"
+19 ;;D^QUERY
+20 ;;R^"863.8:","863.84:2",1,"E"
+21 ;;D^Enter loop query text
+22 ;;R^"863.8:","863.84:3",.01,"E"
+23 ;;D^HELP MESSAGE
+24 ;;R^"863.8:","863.84:3",1,"E"
+25 ;;D^This is the query text for all entries after the first one
+26 ;;EOR^
+27 ;;KEY^863.8:^ERROR MESSAGE
+28 ;;R^"863.8:",.01,"E"
+29 ;;D^ERROR MESSAGE
+30 ;;R^"863.8:",.02,"E"
+31 ;;D^EMSG
+32 ;;R^"863.8:",1,1
+33 ;;D^Error message used by reader
+34 ;;R^"863.8:",2,"E"
+35 ;;D^Invalid entry
+36 ;;R^"863.8:","863.84:1",.01,"E"
+37 ;;D^DATA TYPE
+38 ;;R^"863.8:","863.84:1",1,"E"
+39 ;;D^FREE TEXT
+40 ;;R^"863.8:","863.84:2",.01,"E"
+41 ;;D^HELP MESSAGE
+42 ;;R^"863.8:","863.84:2",1,"E"
+43 ;;D^This message tells the user there has been an error.
+44 ;;R^"863.8:","863.84:3",.01,"E"
+45 ;;D^QUERY
+46 ;;R^"863.8:","863.84:3",1,"E"
+47 ;;D^Enter error message
+48 ;;EOR^
+49 ;;KEY^863.8:^FM SCREEN CODE
+50 ;;R^"863.8:",.01,"E"
+51 ;;D^FM SCREEN CODE
+52 ;;R^"863.8:",.02,"E"
+53 ;;D^FMDICS
+54 ;;EOR^
+55 ;;KEY^863.8:^MULTI SELECT
+56 ;;R^"863.8:",.01,"E"
+57 ;;D^MULTI SELECT
+58 ;;R^"863.8:",.02,"E"
+59 ;;D^MSEL
+60 ;;R^"863.8:",1,1
+61 ;;D^
+62 ;;R^"863.8:",1,2
+63 ;;D^ This parameter names a variable that holds a list of elements.
+64 ;;R^"863.8:","863.84:1",.01,"E"
+65 ;;D^DATA TYPE
+66 ;;R^"863.8:","863.84:1",1,"E"
+67 ;;D^FREE TEXT
+68 ;;EOR^
+69 ;;KEY^863.8:^OCXO FILE POINTER
+70 ;;R^"863.8:",.01,"E"
+71 ;;D^OCXO FILE POINTER
+72 ;;EOR^
+73 ;;KEY^863.8:^OCXO SEMI-COLON PIECE NUMBER
+74 ;;R^"863.8:",.01,"E"
+75 ;;D^OCXO SEMI-COLON PIECE NUMBER
+76 ;;EOR^
+77 ;;KEY^863.8:^OCXO EXTERNAL FUNCTION CALL
+78 ;;R^"863.8:",.01,"E"
+79 ;;D^OCXO EXTERNAL FUNCTION CALL
+80 ;;EOR^
+81 ;;EOF^OCXS(863.8)^1
+82 ;;SOF^864.1 OCX MDD DATATYPE
+83 ;;KEY^864.1:^NUMERIC
+84 ;;R^"864.1:",.01,"E"
+85 ;;D^NUMERIC
+86 ;;R^"864.1:",.02,"E"
+87 ;;D^NUMERIC
+88 ;;R^"864.1:",2,"E"
+89 ;;D^GENERIC
+90 ;;R^"864.1:","864.11:1",.01,"E"
+91 ;;D^VALUE CALL
+92 ;;R^"864.1:","864.11:1",1,"E"
+93 ;;D^NU^OCXFDNU
+94 ;;R^"864.1:","864.11:2",.01,"E"
+95 ;;D^QUERY
+96 ;;R^"864.1:","864.11:2",1,"E"
+97 ;;D^Enter a number
+98 ;;R^"864.1:","864.11:3",.01,"E"
+99 ;;D^LOOP QUERY
+100 ;;R^"864.1:","864.11:3",1,"E"
+101 ;;D^Enter another number
+102 ;;R^"864.1:","864.11:4",.01,"E"
+103 ;;D^REPEAT THE QUERY
+104 ;;R^"864.1:","864.11:4",1,"E"
+105 ;;D^0
+106 ;;EOR^
+107 ;;KEY^864.1:^SET OF CODES
+108 ;;R^"864.1:",.01,"E"
+109 ;;D^SET OF CODES
+110 ;;R^"864.1:",.02,"E"
+111 ;;D^CODES
+112 ;;R^"864.1:",2,"E"
+113 ;;D^GENERIC
+114 ;;R^"864.1:","864.11:10",.01,"E"
+115 ;;D^HELP MESSAGE
+116 ;;R^"864.1:","864.11:10",1,"E"
+117 ;;D^Enter a code or a value from the list shown above. Partial codes/values are OK as long as they are unambiguous.
+118 ;;R^"864.1:","864.11:11",.01,"E"
+119 ;;D^REPEAT THE QUERY
+120 ;;R^"864.1:","864.11:11",1,"E"
+121 ;;D^0
+122 ;;R^"864.1:","864.11:5",.01,"E"
+123 ;;D^FM MASK
+124 ;;R^"864.1:","864.11:6",.01,"E"
+125 ;;D^VALUE CALL
+126 ;;R^"864.1:","864.11:6",1,"E"
+127 ;;D^SC^OCXFDSC
+128 ;;R^"864.1:","864.11:8",.01,"E"
+129 ;;D^QUERY
+130 ;;R^"864.1:","864.11:8",1,"E"
+131 ;;D^Select a code from the list
+132 ;;R^"864.1:","864.11:9",.01,"E"
+133 ;;D^PROMPT
+134 ;;R^"864.1:","864.11:9",1,"E"
+135 ;;D^Your choice
+136 ;;EOR^
+137 ;;KEY^864.1:^FREE TEXT
+138 ;;R^"864.1:",.01,"E"
+139 ;;D^FREE TEXT
+140 ;;R^"864.1:",.02,"E"
+141 ;;D^FT
+142 ;;R^"864.1:",2,"E"
+143 ;;D^GENERIC
+144 ;;R^"864.1:","864.11:1",.01,"E"
+145 ;;D^VALUE CALL
+146 ;;R^"864.1:","864.11:1",1,"E"
+147 ;;D^FT^OCXFDFT
+148 ;;R^"864.1:","864.11:2",.01,"E"
+149 ;;D^QUERY
+150 ;;R^"864.1:","864.11:2",1,"E"
+151 ;;D^Enter a free text string
+152 ;;R^"864.1:","864.11:3",.01,"E"
+153 ;;D^FREE TEXT MAXIMUM LENGTH
+154 ;;R^"864.1:","864.11:3",1,"E"
+155 ;;D^240
+156 ;;R^"864.1:","864.11:4",.01,"E"
+157 ;;D^HELP MESSAGE
+158 ;;R^"864.1:","864.11:4",1,"E"
+159 ;;D^Enter a free text string. Do not use control characters. |FTMM HELP|
+160 ;;R^"864.1:","864.11:5",.01,"E"
+161 ;;D^LOOP QUERY
+162 ;;R^"864.1:","864.11:5",1,"E"
+163 ;;D^Enter another free text string
+164 ;;R^"864.1:","864.11:6",.01,"E"
+165 ;;D^REPEAT THE QUERY
+166 ;;R^"864.1:","864.11:6",1,"E"
+167 ;;D^0
+168 ;;EOR^
+169 ;;KEY^864.1:^WORD-PROCESSING
+170 ;;R^"864.1:",.01,"E"
+171 ;;D^WORD-PROCESSING
+172 ;;EOR^
+173 ;;KEY^864.1:^COMPUTED
+174 ;;R^"864.1:",.01,"E"
+175 ;;D^COMPUTED
+176 ;;EOR^
+177 ;;KEY^864.1:^POINTER TO A FILEMAN FILE
+178 ;;R^"864.1:",.01,"E"
+179 ;;D^POINTER TO A FILEMAN FILE
+180 ;;R^"864.1:",.02,"E"
+181 ;;D^POINTER
+182 ;;R^"864.1:",2,"E"
+183 ;;D^GENERIC
+184 ;;R^"864.1:","864.11:1",.01,"E"
+185 ;;D^QUERY
+186 ;;R^"864.1:","864.11:1",1,"E"
+187 ;;D^Enter the name of a record in the file
+188 ;;R^"864.1:","864.11:2",.01,"E"
+189 ;;D^HELP MESSAGE
+190 ;;R^"864.1:","864.11:2",1,"E"
+191 ;;D^Select the name of a specific entry in the file. Type '??' to view possible choices.
+192 ;;R^"864.1:","864.11:3",.01,"E"
+193 ;;D^VALUE CALL
+194 ;;R^"864.1:","864.11:3",1,"E"
+195 ;;D^PT^OCXFDPT
+196 ;;R^"864.1:","864.11:4",.01,"E"
+197 ;1;
+198 ;