OCXDI00Z ;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 ^OCXDI010
;
Q
;
DATA ;
;
;;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:^FM LOCATION
;;R^"863.8:",.01,"E"
;;D^FM LOCATION
;;R^"863.8:",.02,"E"
;;D^FM LOC
;;R^"863.8:",1,1
;;D^FILE #,FIELD #
;;R^"863.8:","863.84:1",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:1",1,"E"
;;D^Enter the DD location (file#,field#)
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FILEMAN DD LOCATION
;;EOR^
;;KEY^863.8:^HELP EXECUTABLE
;;R^"863.8:",.01,"E"
;;D^HELP EXECUTABLE
;;R^"863.8:",.02,"E"
;;D^HELPEXEC
;;R^"863.8:",1,1
;;D^A tag^routine that will be executed if the user enters a '?'
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter tag^routine which generates the message
;;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:^SILENT CALL
;;R^"863.8:",.01,"E"
;;D^SILENT CALL
;;R^"863.8:",.02,"E"
;;D^SILENT
;;R^"863.8:",1,1
;;D^This flag tells a dialogue type function to operate without user
;;R^"863.8:",1,2
;;D^intervention. Just use the value in the default parameter.
;;R^"863.8:","863.84:1",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:1",1,"E"
;;D^Silent call mode
;;R^"863.8:","863.84:8",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:8",1,"E"
;;D^YES NO
;;EOR^
;;KEY^863.8:^ALTERNATE RECORD IDENTIFIER CODE
;;R^"863.8:",.01,"E"
;;D^ALTERNATE RECORD IDENTIFIER CODE
;;R^"863.8:",.02,"E"
;;D^ALTID
;;EOR^
;;KEY^863.8:^FM CROSS REFERENCE LIST
;;R^"863.8:",.01,"E"
;;D^FM CROSS REFERENCE LIST
;;R^"863.8:",.02,"E"
;;D^FMXREF
;;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 a '^' delimited string with index names to be used in the search
;;R^"863.8:","863.84:3",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:3",1,"E"
;;D^Should be in the format 'B^C^DOB' etc.
;;EOR^
;;KEY^863.8:^ORPHAN DELETE CLASS
;;R^"863.8:",.01,"E"
;;D^ORPHAN DELETE CLASS
;;R^"863.8:",.02,"E"
;;D^ORPH CLASS
;;R^"863.8:",1,1
;;D^IEN of the class file which contains the deleted object
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Enter the class of the deleted object
;;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^863
;;EOR^
;;KEY^863.8:^ORPHAN DELETE OBJECT
;;R^"863.8:",.01,"E"
;;D^ORPHAN DELETE OBJECT
;;R^"863.8:",.02,"E"
;;D^ORPH OBJ
;;R^"863.8:",1,1
;;D^Delete object which may cause orphaned parameters
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Enter the IEN of the deleted object
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^NUMERIC
;;R^"863.8:","863.84:6",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:6",1,"E"
;;D^24
;;EOR^
;;KEY^863.8:^ORPHAN ALL
;;R^"863.8:",.01,"E"
;;D^ORPHAN ALL
;;R^"863.8:",.02,"E"
;;D^ORPH ALL
;;R^"863.8:",1,1
;;D^Check param to see if it is an orphan. Not related to the deletion of any object.
;;R^"863.8:",2,"E"
;;D^0
;;R^"863.8:","863.84:5",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:5",1,"E"
;;D^Check all classes for this parameter
;;R^"863.8:","863.84:6",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:6",1,"E"
;;D^YES NO
;;EOR^
;;KEY^863.8:^FREE TEXT MINIMUM LENGTH
;;R^"863.8:",.01,"E"
;;D^FREE TEXT MINIMUM LENGTH
;;R^"863.8:",.02,"E"
;;D^FMIN
;;R^"863.8:",1,1
;;D^Minimum number of characters allowed in a free text response
;;R^"863.8:",2,"E"
;;D^0
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter minimum text string length
;;R^"863.8:","863.84:4",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:4",1,"E"
;;D^FMIN^OCXF6
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^POSITIVE INTEGER
;;EOR^
;;KEY^863.8:^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:",.02,"E"
;;D^FMAX
;;R^"863.8:",1,1
;;D^Maximum string length allowed
;;R^"863.8:",2,"E"
;;D^245
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Maximum text string length allowed
;;R^"863.8:","863.84:4",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:4",1,"E"
;;D^FMAX^OCXF6
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^POSITIVE INTEGER
;;EOR^
;;KEY^863.8:^DATE DEFAULT TIME FRAME
;;R^"863.8:",.01,"E"
;;D^DATE DEFAULT TIME FRAME
;;R^"863.8:",.02,"E"
;;D^DATE DFLT
;;R^"863.8:",1,1
;;D^If year is uspecified, the date will default to the pasr "P", futuren "F",
;1;
;
OCXDI00Z ;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 ^OCXDI010
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:","863.84:5",.01,"E"
+3 ;;D^DATA TYPE
+4 ;;R^"863.8:","863.84:5",1,"E"
+5 ;;D^FREE TEXT
+6 ;;EOR^
+7 ;;KEY^863.8:^FM LOCATION
+8 ;;R^"863.8:",.01,"E"
+9 ;;D^FM LOCATION
+10 ;;R^"863.8:",.02,"E"
+11 ;;D^FM LOC
+12 ;;R^"863.8:",1,1
+13 ;;D^FILE #,FIELD #
+14 ;;R^"863.8:","863.84:1",.01,"E"
+15 ;;D^QUERY
+16 ;;R^"863.8:","863.84:1",1,"E"
+17 ;;D^Enter the DD location (file#,field#)
+18 ;;R^"863.8:","863.84:5",.01,"E"
+19 ;;D^DATA TYPE
+20 ;;R^"863.8:","863.84:5",1,"E"
+21 ;;D^FILEMAN DD LOCATION
+22 ;;EOR^
+23 ;;KEY^863.8:^HELP EXECUTABLE
+24 ;;R^"863.8:",.01,"E"
+25 ;;D^HELP EXECUTABLE
+26 ;;R^"863.8:",.02,"E"
+27 ;;D^HELPEXEC
+28 ;;R^"863.8:",1,1
+29 ;;D^A tag^routine that will be executed if the user enters a '?'
+30 ;;R^"863.8:","863.84:3",.01,"E"
+31 ;;D^QUERY
+32 ;;R^"863.8:","863.84:3",1,"E"
+33 ;;D^Enter tag^routine which generates the message
+34 ;;R^"863.8:","863.84:4",.01,"E"
+35 ;;D^DATA TYPE
+36 ;;R^"863.8:","863.84:4",1,"E"
+37 ;;D^LINE TAG
+38 ;;EOR^
+39 ;;KEY^863.8:^SILENT CALL
+40 ;;R^"863.8:",.01,"E"
+41 ;;D^SILENT CALL
+42 ;;R^"863.8:",.02,"E"
+43 ;;D^SILENT
+44 ;;R^"863.8:",1,1
+45 ;;D^This flag tells a dialogue type function to operate without user
+46 ;;R^"863.8:",1,2
+47 ;;D^intervention. Just use the value in the default parameter.
+48 ;;R^"863.8:","863.84:1",.01,"E"
+49 ;;D^QUERY
+50 ;;R^"863.8:","863.84:1",1,"E"
+51 ;;D^Silent call mode
+52 ;;R^"863.8:","863.84:8",.01,"E"
+53 ;;D^DATA TYPE
+54 ;;R^"863.8:","863.84:8",1,"E"
+55 ;;D^YES NO
+56 ;;EOR^
+57 ;;KEY^863.8:^ALTERNATE RECORD IDENTIFIER CODE
+58 ;;R^"863.8:",.01,"E"
+59 ;;D^ALTERNATE RECORD IDENTIFIER CODE
+60 ;;R^"863.8:",.02,"E"
+61 ;;D^ALTID
+62 ;;EOR^
+63 ;;KEY^863.8:^FM CROSS REFERENCE LIST
+64 ;;R^"863.8:",.01,"E"
+65 ;;D^FM CROSS REFERENCE LIST
+66 ;;R^"863.8:",.02,"E"
+67 ;;D^FMXREF
+68 ;;R^"863.8:","863.84:1",.01,"E"
+69 ;;D^DATA TYPE
+70 ;;R^"863.8:","863.84:1",1,"E"
+71 ;;D^FREE TEXT
+72 ;;R^"863.8:","863.84:2",.01,"E"
+73 ;;D^QUERY
+74 ;;R^"863.8:","863.84:2",1,"E"
+75 ;;D^Enter a '^' delimited string with index names to be used in the search
+76 ;;R^"863.8:","863.84:3",.01,"E"
+77 ;;D^HELP MESSAGE
+78 ;;R^"863.8:","863.84:3",1,"E"
+79 ;;D^Should be in the format 'B^C^DOB' etc.
+80 ;;EOR^
+81 ;;KEY^863.8:^ORPHAN DELETE CLASS
+82 ;;R^"863.8:",.01,"E"
+83 ;;D^ORPHAN DELETE CLASS
+84 ;;R^"863.8:",.02,"E"
+85 ;;D^ORPH CLASS
+86 ;;R^"863.8:",1,1
+87 ;;D^IEN of the class file which contains the deleted object
+88 ;;R^"863.8:","863.84:6",.01,"E"
+89 ;;D^QUERY
+90 ;;R^"863.8:","863.84:6",1,"E"
+91 ;;D^Enter the class of the deleted object
+92 ;;R^"863.8:","863.84:7",.01,"E"
+93 ;;D^DATA TYPE
+94 ;;R^"863.8:","863.84:7",1,"E"
+95 ;;D^POINTER TO A FILEMAN FILE
+96 ;;R^"863.8:","863.84:8",.01,"E"
+97 ;;D^DIC
+98 ;;R^"863.8:","863.84:8",1,"E"
+99 ;;D^863
+100 ;;EOR^
+101 ;;KEY^863.8:^ORPHAN DELETE OBJECT
+102 ;;R^"863.8:",.01,"E"
+103 ;;D^ORPHAN DELETE OBJECT
+104 ;;R^"863.8:",.02,"E"
+105 ;;D^ORPH OBJ
+106 ;;R^"863.8:",1,1
+107 ;;D^Delete object which may cause orphaned parameters
+108 ;;R^"863.8:","863.84:4",.01,"E"
+109 ;;D^QUERY
+110 ;;R^"863.8:","863.84:4",1,"E"
+111 ;;D^Enter the IEN of the deleted object
+112 ;;R^"863.8:","863.84:5",.01,"E"
+113 ;;D^DATA TYPE
+114 ;;R^"863.8:","863.84:5",1,"E"
+115 ;;D^NUMERIC
+116 ;;R^"863.8:","863.84:6",.01,"E"
+117 ;;D^FREE TEXT MAXIMUM LENGTH
+118 ;;R^"863.8:","863.84:6",1,"E"
+119 ;;D^24
+120 ;;EOR^
+121 ;;KEY^863.8:^ORPHAN ALL
+122 ;;R^"863.8:",.01,"E"
+123 ;;D^ORPHAN ALL
+124 ;;R^"863.8:",.02,"E"
+125 ;;D^ORPH ALL
+126 ;;R^"863.8:",1,1
+127 ;;D^Check param to see if it is an orphan. Not related to the deletion of any object.
+128 ;;R^"863.8:",2,"E"
+129 ;;D^0
+130 ;;R^"863.8:","863.84:5",.01,"E"
+131 ;;D^QUERY
+132 ;;R^"863.8:","863.84:5",1,"E"
+133 ;;D^Check all classes for this parameter
+134 ;;R^"863.8:","863.84:6",.01,"E"
+135 ;;D^DATA TYPE
+136 ;;R^"863.8:","863.84:6",1,"E"
+137 ;;D^YES NO
+138 ;;EOR^
+139 ;;KEY^863.8:^FREE TEXT MINIMUM LENGTH
+140 ;;R^"863.8:",.01,"E"
+141 ;;D^FREE TEXT MINIMUM LENGTH
+142 ;;R^"863.8:",.02,"E"
+143 ;;D^FMIN
+144 ;;R^"863.8:",1,1
+145 ;;D^Minimum number of characters allowed in a free text response
+146 ;;R^"863.8:",2,"E"
+147 ;;D^0
+148 ;;R^"863.8:","863.84:3",.01,"E"
+149 ;;D^QUERY
+150 ;;R^"863.8:","863.84:3",1,"E"
+151 ;;D^Enter minimum text string length
+152 ;;R^"863.8:","863.84:4",.01,"E"
+153 ;;D^FM MASK
+154 ;;R^"863.8:","863.84:4",1,"E"
+155 ;;D^FMIN^OCXF6
+156 ;;R^"863.8:","863.84:5",.01,"E"
+157 ;;D^DATA TYPE
+158 ;;R^"863.8:","863.84:5",1,"E"
+159 ;;D^POSITIVE INTEGER
+160 ;;EOR^
+161 ;;KEY^863.8:^FREE TEXT MAXIMUM LENGTH
+162 ;;R^"863.8:",.01,"E"
+163 ;;D^FREE TEXT MAXIMUM LENGTH
+164 ;;R^"863.8:",.02,"E"
+165 ;;D^FMAX
+166 ;;R^"863.8:",1,1
+167 ;;D^Maximum string length allowed
+168 ;;R^"863.8:",2,"E"
+169 ;;D^245
+170 ;;R^"863.8:","863.84:3",.01,"E"
+171 ;;D^QUERY
+172 ;;R^"863.8:","863.84:3",1,"E"
+173 ;;D^Maximum text string length allowed
+174 ;;R^"863.8:","863.84:4",.01,"E"
+175 ;;D^FM MASK
+176 ;;R^"863.8:","863.84:4",1,"E"
+177 ;;D^FMAX^OCXF6
+178 ;;R^"863.8:","863.84:5",.01,"E"
+179 ;;D^DATA TYPE
+180 ;;R^"863.8:","863.84:5",1,"E"
+181 ;;D^POSITIVE INTEGER
+182 ;;EOR^
+183 ;;KEY^863.8:^DATE DEFAULT TIME FRAME
+184 ;;R^"863.8:",.01,"E"
+185 ;;D^DATE DEFAULT TIME FRAME
+186 ;;R^"863.8:",.02,"E"
+187 ;;D^DATE DFLT
+188 ;;R^"863.8:",1,1
+189 ;;D^If year is uspecified, the date will default to the pasr "P", futuren "F",
+190 ;1;
+191 ;