Skip to content

Standard Error Codes

Standard Error Codes

Standard CodeGT.M Message(s)
M1, Naked indicator undefined* GVNAKED, Illegal naked global reference
M2, Invalid combination with P _fncodatom_None
M3, $RANDOM seed less than 1* RANDARGNEG, Random number generator argument must be greater than or equal to one
M4, No true condition in $SELECT* SELECTFALSE, No argument to $SELECT was true
M5, _lineref_ less than zero* TEXTARG, Invalid argument to $TEXT function
M6, Undefined _lvn_* UNDEF, Undefined local variable: xxxx
M7, Undefined _gvn_* GVUNDEF, Global variable undefined: xxxx
M8, Undefined _svn_* INVSVN, Invalid special variable name
M9, Divide by zero* DIVZERO, Attempt to divide by zero
M10, Invalid pattern match range* PATCODE, Illegal syntax for pattern * PATUPPERLIM, Pattern code upper limit is less than lower limit
M11, No parameters passed* FALLINTOFLST, Fall-through to a label with formallist is not allowed
M12, Invalid _lineref_ (negative offset)* GVNAKED, Illegal naked global reference
M13, Invalid _lineref_ (label not found)* JOBLABOFF, Label and offset not found in created process * LABELMISSING, Label referenced but not defined : xxxx * LABELNOTFND, GOTO referenced a label that does not exist * LABELUNKNOWN, Label referenced but not defined * OFFSETINV, Entry point xxxx+yyyy not valid * ZPRTLABNOTFND, Label not found in routine
M14, _line_ level not 1None
M15, Undefined index variableNone
M16, Argumented QUIT not allowed* NOTEXTRINSIC, Quit does not return to an extrinsic function, argument not allowed * QUITARGLST, Quit cannot take a list of arguments * QUITARGUSE, Quit cannot take an argument in this context
M17, Argumented QUIT required* QUITARGREQD, Quit from an extrinsic must have an argument
M18, Fixed length READ not greater than zero* RDFLTOOSHORT, Length specified for fixed length read less than or equal to zero
M19, Cannot copy a tree or subtree into itself* MERGEDESC, Merge operation not possible. xxxx is descendent of yyyy.
M20, _line_ must have _formallist_None
M21, Formal parameter occurs multiple times (original text: Algorithm specification invalid)None
M22, SET or KILL to ^$GLOBAL when data in globalNone
M23, SET or KILL to ^$JOB for non-existent job numberNone
M24, Change to collation algorithm while subscripted local variables definedNone
M25, Attempt to modify currently executing routineNone
M26, Non-existent _environment_None
M27, Attempt to rollback a transaction that is not restartableNone
M28, Mathematical function, parameter out of rangeNone
M29, SET or KILL on _ssvn_ not allowed by implementationNone
M30, Reference to _glvn_ with different collating sequence within a collating algorithmNone
M31, _controlmnemonic_ used for device without a _mnemonicspace_ selectedNone
M32, _controlmnemonic_ used in user-defined _mnemonicspace_ which has no associated line* RANDARGNEG, Random number generator argument must be greater than or equal to one
M33, SET or KILL to ^$ROUTINE when _routine_ existsNone
M34, — currently unassigned —None
M35, Device does not support _mnemonicspace_* INVMNEMCSPC, Unsupported mnemonicspace xxxx
M36, Incompatible _mnemonicspace_sNone
M37, READ from device identified by the empty stringNone
M38, Invalid _ssvn_ subscriptNone
M39, Name of variable expected (original text: Invalid $NAME argument)* VAREXPECTED, Variable expected in this context
M40, Call-by-reference in JOB _actual_* JOBACTREF, Actual parameter in job command passed by reference
M41, Invalid LOCK argument within a TRANSACTION* TPLOCK, Cannot release lock(s) held prior to current TSTART
M42, Invalid QUIT within a TRANSACTION* SELECTFALSE, No argument to $SELECT was true
M43, Invalid range ($X, $Y)None
M44, Invalid _command_ outside of a TRANSACTION* TLVLZERO, Transaction is not in progress * TRANSNOSTART, ZTCOMMIT(s) issued without corresponding ZTSTART(s)
M45, Invalid GOTO referenceNone
M46, Invalid attribute nameNone
M47, Invalid attribute value (original text: Invalid attribute name)None
M48, Nonexistent window, element or choiceNone
M49, Invalid attempt to set focusNone
M50, Attempt to reference a non M-Term window in an OPEN commandNone
M51, Attempt to destroy M-Term window prior to CLOSENone
M52, Required attribute missing* TEXTARG, Invalid argument to $TEXT function
M53, Invalid argument for font functionNone
M54, Attempt to create non-modal child of a modal parentNone
M55, Invalid nested TSTART commandNone
M56, Name length exceeds implementation’s limitNone
M57, More than one defining occurrence of label in routine* MULTLAB, This label has been previously defined
M58, Too few formal parameters* ACTLSTTOOLONG, More actual parameters than formal parameters: xxxx * ZCARGMSMTCH, External call: Actual argument count, xxxx is greater than formal argument count, yyyy * ZCCONMSMTCH, External call: Too many input arguments
M59, Environment reference not permitted for this _ssvn_None
M60, Undefined _ssvn_None
M61, Attempt to OPEN file with conflicting ACCESS parametersNone
M62, Illegal value for ACCESS parameter while attempting to OPEN file* UNDEF, Undefined local variable: xxxx
M63, Illegal value for DISPOSITION parameter while attempting to CLOSE fileNone
M64, Illegal value for RENAME parameter while attempting to CLOSE fileNone
M65, Illegal value for VOLUME labelNone
M66, Illegal value for DENSITY parameterNone
M67, Illegal value for ACCESS parameterNone
M68, Illegal value for MOUNT parameterNone
M69, Attempted tape I/O while no tape mountedNone
M70, Illegal value for BLOCKSIZE parameterNone
M71, Attempt to read data block larger than buffer sizeNone
M72, Illegal value for recordsize parameter* GVUNDEF, Global variable undefined: xxxx
M73, Invalid usage of _devicekeyword_ NEWFILENone
M74, Illegal value for TRANSLATION parameterNone
M75, String length exceeds implementation’s limit* MAXSTRLEN, Maximum string length exceeded * REC2BIG, Record size (xxxx) is greater than maximum (yyyy) for region: zzzz * ZFILENMTOOLONG, xxxx is longer than 255 characters
M76, TCP socket state incorrect for CONNECT or LISTEN* LISTENPASSBND, Controlmnemonic LISTEN can be applied to PASSIVE socket which is in the state BOUND ONLY
M77, TCP _deviceattribute_ missingNone
M78, TCP _devicekeyword_ missingNone
M79, TCP socket allocated to another device* SOCKETEXIST, Socket xxxx already exists
M80, Network error not otherwise specified* SOCKCLOSE, Error closing socket: (errno = aaaa) xxxx * SOCKINIT, Error initializing socket: (errno == aaaa) xxxx * SOCKMAX, Attempt to exceed maximum sockets xxx for the SOCKET device * SOCKWAIT, Error waiting for socket connection
M81, Unable to establish network connection* OPENCONN, Error opening socket connection * SOCKACPT, Error accepting socket connection
M82, Network connection suspended: wait to resume* INVSVN, Invalid special variable name
M83, Network connection lostNone
M84, Network protocol error: invalid client messageNone
M85, Network protocol error: invalid server messageNone
M86, Cannot relinquish device with I/O pendingNone
M87, Network buffer overflowNone
M88, Non-existent _routine_* ROUTINEUNKNOWN, Routine could not be found
M89, Specified pattern is not a _subpattern_None
M90, Invalid _namevalue_* NOCANONICNAME, Value is not a canonic name (xxxx).
M91, Routine source is not availableNone
M92, Mathematical overflow* DIVZERO, Attempt to divide by zero
M93, Mathematical underflowNone
M94, Attempt to compute zero to the zero-eth powerNone
M95, Exponentiation returns complex number with non-zero imaginary part* NEGFRACPWR, Invalid operation: fractional power of negative number
M96, Attempt to assign value to already valued write-once _ssvn_None
M97, Routine associated with user-defined _ssvn_ does not existNone
M98, Resource unavailableNone
M99, Invalid operation for contextNone
M100, Output time-out expiredNone
M101, Attempt to assign incorrect value to $ECODE* INVECODEVAL, Invalid value for $ECODE (xxxx).
M102, Simultaneous synchronous and asynchronous event class* PATCODE, Illegal syntax for pattern * PATUPPERLIM, Pattern code upper limit is less than lower limit
M103, Invalid event identifierNone
M104, IPC event identifier is not a valid job-numberNone
M105, Object not currently accessibleNone
M106, Object does not support requested method or propertyNone
M107, Object has no default valueNone
M108, Value if not of data type OREFNone
M109, Undefined _devicekeyword_None
M110, Event identifier not availableNone
M111, Invalid number of days for dateNone
M112, Invalid number of seconds for time* FALLINTOFLST, Fall-through to a label with formallist is not allowed