OCXDI012 ;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 ^OCXDI013
;
Q
;
DATA ;
;
;;D^MUMPS CODE
;;EOR^
;;KEY^863.8:^SCREEN LENGTH
;;R^"863.8:",.01,"E"
;;D^SCREEN LENGTH
;;R^"863.8:",.02,"E"
;;D^IOSL
;;R^"863.8:",1,1
;;D^Vertical screen size
;;R^"863.8:","863.84:3",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:3",1,"E"
;;D^POSITIVE INTEGER
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter the number of lines on the display screen
;;EOR^
;;KEY^863.8:^LIST EMPTY MESSAGE
;;R^"863.8:",.01,"E"
;;D^LIST EMPTY MESSAGE
;;R^"863.8:",1,1
;;D^Message sent to user if he attempts to list an empty array
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.8:^POINTER GLOBAL
;;R^"863.8:",.01,"E"
;;D^POINTER GLOBAL
;;R^"863.8:",1,1
;;D^Closed reference of a pointed to global
;;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:^INTERNAL ENTRY NUMBER
;;R^"863.8:",.01,"E"
;;D^INTERNAL ENTRY NUMBER
;;R^"863.8:",.02,"E"
;;D^IEN
;;R^"863.8:",1,1
;;D^FileMan internal entry number
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter IEN
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^NUMERIC
;;R^"863.8:","863.84:5",.01,"E"
;;D^NUMERIC DECIMAL PLACES
;;R^"863.8:","863.84:5",1,"E"
;;D^6
;;EOR^
;;KEY^863.8:^FIELD NAME
;;R^"863.8:",.01,"E"
;;D^FIELD NAME
;;R^"863.8:",1,1
;;D^The name of a FileMan field
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:5",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:5",1,"E"
;;D^30
;;EOR^
;;KEY^863.8:^OBJECT NAME
;;R^"863.8:",.01,"E"
;;D^OBJECT NAME
;;R^"863.8:",1,1
;;D^The name of an object
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:5",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:5",1,"E"
;;D^30
;;EOR^
;;KEY^863.8:^FORCE DELETION
;;R^"863.8:",.01,"E"
;;D^FORCE DELETION
;;R^"863.8:",1,1
;;D^If this param=1 deletion will be forced without getting confirmation from the user
;;R^"863.8:","863.84:7",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:7",1,"E"
;;D^SET OF CODES
;;R^"863.8:","863.84:8",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:8",1,"E"
;;D^1:FORCE DELETION;0:ASK USER IF OK TO DELETE
;;EOR^
;;KEY^863.8:^BUILD CALL
;;R^"863.8:",.01,"E"
;;D^BUILD CALL
;;R^"863.8:",.02,"E"
;;D^BUILD CALL
;;R^"863.8:",1,1
;;D^Option to build the code of a method
;;R^"863.8:",2,"E"
;;D^BUILD^OCXCM1
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter the TAG^ROUTINE of the CASE tool
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^LINE TAG
;;EOR^
;;KEY^863.8:^PRINT TEMPLATE
;;R^"863.8:",.01,"E"
;;D^PRINT TEMPLATE
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Enter print template
;;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^.4
;;EOR^
;;KEY^863.8:^MANDATORY MESSAGE
;;R^"863.8:",.01,"E"
;;D^MANDATORY MESSAGE
;;R^"863.8:",.02,"E"
;;D^MAND MSG
;;R^"863.8:",1,1
;;D^Message sent to user teling him that his entry is mandatory
;;R^"863.8:",2,"E"
;;D^Mandatory answer. You must enter a value or '^' to exit.
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter message
;;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:^DIALOGUE VALIDATION CODE
;;R^"863.8:",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"863.8:",.02,"E"
;;D^DT VAL
;;R^"863.8:",1,1
;;D^M extrinsic function which sets $T to 1 if the internal value (stored in'X') is valid
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter validation code
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^LINE TAG
;;EOR^
;;KEY^863.8:^DIALOGUE INPUT VALIDATION
;;R^"863.8:",.01,"E"
;;D^DIALOGUE INPUT VALIDATION
;;R^"863.8:",.02,"E"
;;D^DT IVAL
;;R^"863.8:",1,1
;;D^M code which set $T to 1 if the user input (stored in'X') is valid
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter input validation code
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^LINE TAG
;;EOR^
;;KEY^863.8:^DIALOGUE INPUT TRANSFORM
;;R^"863.8:",.01,"E"
;;D^DIALOGUE INPUT TRANSFORM
;;R^"863.8:",.02,"E"
;;D^DT IT
;;R^"863.8:",1,1
;;D^M expression which transforms the external value (stored in 'X') to the
;;R^"863.8:",1,2
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI012 5425 printed Oct 16, 2024@18:23:45 Page 2
OCXDI012 ;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 ^OCXDI013
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^MUMPS CODE
+3 ;;EOR^
+4 ;;KEY^863.8:^SCREEN LENGTH
+5 ;;R^"863.8:",.01,"E"
+6 ;;D^SCREEN LENGTH
+7 ;;R^"863.8:",.02,"E"
+8 ;;D^IOSL
+9 ;;R^"863.8:",1,1
+10 ;;D^Vertical screen size
+11 ;;R^"863.8:","863.84:3",.01,"E"
+12 ;;D^DATA TYPE
+13 ;;R^"863.8:","863.84:3",1,"E"
+14 ;;D^POSITIVE INTEGER
+15 ;;R^"863.8:","863.84:4",.01,"E"
+16 ;;D^QUERY
+17 ;;R^"863.8:","863.84:4",1,"E"
+18 ;;D^Enter the number of lines on the display screen
+19 ;;EOR^
+20 ;;KEY^863.8:^LIST EMPTY MESSAGE
+21 ;;R^"863.8:",.01,"E"
+22 ;;D^LIST EMPTY MESSAGE
+23 ;;R^"863.8:",1,1
+24 ;;D^Message sent to user if he attempts to list an empty array
+25 ;;R^"863.8:","863.84:4",.01,"E"
+26 ;;D^DATA TYPE
+27 ;;R^"863.8:","863.84:4",1,"E"
+28 ;;D^FREE TEXT
+29 ;;EOR^
+30 ;;KEY^863.8:^POINTER GLOBAL
+31 ;;R^"863.8:",.01,"E"
+32 ;;D^POINTER GLOBAL
+33 ;;R^"863.8:",1,1
+34 ;;D^Closed reference of a pointed to global
+35 ;;R^"863.8:","863.84:4",.01,"E"
+36 ;;D^DATA TYPE
+37 ;;R^"863.8:","863.84:4",1,"E"
+38 ;;D^CLOSED REFERENCE
+39 ;;EOR^
+40 ;;KEY^863.8:^INTERNAL ENTRY NUMBER
+41 ;;R^"863.8:",.01,"E"
+42 ;;D^INTERNAL ENTRY NUMBER
+43 ;;R^"863.8:",.02,"E"
+44 ;;D^IEN
+45 ;;R^"863.8:",1,1
+46 ;;D^FileMan internal entry number
+47 ;;R^"863.8:","863.84:3",.01,"E"
+48 ;;D^QUERY
+49 ;;R^"863.8:","863.84:3",1,"E"
+50 ;;D^Enter IEN
+51 ;;R^"863.8:","863.84:4",.01,"E"
+52 ;;D^DATA TYPE
+53 ;;R^"863.8:","863.84:4",1,"E"
+54 ;;D^NUMERIC
+55 ;;R^"863.8:","863.84:5",.01,"E"
+56 ;;D^NUMERIC DECIMAL PLACES
+57 ;;R^"863.8:","863.84:5",1,"E"
+58 ;;D^6
+59 ;;EOR^
+60 ;;KEY^863.8:^FIELD NAME
+61 ;;R^"863.8:",.01,"E"
+62 ;;D^FIELD NAME
+63 ;;R^"863.8:",1,1
+64 ;;D^The name of a FileMan field
+65 ;;R^"863.8:","863.84:4",.01,"E"
+66 ;;D^DATA TYPE
+67 ;;R^"863.8:","863.84:4",1,"E"
+68 ;;D^FREE TEXT
+69 ;;R^"863.8:","863.84:5",.01,"E"
+70 ;;D^FREE TEXT MAXIMUM LENGTH
+71 ;;R^"863.8:","863.84:5",1,"E"
+72 ;;D^30
+73 ;;EOR^
+74 ;;KEY^863.8:^OBJECT NAME
+75 ;;R^"863.8:",.01,"E"
+76 ;;D^OBJECT NAME
+77 ;;R^"863.8:",1,1
+78 ;;D^The name of an object
+79 ;;R^"863.8:","863.84:4",.01,"E"
+80 ;;D^DATA TYPE
+81 ;;R^"863.8:","863.84:4",1,"E"
+82 ;;D^FREE TEXT
+83 ;;R^"863.8:","863.84:5",.01,"E"
+84 ;;D^FREE TEXT MAXIMUM LENGTH
+85 ;;R^"863.8:","863.84:5",1,"E"
+86 ;;D^30
+87 ;;EOR^
+88 ;;KEY^863.8:^FORCE DELETION
+89 ;;R^"863.8:",.01,"E"
+90 ;;D^FORCE DELETION
+91 ;;R^"863.8:",1,1
+92 ;;D^If this param=1 deletion will be forced without getting confirmation from the user
+93 ;;R^"863.8:","863.84:7",.01,"E"
+94 ;;D^DATA TYPE
+95 ;;R^"863.8:","863.84:7",1,"E"
+96 ;;D^SET OF CODES
+97 ;;R^"863.8:","863.84:8",.01,"E"
+98 ;;D^SET CODES
+99 ;;R^"863.8:","863.84:8",1,"E"
+100 ;;D^1:FORCE DELETION;0:ASK USER IF OK TO DELETE
+101 ;;EOR^
+102 ;;KEY^863.8:^BUILD CALL
+103 ;;R^"863.8:",.01,"E"
+104 ;;D^BUILD CALL
+105 ;;R^"863.8:",.02,"E"
+106 ;;D^BUILD CALL
+107 ;;R^"863.8:",1,1
+108 ;;D^Option to build the code of a method
+109 ;;R^"863.8:",2,"E"
+110 ;;D^BUILD^OCXCM1
+111 ;;R^"863.8:","863.84:3",.01,"E"
+112 ;;D^QUERY
+113 ;;R^"863.8:","863.84:3",1,"E"
+114 ;;D^Enter the TAG^ROUTINE of the CASE tool
+115 ;;R^"863.8:","863.84:4",.01,"E"
+116 ;;D^DATA TYPE
+117 ;;R^"863.8:","863.84:4",1,"E"
+118 ;;D^LINE TAG
+119 ;;EOR^
+120 ;;KEY^863.8:^PRINT TEMPLATE
+121 ;;R^"863.8:",.01,"E"
+122 ;;D^PRINT TEMPLATE
+123 ;;R^"863.8:","863.84:6",.01,"E"
+124 ;;D^QUERY
+125 ;;R^"863.8:","863.84:6",1,"E"
+126 ;;D^Enter print template
+127 ;;R^"863.8:","863.84:7",.01,"E"
+128 ;;D^DATA TYPE
+129 ;;R^"863.8:","863.84:7",1,"E"
+130 ;;D^POINTER TO A FILEMAN FILE
+131 ;;R^"863.8:","863.84:8",.01,"E"
+132 ;;D^DIC
+133 ;;R^"863.8:","863.84:8",1,"E"
+134 ;;D^.4
+135 ;;EOR^
+136 ;;KEY^863.8:^MANDATORY MESSAGE
+137 ;;R^"863.8:",.01,"E"
+138 ;;D^MANDATORY MESSAGE
+139 ;;R^"863.8:",.02,"E"
+140 ;;D^MAND MSG
+141 ;;R^"863.8:",1,1
+142 ;;D^Message sent to user teling him that his entry is mandatory
+143 ;;R^"863.8:",2,"E"
+144 ;;D^Mandatory answer. You must enter a value or '^' to exit.
+145 ;;R^"863.8:","863.84:4",.01,"E"
+146 ;;D^QUERY
+147 ;;R^"863.8:","863.84:4",1,"E"
+148 ;;D^Enter message
+149 ;;R^"863.8:","863.84:5",.01,"E"
+150 ;;D^DATA TYPE
+151 ;;R^"863.8:","863.84:5",1,"E"
+152 ;;D^FREE TEXT
+153 ;;EOR^
+154 ;;KEY^863.8:^DIALOGUE VALIDATION CODE
+155 ;;R^"863.8:",.01,"E"
+156 ;;D^DIALOGUE VALIDATION CODE
+157 ;;R^"863.8:",.02,"E"
+158 ;;D^DT VAL
+159 ;;R^"863.8:",1,1
+160 ;;D^M extrinsic function which sets $T to 1 if the internal value (stored in'X') is valid
+161 ;;R^"863.8:","863.84:3",.01,"E"
+162 ;;D^QUERY
+163 ;;R^"863.8:","863.84:3",1,"E"
+164 ;;D^Enter validation code
+165 ;;R^"863.8:","863.84:4",.01,"E"
+166 ;;D^DATA TYPE
+167 ;;R^"863.8:","863.84:4",1,"E"
+168 ;;D^LINE TAG
+169 ;;EOR^
+170 ;;KEY^863.8:^DIALOGUE INPUT VALIDATION
+171 ;;R^"863.8:",.01,"E"
+172 ;;D^DIALOGUE INPUT VALIDATION
+173 ;;R^"863.8:",.02,"E"
+174 ;;D^DT IVAL
+175 ;;R^"863.8:",1,1
+176 ;;D^M code which set $T to 1 if the user input (stored in'X') is valid
+177 ;;R^"863.8:","863.84:3",.01,"E"
+178 ;;D^QUERY
+179 ;;R^"863.8:","863.84:3",1,"E"
+180 ;;D^Enter input validation code
+181 ;;R^"863.8:","863.84:4",.01,"E"
+182 ;;D^DATA TYPE
+183 ;;R^"863.8:","863.84:4",1,"E"
+184 ;;D^LINE TAG
+185 ;;EOR^
+186 ;;KEY^863.8:^DIALOGUE INPUT TRANSFORM
+187 ;;R^"863.8:",.01,"E"
+188 ;;D^DIALOGUE INPUT TRANSFORM
+189 ;;R^"863.8:",.02,"E"
+190 ;;D^DT IT
+191 ;;R^"863.8:",1,1
+192 ;;D^M expression which transforms the external value (stored in 'X') to the
+193 ;;R^"863.8:",1,2
+194 ;1;
+195 ;