OCXDI01B ;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 ^OCXDI01C
;
Q
;
DATA ;
;
;;R^"864.1:",.01,"E"
;;D^POSITIVE INTEGER
;;R^"864.1:",.02,"E"
;;D^POSINT
;;R^"864.1:",2,"E"
;;D^NUMERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter a positive integer
;;R^"864.1:","864.11:2",.01,"E"
;;D^NUMERIC MINIMUM
;;R^"864.1:","864.11:2",1,"E"
;;D^0
;;R^"864.1:","864.11:3",.01,"E"
;;D^NUMERIC DECIMAL PLACES
;;R^"864.1:","864.11:3",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^FILEMAN DATE INTERNAL FORMAT
;;R^"864.1:",.01,"E"
;;D^FILEMAN DATE INTERNAL FORMAT
;;R^"864.1:",.02,"E"
;;D^FM DATE
;;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 FileMan date in internal format
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^The valid format is a 7 digit number followed by 0-6 decimal places. The first 3 palces are (CURRENT YR-1700) followed by a 2 digit numeric month and a 2 digit numeric day; e.g. 2860131.184502
;;R^"864.1:","864.11:3",.01,"E"
;;D^DIALOGUE VALIDATION CODE
;;R^"864.1:","864.11:3",1,"E"
;;D^FMDATE^OCXFDFTE
;;EOR^
;;KEY^864.1:^NEW FILE ENTRY
;;R^"864.1:",.01,"E"
;;D^NEW FILE ENTRY
;;R^"864.1:",.02,"E"
;;D^NEW ENT
;;R^"864.1:","864.11:1",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:1",1,"E"
;;D^Enter the name for a new entry in the file
;;R^"864.1:","864.11:2",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:2",1,"E"
;;D^This must be between 1 and |FMAX| characters in length and must not yet exist as an entry in the file. Enter '??' to see previously selected choices.
;;R^"864.1:","864.11:3",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:3",1,"E"
;;D^NE^OCXFDNE
;;EOR^
;;KEY^864.1:^LIST OF VALUES
;;R^"864.1:",.01,"E"
;;D^LIST OF VALUES
;;R^"864.1:",.02,"E"
;;D^LIST
;;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^LI^OCXFDLI
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Select an entry from the list
;;R^"864.1:","864.11:3",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:3",1,"E"
;;D^Type a name from the list. Enter '??' to view the possible choices.
;;EOR^
;;KEY^864.1:^BOOLEAN
;;R^"864.1:",.01,"E"
;;D^BOOLEAN
;;R^"864.1:",.02,"E"
;;D^BOOL
;;EOR^
;;KEY^864.1:^DOT
;;R^"864.1:",.01,"E"
;;D^DOT
;;R^"864.1:",.02,"E"
;;D^DOT
;;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 'JUNE 3, 1992' in the desired format
;;R^"864.1:","864.11:2",.01,"E"
;;D^PROMPT
;;R^"864.1:","864.11:3",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:3",1,"E"
;;D^Remember, the date JUNE 3, 1992 must be entered in the desired format. Only uppercase letters should be used. No other date will work. Examples of valid date formats: 6/3/1992, 6.3.92, 3JUN92, etc.
;;R^"864.1:","864.11:4",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:4",1,"E"
;;D^DOT^OCXFDDOT
;;EOR^
;;EOF^OCXS(864.1)^1
;;SOF^863.7 OCX MDD PUBLIC FUNCTION
;;KEY^863.7:^CLASS TO FUNCTION
;;R^"863.7:",.01,"E"
;;D^CLASS TO FUNCTION
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Converts a class IEN to a file number
;;R^"863.7:",3,"E"
;;D^CONF^OCXF
;;R^"863.7:","863.74:1",.01,"E"
;;D^CLASS NUMBER
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^X
;;EOR^
;;KEY^863.7:^FILE TO CLASS
;;R^"863.7:",.01,"E"
;;D^FILE TO CLASS
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Converts a FileMan file number to the IEN of an entry in the class file
;;R^"863.7:",3,"E"
;;D^CONV^OCXF
;;EOR^
;;KEY^863.7:^QUOTE DOUBLER
;;R^"863.7:",.01,"E"
;;D^QUOTE DOUBLER
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Doubles all the quotation marks in a string
;;R^"863.7:",3,"E"
;;D^QT^OCXF
;;EOR^
;;KEY^863.7:^UPPER CASE
;;R^"863.7:",.01,"E"
;;D^UPPER CASE
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Convert a string to all upper case characters
;;R^"863.7:",3,"E"
;;D^UC^OCXF
;;R^"863.7:","863.74:1",.01,"E"
;;D^TEXT STRING
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^X
;;EOR^
;;KEY^863.7:^LOWER CASE
;;R^"863.7:",.01,"E"
;;D^LOWER CASE
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Converts a text string to all lowercase characters
;;R^"863.7:",3,"E"
;;D^LC^OCXF
;;R^"863.7:","863.74:1",.01,"E"
;;D^TEXT STRING
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;R^"863.7:","863.74:1",1.2,"E"
;;D^X
;;EOR^
;;KEY^863.7:^HEADER LINE
;;R^"863.7:",.01,"E"
;;D^HEADER LINE
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",1,"E"
;;D^Convert a text string into a header line
;1;
;
OCXDI01B ;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 ^OCXDI01C
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"864.1:",.01,"E"
+3 ;;D^POSITIVE INTEGER
+4 ;;R^"864.1:",.02,"E"
+5 ;;D^POSINT
+6 ;;R^"864.1:",2,"E"
+7 ;;D^NUMERIC
+8 ;;R^"864.1:","864.11:1",.01,"E"
+9 ;;D^QUERY
+10 ;;R^"864.1:","864.11:1",1,"E"
+11 ;;D^Enter a positive integer
+12 ;;R^"864.1:","864.11:2",.01,"E"
+13 ;;D^NUMERIC MINIMUM
+14 ;;R^"864.1:","864.11:2",1,"E"
+15 ;;D^0
+16 ;;R^"864.1:","864.11:3",.01,"E"
+17 ;;D^NUMERIC DECIMAL PLACES
+18 ;;R^"864.1:","864.11:3",1,"E"
+19 ;;D^0
+20 ;;EOR^
+21 ;;KEY^864.1:^FILEMAN DATE INTERNAL FORMAT
+22 ;;R^"864.1:",.01,"E"
+23 ;;D^FILEMAN DATE INTERNAL FORMAT
+24 ;;R^"864.1:",.02,"E"
+25 ;;D^FM DATE
+26 ;;R^"864.1:",2,"E"
+27 ;;D^FREE TEXT
+28 ;;R^"864.1:","864.11:1",.01,"E"
+29 ;;D^QUERY
+30 ;;R^"864.1:","864.11:1",1,"E"
+31 ;;D^Enter a FileMan date in internal format
+32 ;;R^"864.1:","864.11:2",.01,"E"
+33 ;;D^HELP MESSAGE
+34 ;;R^"864.1:","864.11:2",1,"E"
+35 ;;D^The valid format is a 7 digit number followed by 0-6 decimal places. The first 3 palces are (CURRENT YR-1700) followed by a 2 digit numeric month and a 2 digit numeric day; e.g. 2860131.184502
+36 ;;R^"864.1:","864.11:3",.01,"E"
+37 ;;D^DIALOGUE VALIDATION CODE
+38 ;;R^"864.1:","864.11:3",1,"E"
+39 ;;D^FMDATE^OCXFDFTE
+40 ;;EOR^
+41 ;;KEY^864.1:^NEW FILE ENTRY
+42 ;;R^"864.1:",.01,"E"
+43 ;;D^NEW FILE ENTRY
+44 ;;R^"864.1:",.02,"E"
+45 ;;D^NEW ENT
+46 ;;R^"864.1:","864.11:1",.01,"E"
+47 ;;D^QUERY
+48 ;;R^"864.1:","864.11:1",1,"E"
+49 ;;D^Enter the name for a new entry in the file
+50 ;;R^"864.1:","864.11:2",.01,"E"
+51 ;;D^HELP MESSAGE
+52 ;;R^"864.1:","864.11:2",1,"E"
+53 ;;D^This must be between 1 and |FMAX| characters in length and must not yet exist as an entry in the file. Enter '??' to see previously selected choices.
+54 ;;R^"864.1:","864.11:3",.01,"E"
+55 ;;D^VALUE CALL
+56 ;;R^"864.1:","864.11:3",1,"E"
+57 ;;D^NE^OCXFDNE
+58 ;;EOR^
+59 ;;KEY^864.1:^LIST OF VALUES
+60 ;;R^"864.1:",.01,"E"
+61 ;;D^LIST OF VALUES
+62 ;;R^"864.1:",.02,"E"
+63 ;;D^LIST
+64 ;;R^"864.1:",2,"E"
+65 ;;D^GENERIC
+66 ;;R^"864.1:","864.11:1",.01,"E"
+67 ;;D^VALUE CALL
+68 ;;R^"864.1:","864.11:1",1,"E"
+69 ;;D^LI^OCXFDLI
+70 ;;R^"864.1:","864.11:2",.01,"E"
+71 ;;D^QUERY
+72 ;;R^"864.1:","864.11:2",1,"E"
+73 ;;D^Select an entry from the list
+74 ;;R^"864.1:","864.11:3",.01,"E"
+75 ;;D^HELP MESSAGE
+76 ;;R^"864.1:","864.11:3",1,"E"
+77 ;;D^Type a name from the list. Enter '??' to view the possible choices.
+78 ;;EOR^
+79 ;;KEY^864.1:^BOOLEAN
+80 ;;R^"864.1:",.01,"E"
+81 ;;D^BOOLEAN
+82 ;;R^"864.1:",.02,"E"
+83 ;;D^BOOL
+84 ;;EOR^
+85 ;;KEY^864.1:^DOT
+86 ;;R^"864.1:",.01,"E"
+87 ;;D^DOT
+88 ;;R^"864.1:",.02,"E"
+89 ;;D^DOT
+90 ;;R^"864.1:",2,"E"
+91 ;;D^GENERIC
+92 ;;R^"864.1:","864.11:1",.01,"E"
+93 ;;D^QUERY
+94 ;;R^"864.1:","864.11:1",1,"E"
+95 ;;D^Enter 'JUNE 3, 1992' in the desired format
+96 ;;R^"864.1:","864.11:2",.01,"E"
+97 ;;D^PROMPT
+98 ;;R^"864.1:","864.11:3",.01,"E"
+99 ;;D^HELP MESSAGE
+100 ;;R^"864.1:","864.11:3",1,"E"
+101 ;;D^Remember, the date JUNE 3, 1992 must be entered in the desired format. Only uppercase letters should be used. No other date will work. Examples of valid date formats: 6/3/1992, 6.3.92, 3JUN92, etc.
+102 ;;R^"864.1:","864.11:4",.01,"E"
+103 ;;D^VALUE CALL
+104 ;;R^"864.1:","864.11:4",1,"E"
+105 ;;D^DOT^OCXFDDOT
+106 ;;EOR^
+107 ;;EOF^OCXS(864.1)^1
+108 ;;SOF^863.7 OCX MDD PUBLIC FUNCTION
+109 ;;KEY^863.7:^CLASS TO FUNCTION
+110 ;;R^"863.7:",.01,"E"
+111 ;;D^CLASS TO FUNCTION
+112 ;;R^"863.7:",.02,"E"
+113 ;;D^EXTRINSIC FUNCTION
+114 ;;R^"863.7:",1,"E"
+115 ;;D^Converts a class IEN to a file number
+116 ;;R^"863.7:",3,"E"
+117 ;;D^CONF^OCXF
+118 ;;R^"863.7:","863.74:1",.01,"E"
+119 ;;D^CLASS NUMBER
+120 ;;R^"863.7:","863.74:1",1.1,"E"
+121 ;;D^1
+122 ;;R^"863.7:","863.74:1",1.2,"E"
+123 ;;D^X
+124 ;;EOR^
+125 ;;KEY^863.7:^FILE TO CLASS
+126 ;;R^"863.7:",.01,"E"
+127 ;;D^FILE TO CLASS
+128 ;;R^"863.7:",.02,"E"
+129 ;;D^EXTRINSIC FUNCTION
+130 ;;R^"863.7:",1,"E"
+131 ;;D^Converts a FileMan file number to the IEN of an entry in the class file
+132 ;;R^"863.7:",3,"E"
+133 ;;D^CONV^OCXF
+134 ;;EOR^
+135 ;;KEY^863.7:^QUOTE DOUBLER
+136 ;;R^"863.7:",.01,"E"
+137 ;;D^QUOTE DOUBLER
+138 ;;R^"863.7:",.02,"E"
+139 ;;D^EXTRINSIC FUNCTION
+140 ;;R^"863.7:",1,"E"
+141 ;;D^Doubles all the quotation marks in a string
+142 ;;R^"863.7:",3,"E"
+143 ;;D^QT^OCXF
+144 ;;EOR^
+145 ;;KEY^863.7:^UPPER CASE
+146 ;;R^"863.7:",.01,"E"
+147 ;;D^UPPER CASE
+148 ;;R^"863.7:",.02,"E"
+149 ;;D^EXTRINSIC FUNCTION
+150 ;;R^"863.7:",1,"E"
+151 ;;D^Convert a string to all upper case characters
+152 ;;R^"863.7:",3,"E"
+153 ;;D^UC^OCXF
+154 ;;R^"863.7:","863.74:1",.01,"E"
+155 ;;D^TEXT STRING
+156 ;;R^"863.7:","863.74:1",1.1,"E"
+157 ;;D^1
+158 ;;R^"863.7:","863.74:1",1.2,"E"
+159 ;;D^X
+160 ;;EOR^
+161 ;;KEY^863.7:^LOWER CASE
+162 ;;R^"863.7:",.01,"E"
+163 ;;D^LOWER CASE
+164 ;;R^"863.7:",.02,"E"
+165 ;;D^EXTRINSIC FUNCTION
+166 ;;R^"863.7:",1,"E"
+167 ;;D^Converts a text string to all lowercase characters
+168 ;;R^"863.7:",3,"E"
+169 ;;D^LC^OCXF
+170 ;;R^"863.7:","863.74:1",.01,"E"
+171 ;;D^TEXT STRING
+172 ;;R^"863.7:","863.74:1",1.1,"E"
+173 ;;D^1
+174 ;;R^"863.7:","863.74:1",1.2,"E"
+175 ;;D^X
+176 ;;EOR^
+177 ;;KEY^863.7:^HEADER LINE
+178 ;;R^"863.7:",.01,"E"
+179 ;;D^HEADER LINE
+180 ;;R^"863.7:",.02,"E"
+181 ;;D^EXTRINSIC FUNCTION
+182 ;;R^"863.7:",1,"E"
+183 ;;D^Convert a text string into a header line
+184 ;1;
+185 ;