[613] | 1 | OCXDI01A ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
|
---|
| 2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
|
---|
| 3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
| 4 | ;
|
---|
| 5 | S ;
|
---|
| 6 | ;
|
---|
| 7 | D DOT^OCXDIAG
|
---|
| 8 | ;
|
---|
| 9 | ;
|
---|
| 10 | K REMOTE,LOCAL,OPCODE,REF
|
---|
| 11 | F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
|
---|
| 12 | .S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
|
---|
| 13 | ;
|
---|
| 14 | G ^OCXDI01B
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;EOR^
|
---|
| 21 | ;;KEY^864.1:^LINE TAG
|
---|
| 22 | ;;R^"864.1:",.01,"E"
|
---|
| 23 | ;;D^LINE TAG
|
---|
| 24 | ;;R^"864.1:",.02,"E"
|
---|
| 25 | ;;D^TAG
|
---|
| 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^Entry reference (e.g., TAG^ROUTINE)
|
---|
| 32 | ;;R^"864.1:","864.11:3",.01,"E"
|
---|
| 33 | ;;D^HELP MESSAGE
|
---|
| 34 | ;;R^"864.1:","864.11:3",1,"E"
|
---|
| 35 | ;;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.
|
---|
| 36 | ;;R^"864.1:","864.11:5",.01,"E"
|
---|
| 37 | ;;D^DIALOGUE VALIDATION CODE
|
---|
| 38 | ;;R^"864.1:","864.11:5",1,"E"
|
---|
| 39 | ;;D^TAG^OCXFDFTE
|
---|
| 40 | ;;R^"864.1:","864.11:6",.01,"E"
|
---|
| 41 | ;;D^VALUE CALL
|
---|
| 42 | ;;R^"864.1:","864.11:6",1,"E"
|
---|
| 43 | ;;D^FT^OCXFDFT
|
---|
| 44 | ;;R^"864.1:","864.11:7",.01,"E"
|
---|
| 45 | ;;D^REPEAT THE QUERY
|
---|
| 46 | ;;R^"864.1:","864.11:7",1,"E"
|
---|
| 47 | ;;D^0
|
---|
| 48 | ;;R^"864.1:","864.11:8",.01,"E"
|
---|
| 49 | ;;D^LOOP QUERY
|
---|
| 50 | ;;R^"864.1:","864.11:8",1,"E"
|
---|
| 51 | ;;D^Enter another entry reference
|
---|
| 52 | ;;EOR^
|
---|
| 53 | ;;KEY^864.1:^ENTRY REFERENCE
|
---|
| 54 | ;;R^"864.1:",.01,"E"
|
---|
| 55 | ;;D^ENTRY REFERENCE
|
---|
| 56 | ;;R^"864.1:",.02,"E"
|
---|
| 57 | ;;D^ENT REF
|
---|
| 58 | ;;R^"864.1:",2,"E"
|
---|
| 59 | ;;D^FREE TEXT
|
---|
| 60 | ;;R^"864.1:","864.11:1",.01,"E"
|
---|
| 61 | ;;D^QUERY
|
---|
| 62 | ;;R^"864.1:","864.11:1",1,"E"
|
---|
| 63 | ;;D^Entry reference (e.g., TAG^ROUTINE)
|
---|
| 64 | ;;R^"864.1:","864.11:2",.01,"E"
|
---|
| 65 | ;;D^HELP MESSAGE
|
---|
| 66 | ;;R^"864.1:","864.11:2",1,"E"
|
---|
| 67 | ;;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.
|
---|
| 68 | ;;R^"864.1:","864.11:4",.01,"E"
|
---|
| 69 | ;;D^DIALOGUE VALIDATION CODE
|
---|
| 70 | ;;R^"864.1:","864.11:4",1,"E"
|
---|
| 71 | ;;D^EREF^OCXFDFTE
|
---|
| 72 | ;;EOR^
|
---|
| 73 | ;;KEY^864.1:^CODE STRING
|
---|
| 74 | ;;R^"864.1:",.01,"E"
|
---|
| 75 | ;;D^CODE STRING
|
---|
| 76 | ;;R^"864.1:",.02,"E"
|
---|
| 77 | ;;D^CODE
|
---|
| 78 | ;;R^"864.1:",2,"E"
|
---|
| 79 | ;;D^FREE TEXT
|
---|
| 80 | ;;R^"864.1:","864.11:1",.01,"E"
|
---|
| 81 | ;;D^QUERY
|
---|
| 82 | ;;R^"864.1:","864.11:1",1,"E"
|
---|
| 83 | ;;D^Enter a "Set of Codes" string
|
---|
| 84 | ;;R^"864.1:","864.11:2",.01,"E"
|
---|
| 85 | ;;D^HELP MESSAGE
|
---|
| 86 | ;;R^"864.1:","864.11:2",1,"E"
|
---|
| 87 | ;;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.
|
---|
| 88 | ;;R^"864.1:","864.11:5",.01,"E"
|
---|
| 89 | ;;D^DIALOGUE VALIDATION CODE
|
---|
| 90 | ;;R^"864.1:","864.11:5",1,"E"
|
---|
| 91 | ;;D^SCODE^OCXFDFTE
|
---|
| 92 | ;;R^"864.1:","864.11:6",.01,"E"
|
---|
| 93 | ;;D^ERROR MESSAGE
|
---|
| 94 | ;;R^"864.1:","864.11:6",1,"E"
|
---|
| 95 | ;;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.
|
---|
| 96 | ;;R^"864.1:","864.11:7",.01,"E"
|
---|
| 97 | ;;D^VALUE CALL
|
---|
| 98 | ;;R^"864.1:","864.11:7",1,"E"
|
---|
| 99 | ;;D^CS^OCXFDCS
|
---|
| 100 | ;;R^"864.1:","864.11:8",.01,"E"
|
---|
| 101 | ;;D^REPEAT THE QUERY
|
---|
| 102 | ;;R^"864.1:","864.11:8",1,"E"
|
---|
| 103 | ;;D^0
|
---|
| 104 | ;;EOR^
|
---|
| 105 | ;;KEY^864.1:^OPEN REFERENCE
|
---|
| 106 | ;;R^"864.1:",.01,"E"
|
---|
| 107 | ;;D^OPEN REFERENCE
|
---|
| 108 | ;;R^"864.1:",.02,"E"
|
---|
| 109 | ;;D^OREF
|
---|
| 110 | ;;R^"864.1:",2,"E"
|
---|
| 111 | ;;D^FREE TEXT
|
---|
| 112 | ;;R^"864.1:","864.11:1",.01,"E"
|
---|
| 113 | ;;D^QUERY
|
---|
| 114 | ;;R^"864.1:","864.11:1",1,"E"
|
---|
| 115 | ;;D^Enter a valid open reference
|
---|
| 116 | ;;R^"864.1:","864.11:2",.01,"E"
|
---|
| 117 | ;;D^HELP MESSAGE
|
---|
| 118 | ;;R^"864.1:","864.11:2",1,"E"
|
---|
| 119 | ;;D^An open reference has the format ^X(3, or ^ZZZ( or the local variable equivalent
|
---|
| 120 | ;;R^"864.1:","864.11:3",.01,"E"
|
---|
| 121 | ;;D^DIALOGUE VALIDATION CODE
|
---|
| 122 | ;;R^"864.1:","864.11:3",1,"E"
|
---|
| 123 | ;;D^OREF^OCXFDFTE
|
---|
| 124 | ;;EOR^
|
---|
| 125 | ;;KEY^864.1:^CLOSED REFERENCE
|
---|
| 126 | ;;R^"864.1:",.01,"E"
|
---|
| 127 | ;;D^CLOSED REFERENCE
|
---|
| 128 | ;;R^"864.1:",.02,"E"
|
---|
| 129 | ;;D^CREF
|
---|
| 130 | ;;R^"864.1:",2,"E"
|
---|
| 131 | ;;D^FREE TEXT
|
---|
| 132 | ;;R^"864.1:","864.11:1",.01,"E"
|
---|
| 133 | ;;D^QUERY
|
---|
| 134 | ;;R^"864.1:","864.11:1",1,"E"
|
---|
| 135 | ;;D^Enter a local or global reference
|
---|
| 136 | ;;R^"864.1:","864.11:2",.01,"E"
|
---|
| 137 | ;;D^HELP MESSAGE
|
---|
| 138 | ;;R^"864.1:","864.11:2",1,"E"
|
---|
| 139 | ;;D^This is a full local or global reference; e.g., ^XXX(3,5) or ^XXX or VAR(4) or VAR.
|
---|
| 140 | ;;R^"864.1:","864.11:4",.01,"E"
|
---|
| 141 | ;;D^DIALOGUE VALIDATION CODE
|
---|
| 142 | ;;R^"864.1:","864.11:4",1,"E"
|
---|
| 143 | ;;D^CREF^OCXFDFTE
|
---|
| 144 | ;;R^"864.1:","864.11:5",.01,"E"
|
---|
| 145 | ;;D^VALUE CALL
|
---|
| 146 | ;;R^"864.1:","864.11:5",1,"E"
|
---|
| 147 | ;;D^FT^OCXFDFT
|
---|
| 148 | ;;R^"864.1:","864.11:6",.01,"E"
|
---|
| 149 | ;;D^REPEAT THE QUERY
|
---|
| 150 | ;;R^"864.1:","864.11:6",1,"E"
|
---|
| 151 | ;;D^0
|
---|
| 152 | ;;R^"864.1:","864.11:7",.01,"E"
|
---|
| 153 | ;;D^LOOP QUERY
|
---|
| 154 | ;;R^"864.1:","864.11:7",1,"E"
|
---|
| 155 | ;;D^Enter another closed reference
|
---|
| 156 | ;;EOR^
|
---|
| 157 | ;;KEY^864.1:^FILEMAN DD LOCATION
|
---|
| 158 | ;;R^"864.1:",.01,"E"
|
---|
| 159 | ;;D^FILEMAN DD LOCATION
|
---|
| 160 | ;;R^"864.1:",.02,"E"
|
---|
| 161 | ;;D^FM DD
|
---|
| 162 | ;;R^"864.1:",2,"E"
|
---|
| 163 | ;;D^FREE TEXT
|
---|
| 164 | ;;R^"864.1:","864.11:1",.01,"E"
|
---|
| 165 | ;;D^QUERY
|
---|
| 166 | ;;R^"864.1:","864.11:1",1,"E"
|
---|
| 167 | ;;D^Enter Data Dictionary location ("file#,field#")
|
---|
| 168 | ;;R^"864.1:","864.11:2",.01,"E"
|
---|
| 169 | ;;D^HELP MESSAGE
|
---|
| 170 | ;;R^"864.1:","864.11:2",1,"E"
|
---|
| 171 | ;;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.
|
---|
| 172 | ;;R^"864.1:","864.11:5",.01,"E"
|
---|
| 173 | ;;D^DIALOGUE VALIDATION CODE
|
---|
| 174 | ;;R^"864.1:","864.11:5",1,"E"
|
---|
| 175 | ;;D^FMDD^OCXFDFTE
|
---|
| 176 | ;;EOR^
|
---|
| 177 | ;;KEY^864.1:^POSITIVE INTEGER
|
---|
| 178 | ;1;
|
---|
| 179 | ;
|
---|