1 | ZIBERCD ;DJM;DISPLAY ERROR CODE DEFINITIONS;[ 8/13/89 4:00 PM ]
|
---|
2 | ;;4.0;XB;;Jul 20, 2009;Build 2
|
---|
3 | ; COPYRIGHT MICRONETICS DESIGN CORP @1990
|
---|
4 | S $ZT="ERR^ZIBERCD"
|
---|
5 | W !?10,$P($P($ZV,","),"-")," - Error Code Description Utility"
|
---|
6 | N EC,EXP,I
|
---|
7 | CODE ;
|
---|
8 | W !!,"Error code: " R EC G:EC="^Q"!(EC="^q")!("^"[EC) EXIT
|
---|
9 | G MM:EC?1.N1":"1.N,ZV:EC?1.N,TXT:EC?1"<"5U1">",DISP:EC?5U
|
---|
10 | W !,*7,?5,"Enter error code in following format:"
|
---|
11 | W !,?7,"major:minor",?28,"Example: 4:1"
|
---|
12 | W !,?7,"<text>",?28,"Example: <SYNTX>"
|
---|
13 | W !,?7,"nnn",?28,"Error code from $ZVERIFY(), ex: 21"
|
---|
14 | G CODE
|
---|
15 | MM ;major:minor
|
---|
16 | S EC=$P(EC,":")_$P(EC,":",2) G DISP
|
---|
17 | ZV ;$ZV
|
---|
18 | S EC=99_EC G DISP
|
---|
19 | TXT ;<text>
|
---|
20 | S EC=$E(EC,2,6)
|
---|
21 | DISP ;
|
---|
22 | S EXP=$T(@EC) I EXP="" W *7," ... no such error code on file" G CODE
|
---|
23 | W !,?5,$P(EXP,";",2,99)
|
---|
24 | F I=1:1 S EXP=$T(@EC+I) Q:EXP=""!($P(EXP," ")'="") W !,?5,$P(EXP,";",2,99)
|
---|
25 | G CODE
|
---|
26 | EXIT ;
|
---|
27 | Q
|
---|
28 | ERR ;
|
---|
29 | I $F($ZE,"<INRPT>") U 0 W !!,"...Aborted." D EXIT V 0:$J:$ZB($V(0,$J,2),#0400,7):2
|
---|
30 | ZQ
|
---|
31 | ;error codes
|
---|
32 | 21 ; missing parenthesis
|
---|
33 | 22 ; missing or bad colon
|
---|
34 | 23 ; missing or bad equal
|
---|
35 | 24 ; missing or bad local variable
|
---|
36 | 25 ; missing or bad global variable
|
---|
37 | 26 ; missing or bad function
|
---|
38 | 27 ; missing or bad routine name
|
---|
39 | 28 ; missing or bad routine label
|
---|
40 | 29 ; missing or bad routine displacement
|
---|
41 | 210 ; indirect argument error
|
---|
42 | 211 ; argument condition error
|
---|
43 | 212 ; bad argument delimiter
|
---|
44 | 213 ; bad command
|
---|
45 | 30 ; bad special variable name
|
---|
46 | 31 ; bad system function
|
---|
47 | 32 ; bad local variable name
|
---|
48 | 33 ; bad global variable
|
---|
49 | 34 ; bad string constant
|
---|
50 | 35 ; bad numeric constant
|
---|
51 | 36 ; unbalanced parenthesis
|
---|
52 | 37 ; invalid systax in term
|
---|
53 | 38 ; bad operator
|
---|
54 | 39 ; bad delimiter
|
---|
55 | 40 ; undefined local variable
|
---|
56 | 41 ; undefined global variable
|
---|
57 | 42 ; undefined routine label
|
---|
58 | 43 ; undefined routine name
|
---|
59 | 44 ; bad naked reference
|
---|
60 | 45 ; non-existant device
|
---|
61 | 46 ; unsubscripted local reference required
|
---|
62 | 47 ; variable reference required.. no expressions
|
---|
63 | 48 ; zload/zremove command not inside of execute string
|
---|
64 | 49 ; undefined uci reference
|
---|
65 | 410 ; insertion of null line is illegal
|
---|
66 | 411 ; unknown data type
|
---|
67 | 412 ; missing parameter
|
---|
68 | 413 ; undefined system reference
|
---|
69 | 414 ; global access protection violation
|
---|
70 | 415 ; VIEW command restriction
|
---|
71 | 416 ; ZCALL error
|
---|
72 | 417 ; Formal List not entered via DO command
|
---|
73 | 418 ; QUIT with argument inside FOR scope
|
---|
74 | 419 ; QUIT with argument, but routine not extrinsic
|
---|
75 | 420 ; argumentless QUIT, but routine was extrinsic
|
---|
76 | 421 ; end of extrinsic subroutine encountered without QUIT parm
|
---|
77 | 422 ; label requires a Formal List
|
---|
78 | 423 ; Actual List contains more parms than Formal List
|
---|
79 | 424 ; Formal List parameter is subscripted variable
|
---|
80 | 425 ; duplicate variable name in Formal List
|
---|
81 | 426 ; passing a value by reference in JOB command not allowed
|
---|
82 | 50 ; string exceeded maximum length
|
---|
83 | ; 4092 for locals, 255 for globals
|
---|
84 | 51 ; select function error (all elements evaluated to FALSE)
|
---|
85 | 52 ; attempt to divide by zero
|
---|
86 | 53 ; negative number where only zero or positive values allowed
|
---|
87 | 54 ; maximum number
|
---|
88 | 55 ; attempt to access a non-opened device
|
---|
89 | 56 ; maximum memory
|
---|
90 | 57 ; string value required
|
---|
91 | 58 ; name indirection resulted in null value
|
---|
92 | 59 ; name indirection resolved into more than pure variable name
|
---|
93 | ; ex: SET X=@Y where Y="ABC+2" (the '+2' is illegal)
|
---|
94 | 510 ; selected partition not active ($VIEW)
|
---|
95 | 511 ; invalid VIEW/$VIEW() parameter
|
---|
96 | 512 ; function parameter out of range
|
---|
97 | 513 ; subscript contains $C(0), or is null, or total global reference
|
---|
98 | ; exceeds 255 characters (including delimiters)
|
---|
99 | 514 ; attempt to read/write file when file not opened for that access
|
---|
100 | ; ex: writing to a file that is opened for input
|
---|
101 | ; reading from a file that is opened for output
|
---|
102 | ; reading from a file that is opened for input but was not found
|
---|
103 | ; during open processing ($ZA/$ZB indicate if file was found)
|
---|
104 | 515 ; invalid kanji or compressed shiftjis char
|
---|
105 | 516 ; not allowed to write to block 0
|
---|
106 | 517 ; invalid use of shared mode on VIEW buffer
|
---|
107 | 60 ; break key depressed
|
---|
108 | 61 ; attempt to exceed partition size limit set at 'logon' time
|
---|
109 | 62 ; halt command executed
|
---|
110 | 63 ; lock table full
|
---|
111 | 64 ; BREAK command detected
|
---|
112 | 65 ; expression stack overflowed (expression too complex or operands of
|
---|
113 | ; string operations too long)
|
---|
114 | 66 ; system stack overflow (DO/XECUTE/INDIRECTION nesting is too deep)
|
---|
115 | 67 ; old pcode.. need to ZLOAD and ZSAVE (run the %RELOAD utility)
|
---|
116 | 68 ; ddp error
|
---|
117 | ; can be caused by: SET X="XECUTE X" X X
|
---|
118 | 69 ; reserved for DDP internal use
|
---|
119 | 610 ; DDP database access inhibited
|
---|
120 | 611 ; MUMPS to MUMPS communication failure
|
---|
121 | 612 ; I/O error on terminal operation
|
---|
122 | 613 ; I/O error on magnetic tape operation
|
---|
123 | 614 ; pcode too long to fit in one block
|
---|
124 | 615 ; ZQUIT error
|
---|
125 | 616 ; DDP circuit disabled
|
---|
126 | 71 ; bad block type in global directory block
|
---|
127 | 72 ; bad block type in pointer block
|
---|
128 | 73 ; bad block type in global data block
|
---|
129 | 74 ; bad block type in extended global data block
|
---|
130 | 75 ; bad block type in routine directory block
|
---|
131 | 76 ; bad block type in routine header block
|
---|
132 | 77 ; bad block type in routine block
|
---|
133 | 78 ; bad block type in map block
|
---|
134 | 79 ; bad block type in journal block
|
---|
135 | 710 ; bad block type in sequential-block-processor block
|
---|
136 | 711 ; hardware i/o error (unable to read/write database block)
|
---|
137 | 712 ; disk full (if this occurs on a SET of a global variable, you MUST
|
---|
138 | ; use ^VALIDATE in Manager's UCI to validate the global since it
|
---|
139 | ; is likely that the global has become corrupt since the SET did
|
---|
140 | ; not complete normally (you may need to use ^DBFIX to correct)
|
---|
141 | 713 ; mismatch of block number id in block header
|
---|
142 | 714 ; global data/pointer block 'string+key' is too long, proper
|
---|
143 | ; block split can't be performed
|
---|
144 | 715 ; unable to open database
|
---|
145 | 716 ; block being freed already marked as free
|
---|
146 | ; use ^VALIDATE and ^DBFIX in manager's UCI to correct problem
|
---|
147 | 717 ; invalid block number to driver
|
---|
148 | BKERR ; BREAK command was executed
|
---|
149 | CMMND ; illegal or undefined command
|
---|
150 | CLOBR ; zload/zremove command not inside execute statement
|
---|
151 | DDPER ; ddp error
|
---|
152 | DIVER ; attempt to divide by zero
|
---|
153 | DKFUL ; all space on the disk has been exhausted
|
---|
154 | DKHER ; disk physical i/o error (can't read/write a block in database)
|
---|
155 | DKSER ; incorrect block type in block header (ex: reading in a 'data'
|
---|
156 | ; block but header in block indicates a 'directory' block)
|
---|
157 | ; use ^VALIDATE and ^DBFIX in manager's UCI to correct problem
|
---|
158 | DPARM ; invalid use of parameter passing
|
---|
159 | DSCON ; telephone associated with the device has been disconnected
|
---|
160 | FUNCT ; illegal or undefined function
|
---|
161 | INDER ; invalid use of the indirection operator
|
---|
162 | INRPT ; control-c or 'break' key detected
|
---|
163 | ISYNT ; invalid syntax of a line being ZINERTed into a routine
|
---|
164 | LINER ; reference made to a non-existent label
|
---|
165 | MAPER ; blk being freed already marked as free
|
---|
166 | MINUS ; positive number was expected
|
---|
167 | MODER ; read/write to file when incorrect read/write mode
|
---|
168 | MSMCX ; in memory communication path between tasks has been interrupted
|
---|
169 | MTERR ; magnetic tape Inpt/Output error
|
---|
170 | MXNUM ; number is greater than maximum allowed
|
---|
171 | MXMEM ; invalid memory specification in VIEW cmnd
|
---|
172 | MXSTR ; string exceeds maximum length
|
---|
173 | NAKED ; naked reference is invalid
|
---|
174 | NODEV ; attempt to open an undefined device
|
---|
175 | NOMEM ; attempt to access a nonexistant or protected memory location
|
---|
176 | NOPEN ; attempt to use an unopened device
|
---|
177 | NOPGM ; routine not found in directory
|
---|
178 | NOSYS ; reference to a non-existent volume group through extended global notation
|
---|
179 | NOUCI ; reference to a non-existent UCI through extended global notation
|
---|
180 | PCERR ; invalid post-conditioned
|
---|
181 | PGMOV ; no memory left in partition
|
---|
182 | PLDER ; old pcode.. need to ZLOAD and ZSAVE (run the %RELOAD utility)
|
---|
183 | SBSCR ; invalid subscript specfication
|
---|
184 | SYNTX ; invalid syntax in expression, command, etc
|
---|
185 | SYSTM ; system error (should not occur)
|
---|
186 | UNDEF ; local or global reference is undefined
|
---|
187 | PROT ; access protection violation
|
---|
188 | SBSCR ; invalid subscript in a local or global variable
|
---|
189 | STKOV ; system stack has overflowed due to nested indirection, program loop, etc.
|
---|
190 | SYNTX ; a syntax error has been encountered by the interperter
|
---|
191 | SYSTM ; an internal MUMPS error, shutdown system and reboot
|
---|
192 | VWERR ; invalid use of the shared VIEW buffer mode
|
---|
193 | ZCERR ; old pcode.. need to ZLOAD and ZSAVE
|
---|
194 | ZLZSV ; old pcode.. need to ZLOAD and ZSAVE
|
---|
195 | BADCH ; invalid kanji/shiftjis character
|
---|
196 | 99 ; buffer validation error codes
|
---|
197 | 991 ; unknown block type
|
---|
198 | 992 ; unknown data type in block
|
---|
199 | 993 ; block type mis-match of descendent block
|
---|
200 | 994 ; block not marked allocated in map block
|
---|
201 | 995 ; right hand link doesnt match next downlink of ptr
|
---|
202 | 996 ; block number field in block is incorrect
|
---|
203 | 9910 ; non-zero common count for leading key in blk
|
---|
204 | 9911 ; zero length unique part of key
|
---|
205 | 9912 ; common > common+unique of previous key
|
---|
206 | 9920 ; length of leading key doesnt match expected value
|
---|
207 | 9921 ; leading key doesnt match expected value
|
---|
208 | 9930 ; keys not in ascending order
|
---|
209 | 9931 ; key not higher than high key in subtree
|
---|
210 | 9940 ; hdrnext() inconsistent with actual end
|
---|
211 | 9950 ; zero pointer to lower level
|
---|
212 | 9951 ; cyclic loop in pointer block(s)
|
---|
213 | 9952 ; cyclic loop in right link of routine blocks
|
---|
214 | 9960 ; incorrect offset to first free slot in map block
|
---|
215 | 9961 ; incorrect free count in map block
|
---|
216 | 9963 ; map block in illegal location (valid: 1, 513, ... 512*n+1)
|
---|
217 | 9964 ; map block not allocated to SYSTEM
|
---|