CALL OTSERR( IERR ) -- This subroutine provides the user with a means to generate OTS error messages and traceback information. IERR is the OTS error code, some of which are listed below. IERR Description 1 Invalid error call. 80 Wrong number of arguments. 81 Invalid argument. 98 User requested traceback. Available qualifiers are: MACRO How to put traceback information into a MACRO routine. NUMBERS Complete list of OTS errors. 3 MACRO To get the traceback information incorporated into a MACRO routine, include the following statements at the entry point. MOV NAME+2,-(SP) ;STORE LAST 3 CHARACTERS OF NAME MOV NAME,R4 ;AND FIRST 3 JSR R$,NAM$ ;SET NAME INTO TRACBACK LIST . . . NAME: .RAD50 /NAME / ;6 CHARACTER NAME IN RADIX-50. To note which line you're at, MOV #n,$SEQC ;FOR "at line n" MOV #-n,$SEQC ;FOR "at or after line n" 3 NUMBERS 1 Invalid error call 2 Task initialization failure 3 Odd address trap (SSTO) 4 Segment fault (SST1) 5 T-bit or BPT trap (SST2) 6 IOT trap (SST3) 7 Reserved instruction trap (SST4) 8 Non-RSX EMT trap (SST5) 9 TRAP instruction trap (SST6) 10 PDP-11/40 FIS trap (SST7) 11 FPP hardware fault 12 FPP illegal opcode trap 13 FPP undefined variable trap 14 FPP maintenance trap 20 REWIND error 21 Duplicate file specifications 22 Input record too long 23 BACKSPACE error 24 End-of-file during read 25 Record number outside range 26 Access mode not specified 27 More than one record in I/O statement 28 Close error 29 No such file 30 Open failure 31 Mixed file access modes 32 Invalid logical unit number 33 ENDFILE error 34 Unit already open 35 Segmented record format error 36 Attempt to access nonexistent record 37 Inconsistent record length 38 Error during write 39 Error during read 40 Recursive I/O operation 41 No buffer room 42 No such device 43 File name specification error 44 Inconsistent record type 45 Keyword value error in OPEN statement 46 Inconsistent OPEN/CLOSE parameters 47 Write to read-only file 48 Unsupport I/O operation 49 Invalid key specification 50 Inconsistent key change or duplicate key vlue 51 Inconsistent file organization 52 Specified record locked 53 No current record 54 REWRITE error 55 DELETE error 56 UNLOCK error 57 FIND error 59 List-directed I/O syntax error 60 Infinite format loop 61 Format/variable-type mismatch 62 Syntax error in format 63 Output conversion error 64 Input conversion error 65 Format too big for 'FMTBUF' 66 Output statement overflows record 67 Record too small for I/O list 68 Variable format expression value error 70 Integer overflow 71 Integer zero divide 72 Floating overflow 73 Floating zero divide 74 Floating underflow 75 FPP floating to integer conversion overflow 80 Wrong number of arguments 81 Invalid argument 82 Undefined exponentiation 83 Logarithm of zero or negative value 84 Square root of negative value 86 Invalid error number 91 Computed GOTO out of range 92 Assigned label not in list 93 Adjustable array dimension error 94 Array reference outside array 95 Incompatible FORTRAN object module in task 96 Missing format conversion routine 97 FTN FORTRAN error call 98 User requested traceback 100 Directive: Missing argument(s) 101 Directive: Invalid event flag number 111 Virtual array initialization failure 112 Virtual array mapping error