SPITBOL Error Codes #7634002 09/30/82 ABSTRACT The error codes returned by SPITBOL on CMS are given in this document. These error codes are extracted from SPITBOL Reference Manual (CMS Use Only), which is based on the University of California at Los Angeles SPITBOL manual. UCLA developed many features and external functions implemented in this version of SPITBOL. UCLA based part of this manual on the City University of New York "BATCH/SPITBOL" manual, which in turn was largely based on the original SPITBOL distribution manual by R.B.K.Dewar. _____________________ Spitbol Error Codes: 1.001 evaluated result of deferred argument to POS is not an integer 1.002 evaluated result of deferred argument to RPOS is not an integer 1.003 evaluated result of deferred argument to RTAB is not an integer 1.004 evaluated result of deferred argument to TAB is not an integer 1.005 evaluated result of deferred argument to LEN is not an integer 1.006 evaluated result of deferred argument to ANY is not a string 1.007 evaluated result of deferred argument to NOTANY is not a string 1.008 evaluated result of deferred argument to SPAN is not a string 1.009 evaluated result of deferred argument to BREAKX is not a string 1.010 evaluated result of deferred argument to BREAK is not a string 1.011 evaluated result of deferred expression used in a pattern match is not a string or pattern 1.012 value to be stored in a keyword is not an integer 1.013 real argument to loaded function is not a real 1.014 integer argument to loaded function is not an integer 1.015 string argument to loaded function is not a string 1.016 dreal argument to loaded function is not a dreal 1.017 operand of unary $ is not a name 1.018 replacing right hand side in a pattern replacement is not a string 1.019 subject of a pattern match is not a string 1.020 the pattern in a pattern match is not a pattern 1.021 subscript in reference to one dimensional array is not an integer 1.022 subscript in reference to a multi-dimensional array is not an integer 1.023 a field function was applied to an inappropriate program defined datatype 1.024 the left operand for alternation or concatenation is not a string or pattern 1.025 the right operand for alternation or concatenation is not a string or pattern 1.026 the argument to a field function is not a program defined datatype 1.027 an operand of binary + is non-numeric 1.028 an operand of binary - is non-numeric 1.029 an operand of binary * is non-numeric 1.030 an operand binary / is non-numeric 1.031 an argument to NE,EQ,LE,GE,LT,GT is non-numeric 1.032 an operand of binary ** is non-numeric 1.033 the operand of unary + is non-numeric SPITBOL Error Codes Page 2 1.034 the operand of unary - is non-numeric 1.035 first argument to LEQ,LNE,LGT,LLT,LGE or LLE is not a string 1.036 second argument to LEQ,LNE,LGT,LLT,LGE or LLE is not a string 1.037 argument to size is not a string 1.038 left operand of binary $ or . is not a pattern 1.039 argument to LEN is not an integer or expression 1.040 argument to POS is not an integer or expression 1.041 argument to TAB is not an integer or expression 1.042 argument to RPOS is not an integer or expression 1.043 argument to RTAB is not an integer or expression 1.044 argument to SPAN is not a string or expression 1.045 argument to BREAKX is not a string or expression 1.046 argument to BREAK is not a string or expression 1.047 argument to NOTANY is not a string or expression 1.048 argument to ANY is not a string or expression 1.049 argument to VALUE is not a string, name or correct programmer defined datatype 1.050 argument to ARBNO is not a pattern 1.051 first argument to APPLY is not the name of a function 1.052 first argument to ARG is not a name 1.053 second argument to ARG is not an integer 1.054 first argument to ARRAY is not a string 1.055 first argument to CLEAR is not a string 1.056 argument to CODE is not a string 1.057 argument to COLLECT is not an integer 1.058 second argument to CONVERT is not a string 1.059 argument to DATA is not a string 1.060 first argument to DEFINE is not a string 1.061 second argument to DEFINE is non-null and is not the name of a label 1.062 argument to DETACH is not the name of a natural variable 1.063 second argument to DUPL is not an integer 1.064 first argument to DUPL is not a string 1.065 argument to ENDFILE is not a string 1.066 argument to EVAL is not an expression (or a string, which could be converted into an expression) 1.067 first argument to FIELD is not a name 1.068 second argument to FIELD is not an integer 1.069 first argument to INPUT is not the name of a natural variable 1.070 file name (second argument) to INPUT is not a string 1.071 format specification (third argument) to INPUT is not an integer 1.072 argument to LOAD is not a string 1.073 first argument to LOC is not a name 1.074 second argument to LOC is not an integer 1.075 third argument to LPAD is not a string 1.076 second argument to LPAD is not an integer 1.077 first argument to LPAD is not a string 1.078 first argument to OPSYN is not the name of a natural variable 1.079 second argument to OPSYN is not a function name 1.080 first argument to OUTPUT is not the name of a natural variable 1.081 file name (second argument) for OUTPUT function is not a string. 1.082 format specification (third argument) for OUTPUT function is not a string 1.083 argument to PROTOTYPE is not an array or table 1.084 second argument to REMDR is not an integer SPITBOL Error Codes Page 3 1.085 first argument to REMDR is not an integer 1.086 third argument to REPLACE is not a string 1.087 second argument to REPLACE is not a string 1.088 first argument to REPLACE is not a string 1.089 argument to REVERSE is not a string 1.090 argument to REWIND is not a string 1.091 third argument to RPAD is not an integer 1.092 second argument to RPAD is not an integer 1.093 first argument to RPAD is not a string 1.094 argument to SETEXIT is not a label name 1.095 first argument to SUBSTR is not a string 1.096 second argument to SUBSTR is not an integer 1.097 third argument to SUBSTR is not an integer 1.098 argument to TABLE is not an integer 1.099 argument to TRIM is not a string 1.100 argument to UNLOAD is not the name of a function 2.101 failure of a statement having no conditional GOTO with -NOFAIL option in effect 3.001 array reference with one subscript refers to an object which is neither a table nor an array 3.002 multi-dimensional array reference refers to an object which is not an array 3.003 wrong number of subscripts in an array reference 4.001 attempted execution of a statement found erroneous by the compiler. 5.001 an attempt was made to reference the keyword attribute of a non-natural variable 5.002 reference to an undefined keyword 5.003 an attempt was made to change the value of a keyword associated with a non-natural variable 5.004 attempt to change the value of an undefined keyword 5.005 attempt to change the value of a protected keyword 6.001 overflow in main dynamic storage area. This can occur as a result of runaway recursion in pattern matching or function reference as well as from generation of too much data. 7.001 the evaluation of a complex GOTO failed 8.001 return from function level zero 8.002 transfer to an undefined label 8.003 a transfer to the label CONTINUE occured, but no previous error had been intercepted 8.004 a transfer to the label ABORT occured, but no previous error had been intercepted 8.005 name used as a GOTO operand is not the name of a natural variable 8.006 the operand of a direct GOTO is not code. 9.001 reference to an undefined function 9.002 use of the undefined operator -- unary / 9.003 use of the undefined operator -- binary & SPITBOL Error Codes Page 4 9.004 use of the undefined operator -- binary ^ 9.005 use of the undefined operator -- binary @ 9.006 use of the undefined operator -- unary ³ 9.007 use of the undefined operator -- unary # 9.008 use of the undefined operator -- binary # 9.009 use of the undefined operator -- binary ? 9.010 use of the undefined operator -- unary % 9.011 use of the undefined operator -- binary % 9.012 use of the undefined operator -- unary exclamation point. 10.001 overflow in + - / or * of two dreals 10.002 overflow in + - / or * of two reals 10.003 real division by zero 10.004 dreal division by zero 10.005 overflow in real ** integer or dreal ** integer 10.006 integer division by zero 10.007 integer addition overflow 10.008 integer subtraction overflow 10.009 integer multiplication overflow 10.010 negative exponent for integer ** integer 10.011 overflow in integer exponentiation 10.012 dreal ** dreal is not permitted 10.013 real ** real is not permitted 10.014 integer overflow for unary minus (happens only with largest neg num) 10.015 attempted division by zero in REMDR function 11.001 page limit (p parameter) exceeded 11.002 card limit (c parameter) exceeded 11.003 input record longer than &MAXLNGTH 11.004 attempt to set &MAXLNGTH to a value greater than the maximum allowed (32758) 11.005 attempt to set &STLIMIT to a value less than its current value 11.006 statement limit (&STLIMIT) exceeded 11.007 attempt to form a string longer than &MAXLNGTH by concatenation 11.008 a pattern structure has exceeded the maximum permitted size (32k bytes) 11.009 time limit (t parameter) exceeded 11.010 attempt to form a string longer than &MAXLNGTH in call to DUPL function 11.011 attempt to form a string longer than &MAXLNGTH in call to LPAD function 11.012 attempt to form a string longer than &MAXLNGTH in call to RPAD function 11.100 attempt to set &FCNLEVEL negative 11.101 attempt to increase &FCNLEVEL 11.102 external function tried to return a string over &MAXLNGTH System error codes for OS/360 (system errors) as signalled by the OS/360 interface: 12.001 invalid file name 12.002 missing DD card 12.003 module name for LOAD or UNLOAD exceeds 8 characters 12.004 uncorrectable input error 12.005 uncorrectable output error 12.006 attempt to read past end of file 12.007 uncorrectable input error during LOAD 12.008 module not found in library SPITBOL Error Codes Page 5 12.009 module to be unloaded is not loaded 12.010 attempt to REWIND system file 12.011 attempt to read output file (REWIND file first) 12.012 attempt to write input file (REWIND file first) 12.013 duplication factor or tab location in format specification is zero 12.014 illegal character in format specification 12.015 too many parentheses in format specification 12.016 too many right parantheses in format specification 12.017 missing number after t format 12.018 length in H format specification exceeds format specification length 12.019 output format missing initial left paranthesis 12.020 output format missing final right paranthesis 12.021 SYSIN record exceeds 80 bytes 12.022 error in opening file for output 12.023 error in opening file for input 12.024 attempt to process two members of the same pds at once 12.025 attempt to process two members of the same tape at once 12.026 format does not contain any a-type items 12.027 unbalanced quotes in format specification literal 12.028 attempt to write to read-only file (such as pds directory or read-only pseudo file) 12.029 attempt to read from write-only file (such as write-only pseudo file) 12.030 attempt to trace SYSPRINT file 12.031 insufficient memory to complete interface function (raise R parameter) 12.032 error in closing file 12.033 attempt to open file which is already open 12.034 invalid string passed to SYOPEN 12.035 error in opening file for update 12.036 two writes in a row to update file 12.037 attempt to use FORTRAN format with update or length of updating record not the same as of record to be updated 12.038 input i/o error on update file 12.039 output i/o error on update file 12.040 attempt to reference input associated variable after file has been endfiled but before variable has been detached 12.041 attempt to read a non-existent pds member 12.042 invalid WYLBUR edit format 12.043 attempt to generate WYLBUR line number over 99999.999 12.044 error opening a file using WYLBUR edit format 12.045 invalid ddname passed as a second argument to the load function 12.100 attention received (should not occur) 13.001 evaluated result of deferred argument to POS is negative 13.002 evaluated result of deferred argument to RPOS is negative 13.003 evaluated result of deferred argument to RTAB is negative 13.004 evaluated result of deferred argument to TAB is negative 13.005 evaluated result of deferred argument to LEN is negative 13.006 evaluated result of deferred argument to ANY is null 13.007 evaluated result of deferred argument to NOTANY is null 13.008 evaluated result of deferred argument to SPAN is null 13.009 evaluated result of deferred argument to BREAKX is null 13.010 evaluated result of deferred argument to BREAK is null 13.011 operand of unary $ is null 13.012 argument for LEN is negative SPITBOL Error Codes Page 6 13.013 argument for POS is negative 13.014 argument for TAB is negative 13.015 argument for RPOS is negative 13.016 argument for RTAB is negative 13.017 SPAN argument is null 13.018 argument for BREAKX is null 13.019 argument for BREAK is null 13.020 NOTANY argument is null 13.021 ANY argument is null 13.022 null first argument in call to the ARRAY function 13.023 an array bound in a call to the ARRAY function is null 13.024 an array bound in a call to the ARRAY function is non-numeric 13.025 in the first argument to ARRAY, a subscript bound has two colons 13.026 an array lower bound in a call to the ARRAY function is not in the range -32768 < lbd < +32768 13.027 an array dimension (hbd-lbd+1) in a call to the ARRAY function is not in the range 0 < dim < 32768 13.028 name in CLEAR first argument is null 13.030 argument to DATA is null 13.031 datatype name in argument to DATA is null 13.032 missing left paren in DATA argument 13.033 field name is null in DATA argument 13.034 DATA argument does not end with ) 13.035 too many fields (more than 30), in argument to DATA 13.036 first argument to DEFINE is null 13.037 function name in first argument to DEFINE is missing (null) 13.038 first argument to DEFINE is missing a left paren 13.039 argument name in first argument to DEFINE is null 13.040 first argument to DEFINE is missing a ) 13.041 null local name in first argument to DEFINE 13.042 argument to ENDFILE is null 13.043 argument to load is null 13.044 function name in argument to load is null 13.045 missing ( in argument to load 13.046 missing ) in argument to load 13.047 too many arguments (more than 64) in function to be loaded 13.048 argument to REWIND is null 13.049 argument to TABLE is zero or negative 13.051 second argument to LOAD is not a string 14.001 a function called by name returned a value 14.002 an expression other than a function call returned a value where a name was required