OCXDI010 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:29
;;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 ^OCXDI011
;
Q
;
DATA ;
;
;;R^"863.8:",1,2
;;D^or current year "".
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Default time frame
;;R^"863.8:","863.84:8",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:8",1,"E"
;;D^P:PAST;F:FUTURE
;;R^"863.8:","863.84:9",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:9",1,"E"
;;D^SET OF CODES
;;EOR^
;;KEY^863.8:^ERROR MESSAGE VARIABLE
;;R^"863.8:",.01,"E"
;;D^ERROR MESSAGE VARIABLE
;;R^"863.8:",.02,"E"
;;D^MSG VAR
;;R^"863.8:",1,1
;;D^A local or global variable (closed root format) which contains an error message array.
;;R^"863.8:",2,"E"
;;D^Y("ERROR")
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter the closed root ot the message array
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^CLOSED REFERENCE
;;EOR^
;;KEY^863.8:^FILE
;;R^"863.8:",.01,"E"
;;D^FILE
;;R^"863.8:",.02,"E"
;;D^FILE
;;R^"863.8:",1,1
;;D^The internal entry number of a file.
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^File
;;R^"863.8:","863.84:7",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:7",1,"E"
;;D^POINTER TO A FILEMAN FILE
;;R^"863.8:","863.84:8",.01,"E"
;;D^DIC
;;R^"863.8:","863.84:8",1,"E"
;;D^1
;;EOR^
;;KEY^863.8:^INTERNAL ENTRY NUMBER STRING
;;R^"863.8:",.01,"E"
;;D^INTERNAL ENTRY NUMBER STRING
;;R^"863.8:",.02,"E"
;;D^IENS
;;R^"863.8:",1,1
;;D^Internal entry number string must follow FileMan database server
;;R^"863.8:",1,2
;;D^conventions; i.e., a string of IENs starting with a ',' and using
;;R^"863.8:",1,3
;;D^',' as delimiters. Must end with a comma; e.g., ',67,'
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter EINS string
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^DR STRING
;;R^"863.8:",.01,"E"
;;D^DR STRING
;;R^"863.8:",.02,"E"
;;D^DR STRING
;;R^"863.8:",1,1
;;D^A string of field numbers following the convention of ^DIE's 'DR' string.
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter a DR string
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:6",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:6",1,"E"
;;D^Enter a valid DR string to be passed to DIE
;;EOR^
;;KEY^863.8:^INDEX
;;R^"863.8:",.01,"E"
;;D^INDEX
;;R^"863.8:",.02,"E"
;;D^INDEX
;;R^"863.8:",1,1
;;D^The name of a FileMan index; e.g., 'B'
;;R^"863.8:",2,"E"
;;D^B
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Name of index
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:6",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:6",1,"E"
;;D^8
;;EOR^
;;KEY^863.8:^FLI FLAGS
;;R^"863.8:",.01,"E"
;;D^FLI FLAGS
;;R^"863.8:",.02,"E"
;;D^FLI FLAGS
;;R^"863.8:",1,1
;;D^B=TRAVERSE BACKWARDS,I=RETURN INTERNAL FORMAT
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Lister flags (B,I)
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^FLI NUMBER OF ENTRIES
;;R^"863.8:",.01,"E"
;;D^FLI NUMBER OF ENTRIES
;;R^"863.8:",.02,"E"
;;D^FLI NUMBER
;;R^"863.8:",1,1
;;D^Number of entries to return
;;R^"863.8:",2,"E"
;;D^20
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Number of entries to return
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^POSITIVE INTEGER
;;EOR^
;;KEY^863.8:^FLI FROM
;;R^"863.8:",.01,"E"
;;D^FLI FROM
;;R^"863.8:",.02,"E"
;;D^FLI FROM
;;R^"863.8:",1,1
;;D^Index entry from which to begin the list
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Start list after
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^FLI RESTRICT MATCH
;;R^"863.8:",.01,"E"
;;D^FLI RESTRICT MATCH
;;R^"863.8:",.02,"E"
;;D^FLI PART
;;R^"863.8:",1,1
;;D^Partial match restriction (to index value, not the external value)
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Return internal values which start with
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^FLI IDENTIFIER
;;R^"863.8:",.01,"E"
;;D^FLI IDENTIFIER
;;R^"863.8:",.02,"E"
;;D^FLI ID
;;R^"863.8:",1,1
;;D^Text to accompany each member of the returned list. M code that calls
;;R^"863.8:",1,2
;;D^EN^DDIOL. ID text follows FM identifier. M code should not issue any
;;R^"863.8:",1,3
;;D^read or write commands.
;1;
;
OCXDI010 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:29
+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 ^OCXDI011
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:",1,2
+3 ;;D^or current year "".
+4 ;;R^"863.8:","863.84:6",.01,"E"
+5 ;;D^QUERY
+6 ;;R^"863.8:","863.84:6",1,"E"
+7 ;;D^Default time frame
+8 ;;R^"863.8:","863.84:8",.01,"E"
+9 ;;D^SET CODES
+10 ;;R^"863.8:","863.84:8",1,"E"
+11 ;;D^P:PAST;F:FUTURE
+12 ;;R^"863.8:","863.84:9",.01,"E"
+13 ;;D^DATA TYPE
+14 ;;R^"863.8:","863.84:9",1,"E"
+15 ;;D^SET OF CODES
+16 ;;EOR^
+17 ;;KEY^863.8:^ERROR MESSAGE VARIABLE
+18 ;;R^"863.8:",.01,"E"
+19 ;;D^ERROR MESSAGE VARIABLE
+20 ;;R^"863.8:",.02,"E"
+21 ;;D^MSG VAR
+22 ;;R^"863.8:",1,1
+23 ;;D^A local or global variable (closed root format) which contains an error message array.
+24 ;;R^"863.8:",2,"E"
+25 ;;D^Y("ERROR")
+26 ;;R^"863.8:","863.84:3",.01,"E"
+27 ;;D^QUERY
+28 ;;R^"863.8:","863.84:3",1,"E"
+29 ;;D^Enter the closed root ot the message array
+30 ;;R^"863.8:","863.84:4",.01,"E"
+31 ;;D^DATA TYPE
+32 ;;R^"863.8:","863.84:4",1,"E"
+33 ;;D^CLOSED REFERENCE
+34 ;;EOR^
+35 ;;KEY^863.8:^FILE
+36 ;;R^"863.8:",.01,"E"
+37 ;;D^FILE
+38 ;;R^"863.8:",.02,"E"
+39 ;;D^FILE
+40 ;;R^"863.8:",1,1
+41 ;;D^The internal entry number of a file.
+42 ;;R^"863.8:","863.84:6",.01,"E"
+43 ;;D^QUERY
+44 ;;R^"863.8:","863.84:6",1,"E"
+45 ;;D^File
+46 ;;R^"863.8:","863.84:7",.01,"E"
+47 ;;D^DATA TYPE
+48 ;;R^"863.8:","863.84:7",1,"E"
+49 ;;D^POINTER TO A FILEMAN FILE
+50 ;;R^"863.8:","863.84:8",.01,"E"
+51 ;;D^DIC
+52 ;;R^"863.8:","863.84:8",1,"E"
+53 ;;D^1
+54 ;;EOR^
+55 ;;KEY^863.8:^INTERNAL ENTRY NUMBER STRING
+56 ;;R^"863.8:",.01,"E"
+57 ;;D^INTERNAL ENTRY NUMBER STRING
+58 ;;R^"863.8:",.02,"E"
+59 ;;D^IENS
+60 ;;R^"863.8:",1,1
+61 ;;D^Internal entry number string must follow FileMan database server
+62 ;;R^"863.8:",1,2
+63 ;;D^conventions; i.e., a string of IENs starting with a ',' and using
+64 ;;R^"863.8:",1,3
+65 ;;D^',' as delimiters. Must end with a comma; e.g., ',67,'
+66 ;;R^"863.8:","863.84:4",.01,"E"
+67 ;;D^QUERY
+68 ;;R^"863.8:","863.84:4",1,"E"
+69 ;;D^Enter EINS string
+70 ;;R^"863.8:","863.84:5",.01,"E"
+71 ;;D^DATA TYPE
+72 ;;R^"863.8:","863.84:5",1,"E"
+73 ;;D^FREE TEXT
+74 ;;EOR^
+75 ;;KEY^863.8:^DR STRING
+76 ;;R^"863.8:",.01,"E"
+77 ;;D^DR STRING
+78 ;;R^"863.8:",.02,"E"
+79 ;;D^DR STRING
+80 ;;R^"863.8:",1,1
+81 ;;D^A string of field numbers following the convention of ^DIE's 'DR' string.
+82 ;;R^"863.8:","863.84:4",.01,"E"
+83 ;;D^QUERY
+84 ;;R^"863.8:","863.84:4",1,"E"
+85 ;;D^Enter a DR string
+86 ;;R^"863.8:","863.84:5",.01,"E"
+87 ;;D^DATA TYPE
+88 ;;R^"863.8:","863.84:5",1,"E"
+89 ;;D^FREE TEXT
+90 ;;R^"863.8:","863.84:6",.01,"E"
+91 ;;D^HELP MESSAGE
+92 ;;R^"863.8:","863.84:6",1,"E"
+93 ;;D^Enter a valid DR string to be passed to DIE
+94 ;;EOR^
+95 ;;KEY^863.8:^INDEX
+96 ;;R^"863.8:",.01,"E"
+97 ;;D^INDEX
+98 ;;R^"863.8:",.02,"E"
+99 ;;D^INDEX
+100 ;;R^"863.8:",1,1
+101 ;;D^The name of a FileMan index; e.g., 'B'
+102 ;;R^"863.8:",2,"E"
+103 ;;D^B
+104 ;;R^"863.8:","863.84:4",.01,"E"
+105 ;;D^QUERY
+106 ;;R^"863.8:","863.84:4",1,"E"
+107 ;;D^Name of index
+108 ;;R^"863.8:","863.84:5",.01,"E"
+109 ;;D^DATA TYPE
+110 ;;R^"863.8:","863.84:5",1,"E"
+111 ;;D^FREE TEXT
+112 ;;R^"863.8:","863.84:6",.01,"E"
+113 ;;D^FREE TEXT MAXIMUM LENGTH
+114 ;;R^"863.8:","863.84:6",1,"E"
+115 ;;D^8
+116 ;;EOR^
+117 ;;KEY^863.8:^FLI FLAGS
+118 ;;R^"863.8:",.01,"E"
+119 ;;D^FLI FLAGS
+120 ;;R^"863.8:",.02,"E"
+121 ;;D^FLI FLAGS
+122 ;;R^"863.8:",1,1
+123 ;;D^B=TRAVERSE BACKWARDS,I=RETURN INTERNAL FORMAT
+124 ;;R^"863.8:","863.84:4",.01,"E"
+125 ;;D^QUERY
+126 ;;R^"863.8:","863.84:4",1,"E"
+127 ;;D^Lister flags (B,I)
+128 ;;R^"863.8:","863.84:5",.01,"E"
+129 ;;D^DATA TYPE
+130 ;;R^"863.8:","863.84:5",1,"E"
+131 ;;D^FREE TEXT
+132 ;;EOR^
+133 ;;KEY^863.8:^FLI NUMBER OF ENTRIES
+134 ;;R^"863.8:",.01,"E"
+135 ;;D^FLI NUMBER OF ENTRIES
+136 ;;R^"863.8:",.02,"E"
+137 ;;D^FLI NUMBER
+138 ;;R^"863.8:",1,1
+139 ;;D^Number of entries to return
+140 ;;R^"863.8:",2,"E"
+141 ;;D^20
+142 ;;R^"863.8:","863.84:3",.01,"E"
+143 ;;D^QUERY
+144 ;;R^"863.8:","863.84:3",1,"E"
+145 ;;D^Number of entries to return
+146 ;;R^"863.8:","863.84:4",.01,"E"
+147 ;;D^DATA TYPE
+148 ;;R^"863.8:","863.84:4",1,"E"
+149 ;;D^POSITIVE INTEGER
+150 ;;EOR^
+151 ;;KEY^863.8:^FLI FROM
+152 ;;R^"863.8:",.01,"E"
+153 ;;D^FLI FROM
+154 ;;R^"863.8:",.02,"E"
+155 ;;D^FLI FROM
+156 ;;R^"863.8:",1,1
+157 ;;D^Index entry from which to begin the list
+158 ;;R^"863.8:","863.84:4",.01,"E"
+159 ;;D^QUERY
+160 ;;R^"863.8:","863.84:4",1,"E"
+161 ;;D^Start list after
+162 ;;R^"863.8:","863.84:5",.01,"E"
+163 ;;D^DATA TYPE
+164 ;;R^"863.8:","863.84:5",1,"E"
+165 ;;D^FREE TEXT
+166 ;;EOR^
+167 ;;KEY^863.8:^FLI RESTRICT MATCH
+168 ;;R^"863.8:",.01,"E"
+169 ;;D^FLI RESTRICT MATCH
+170 ;;R^"863.8:",.02,"E"
+171 ;;D^FLI PART
+172 ;;R^"863.8:",1,1
+173 ;;D^Partial match restriction (to index value, not the external value)
+174 ;;R^"863.8:","863.84:4",.01,"E"
+175 ;;D^QUERY
+176 ;;R^"863.8:","863.84:4",1,"E"
+177 ;;D^Return internal values which start with
+178 ;;R^"863.8:","863.84:5",.01,"E"
+179 ;;D^DATA TYPE
+180 ;;R^"863.8:","863.84:5",1,"E"
+181 ;;D^FREE TEXT
+182 ;;EOR^
+183 ;;KEY^863.8:^FLI IDENTIFIER
+184 ;;R^"863.8:",.01,"E"
+185 ;;D^FLI IDENTIFIER
+186 ;;R^"863.8:",.02,"E"
+187 ;;D^FLI ID
+188 ;;R^"863.8:",1,1
+189 ;;D^Text to accompany each member of the returned list. M code that calls
+190 ;;R^"863.8:",1,2
+191 ;;D^EN^DDIOL. ID text follows FM identifier. M code should not issue any
+192 ;;R^"863.8:",1,3
+193 ;;D^read or write commands.
+194 ;1;
+195 ;