OCXDI01A ;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 ^OCXDI01B
;
Q
;
DATA ;
;
;;EOR^
;;KEY^864.1:^LINE TAG
;;R^"864.1:",.01,"E"
;;D^LINE TAG
;;R^"864.1:",.02,"E"
;;D^TAG
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Entry reference (e.g., TAG^ROUTINE)
;;R^"864.1:","864.11:3",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:3",1,"E"
;;D^Must be a valid entry reference such as 'XXX^YYYY' or '^ZZZZ'. Note that the routine name must always be specified. This reference does not need to exist yet.
;;R^"864.1:","864.11:5",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:5",1,"E"
;;D^TAG^OCXFDFTE
;;R^"864.1:","864.11:6",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:6",1,"E"
;;D^FT^OCXFDFT
;;R^"864.1:","864.11:7",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:7",1,"E"
;;D^0
;;R^"864.1:","864.11:8",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^Enter another entry reference
;;EOR^
;;KEY^864.1:^ENTRY REFERENCE
;;R^"864.1:",.01,"E"
;;D^ENTRY REFERENCE
;;R^"864.1:",.02,"E"
;;D^ENT REF
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Entry reference (e.g., TAG^ROUTINE)
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^Must be a valid entry reference such as 'XXX^YYYY' or '^ZZZ'. Note that the routine name must always be specified. The reference must actually exist to be validated.
;;R^"864.1:","864.11:4",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:4",1,"E"
;;D^EREF^OCXFDFTE
;;EOR^
;;KEY^864.1:^CODE STRING
;;R^"864.1:",.01,"E"
;;D^CODE STRING
;;R^"864.1:",.02,"E"
;;D^CODE
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter a "Set of Codes" string
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^This must be a valid FileMan "Set of Codes" string using the ";" and ":" delimeters; e.g., "1:YES;0:NO". The maximum string length is 240 characters.
;;R^"864.1:","864.11:5",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:5",1,"E"
;;D^SCODE^OCXFDFTE
;;R^"864.1:","864.11:6",.01,"E"
;;D^ERROR MESSAGE
;;R^"864.1:","864.11:6",1,"E"
;;D^This must be a valid FileMan "Set of Codes" string using the ";" and ":" delimiters; e.g., "1:YES;0:NO". The maximum string length is 240 characters.
;;R^"864.1:","864.11:7",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:7",1,"E"
;;D^CS^OCXFDCS
;;R^"864.1:","864.11:8",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^OPEN REFERENCE
;;R^"864.1:",.01,"E"
;;D^OPEN REFERENCE
;;R^"864.1:",.02,"E"
;;D^OREF
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter a valid open reference
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^An open reference has the format ^X(3, or ^ZZZ( or the local variable equivalent
;;R^"864.1:","864.11:3",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:3",1,"E"
;;D^OREF^OCXFDFTE
;;EOR^
;;KEY^864.1:^CLOSED REFERENCE
;;R^"864.1:",.01,"E"
;;D^CLOSED REFERENCE
;;R^"864.1:",.02,"E"
;;D^CREF
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter a local or global reference
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^This is a full local or global reference; e.g., ^XXX(3,5) or ^XXX or VAR(4) or VAR.
;;R^"864.1:","864.11:4",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:4",1,"E"
;;D^CREF^OCXFDFTE
;;R^"864.1:","864.11:5",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:5",1,"E"
;;D^FT^OCXFDFT
;;R^"864.1:","864.11:6",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:6",1,"E"
;;D^0
;;R^"864.1:","864.11:7",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:7",1,"E"
;;D^Enter another closed reference
;;EOR^
;;KEY^864.1:^FILEMAN DD LOCATION
;;R^"864.1:",.01,"E"
;;D^FILEMAN DD LOCATION
;;R^"864.1:",.02,"E"
;;D^FM DD
;;R^"864.1:",2,"E"
;;D^FREE TEXT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter Data Dictionary location ("file#,field#")
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^This text string must have the following format: a valid FileMan file number followed by a comma followed by a valid field number for the file.
;;R^"864.1:","864.11:5",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:5",1,"E"
;;D^FMDD^OCXFDFTE
;;EOR^
;;KEY^864.1:^POSITIVE INTEGER
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI01A 5248 printed Dec 13, 2024@02:23:16 Page 2
OCXDI01A ;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 ^OCXDI01B
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;EOR^
+3 ;;KEY^864.1:^LINE TAG
+4 ;;R^"864.1:",.01,"E"
+5 ;;D^LINE TAG
+6 ;;R^"864.1:",.02,"E"
+7 ;;D^TAG
+8 ;;R^"864.1:",2,"E"
+9 ;;D^FREE TEXT
+10 ;;R^"864.1:","864.11:1",.01,"E"
+11 ;;D^QUERY
+12 ;;R^"864.1:","864.11:1",1,"E"
+13 ;;D^Entry reference (e.g., TAG^ROUTINE)
+14 ;;R^"864.1:","864.11:3",.01,"E"
+15 ;;D^HELP MESSAGE
+16 ;;R^"864.1:","864.11:3",1,"E"
+17 ;;D^Must be a valid entry reference such as 'XXX^YYYY' or '^ZZZZ'. Note that the routine name must always be specified. This reference does not need to exist yet.
+18 ;;R^"864.1:","864.11:5",.01,"E"
+19 ;;D^DIALOGUE VALIDATION CODE
+20 ;;R^"864.1:","864.11:5",1,"E"
+21 ;;D^TAG^OCXFDFTE
+22 ;;R^"864.1:","864.11:6",.01,"E"
+23 ;;D^VALUE CALL
+24 ;;R^"864.1:","864.11:6",1,"E"
+25 ;;D^FT^OCXFDFT
+26 ;;R^"864.1:","864.11:7",.01,"E"
+27 ;;D^REPEAT THE QUERY
+28 ;;R^"864.1:","864.11:7",1,"E"
+29 ;;D^0
+30 ;;R^"864.1:","864.11:8",.01,"E"
+31 ;;D^LOOP QUERY
+32 ;;R^"864.1:","864.11:8",1,"E"
+33 ;;D^Enter another entry reference
+34 ;;EOR^
+35 ;;KEY^864.1:^ENTRY REFERENCE
+36 ;;R^"864.1:",.01,"E"
+37 ;;D^ENTRY REFERENCE
+38 ;;R^"864.1:",.02,"E"
+39 ;;D^ENT REF
+40 ;;R^"864.1:",2,"E"
+41 ;;D^FREE TEXT
+42 ;;R^"864.1:","864.11:1",.01,"E"
+43 ;;D^QUERY
+44 ;;R^"864.1:","864.11:1",1,"E"
+45 ;;D^Entry reference (e.g., TAG^ROUTINE)
+46 ;;R^"864.1:","864.11:2",.01,"E"
+47 ;;D^HELP MESSAGE
+48 ;;R^"864.1:","864.11:2",1,"E"
+49 ;;D^Must be a valid entry reference such as 'XXX^YYYY' or '^ZZZ'. Note that the routine name must always be specified. The reference must actually exist to be validated.
+50 ;;R^"864.1:","864.11:4",.01,"E"
+51 ;;D^DIALOGUE VALIDATION CODE
+52 ;;R^"864.1:","864.11:4",1,"E"
+53 ;;D^EREF^OCXFDFTE
+54 ;;EOR^
+55 ;;KEY^864.1:^CODE STRING
+56 ;;R^"864.1:",.01,"E"
+57 ;;D^CODE STRING
+58 ;;R^"864.1:",.02,"E"
+59 ;;D^CODE
+60 ;;R^"864.1:",2,"E"
+61 ;;D^FREE TEXT
+62 ;;R^"864.1:","864.11:1",.01,"E"
+63 ;;D^QUERY
+64 ;;R^"864.1:","864.11:1",1,"E"
+65 ;;D^Enter a "Set of Codes" string
+66 ;;R^"864.1:","864.11:2",.01,"E"
+67 ;;D^HELP MESSAGE
+68 ;;R^"864.1:","864.11:2",1,"E"
+69 ;;D^This must be a valid FileMan "Set of Codes" string using the ";" and ":" delimeters; e.g., "1:YES;0:NO". The maximum string length is 240 characters.
+70 ;;R^"864.1:","864.11:5",.01,"E"
+71 ;;D^DIALOGUE VALIDATION CODE
+72 ;;R^"864.1:","864.11:5",1,"E"
+73 ;;D^SCODE^OCXFDFTE
+74 ;;R^"864.1:","864.11:6",.01,"E"
+75 ;;D^ERROR MESSAGE
+76 ;;R^"864.1:","864.11:6",1,"E"
+77 ;;D^This must be a valid FileMan "Set of Codes" string using the ";" and ":" delimiters; e.g., "1:YES;0:NO". The maximum string length is 240 characters.
+78 ;;R^"864.1:","864.11:7",.01,"E"
+79 ;;D^VALUE CALL
+80 ;;R^"864.1:","864.11:7",1,"E"
+81 ;;D^CS^OCXFDCS
+82 ;;R^"864.1:","864.11:8",.01,"E"
+83 ;;D^REPEAT THE QUERY
+84 ;;R^"864.1:","864.11:8",1,"E"
+85 ;;D^0
+86 ;;EOR^
+87 ;;KEY^864.1:^OPEN REFERENCE
+88 ;;R^"864.1:",.01,"E"
+89 ;;D^OPEN REFERENCE
+90 ;;R^"864.1:",.02,"E"
+91 ;;D^OREF
+92 ;;R^"864.1:",2,"E"
+93 ;;D^FREE TEXT
+94 ;;R^"864.1:","864.11:1",.01,"E"
+95 ;;D^QUERY
+96 ;;R^"864.1:","864.11:1",1,"E"
+97 ;;D^Enter a valid open reference
+98 ;;R^"864.1:","864.11:2",.01,"E"
+99 ;;D^HELP MESSAGE
+100 ;;R^"864.1:","864.11:2",1,"E"
+101 ;;D^An open reference has the format ^X(3, or ^ZZZ( or the local variable equivalent
+102 ;;R^"864.1:","864.11:3",.01,"E"
+103 ;;D^DIALOGUE VALIDATION CODE
+104 ;;R^"864.1:","864.11:3",1,"E"
+105 ;;D^OREF^OCXFDFTE
+106 ;;EOR^
+107 ;;KEY^864.1:^CLOSED REFERENCE
+108 ;;R^"864.1:",.01,"E"
+109 ;;D^CLOSED REFERENCE
+110 ;;R^"864.1:",.02,"E"
+111 ;;D^CREF
+112 ;;R^"864.1:",2,"E"
+113 ;;D^FREE TEXT
+114 ;;R^"864.1:","864.11:1",.01,"E"
+115 ;;D^QUERY
+116 ;;R^"864.1:","864.11:1",1,"E"
+117 ;;D^Enter a local or global reference
+118 ;;R^"864.1:","864.11:2",.01,"E"
+119 ;;D^HELP MESSAGE
+120 ;;R^"864.1:","864.11:2",1,"E"
+121 ;;D^This is a full local or global reference; e.g., ^XXX(3,5) or ^XXX or VAR(4) or VAR.
+122 ;;R^"864.1:","864.11:4",.01,"E"
+123 ;;D^DIALOGUE VALIDATION CODE
+124 ;;R^"864.1:","864.11:4",1,"E"
+125 ;;D^CREF^OCXFDFTE
+126 ;;R^"864.1:","864.11:5",.01,"E"
+127 ;;D^VALUE CALL
+128 ;;R^"864.1:","864.11:5",1,"E"
+129 ;;D^FT^OCXFDFT
+130 ;;R^"864.1:","864.11:6",.01,"E"
+131 ;;D^REPEAT THE QUERY
+132 ;;R^"864.1:","864.11:6",1,"E"
+133 ;;D^0
+134 ;;R^"864.1:","864.11:7",.01,"E"
+135 ;;D^LOOP QUERY
+136 ;;R^"864.1:","864.11:7",1,"E"
+137 ;;D^Enter another closed reference
+138 ;;EOR^
+139 ;;KEY^864.1:^FILEMAN DD LOCATION
+140 ;;R^"864.1:",.01,"E"
+141 ;;D^FILEMAN DD LOCATION
+142 ;;R^"864.1:",.02,"E"
+143 ;;D^FM DD
+144 ;;R^"864.1:",2,"E"
+145 ;;D^FREE TEXT
+146 ;;R^"864.1:","864.11:1",.01,"E"
+147 ;;D^QUERY
+148 ;;R^"864.1:","864.11:1",1,"E"
+149 ;;D^Enter Data Dictionary location ("file#,field#")
+150 ;;R^"864.1:","864.11:2",.01,"E"
+151 ;;D^HELP MESSAGE
+152 ;;R^"864.1:","864.11:2",1,"E"
+153 ;;D^This text string must have the following format: a valid FileMan file number followed by a comma followed by a valid field number for the file.
+154 ;;R^"864.1:","864.11:5",.01,"E"
+155 ;;D^DIALOGUE VALIDATION CODE
+156 ;;R^"864.1:","864.11:5",1,"E"
+157 ;;D^FMDD^OCXFDFTE
+158 ;;EOR^
+159 ;;KEY^864.1:^POSITIVE INTEGER
+160 ;1;
+161 ;