Standard Error Codes
Standard Error Codes
| Standard Code | GT.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 1 | None |
| M15, Undefined index variable | None |
| 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 global | None |
| M23, SET or KILL to ^$JOB for non-existent job number | None |
| M24, Change to collation algorithm while subscripted local variables defined | None |
| M25, Attempt to modify currently executing routine | None |
| M26, Non-existent _environment_ | None |
| M27, Attempt to rollback a transaction that is not restartable | None |
| M28, Mathematical function, parameter out of range | None |
| M29, SET or KILL on _ssvn_ not allowed by implementation | None |
| M30, Reference to _glvn_ with different collating sequence within a collating algorithm | None |
| M31, _controlmnemonic_ used for device without a _mnemonicspace_ selected | None |
| 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_ exists | None |
| M34, — currently unassigned — | None |
| M35, Device does not support _mnemonicspace_ | * INVMNEMCSPC, Unsupported mnemonicspace xxxx |
| M36, Incompatible _mnemonicspace_s | None |
| M37, READ from device identified by the empty string | None |
| M38, Invalid _ssvn_ subscript | None |
| 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 reference | None |
| M46, Invalid attribute name | None |
| M47, Invalid attribute value (original text: Invalid attribute name) | None |
| M48, Nonexistent window, element or choice | None |
| M49, Invalid attempt to set focus | None |
| M50, Attempt to reference a non M-Term window in an OPEN command | None |
| M51, Attempt to destroy M-Term window prior to CLOSE | None |
| M52, Required attribute missing | * TEXTARG, Invalid argument to $TEXT function |
| M53, Invalid argument for font function | None |
| M54, Attempt to create non-modal child of a modal parent | None |
| M55, Invalid nested TSTART command | None |
| M56, Name length exceeds implementation’s limit | None |
| 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 parameters | None |
| 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 file | None |
| M64, Illegal value for RENAME parameter while attempting to CLOSE file | None |
| M65, Illegal value for VOLUME label | None |
| M66, Illegal value for DENSITY parameter | None |
| M67, Illegal value for ACCESS parameter | None |
| M68, Illegal value for MOUNT parameter | None |
| M69, Attempted tape I/O while no tape mounted | None |
| M70, Illegal value for BLOCKSIZE parameter | None |
| M71, Attempt to read data block larger than buffer size | None |
| M72, Illegal value for recordsize parameter | * GVUNDEF, Global variable undefined: xxxx |
| M73, Invalid usage of _devicekeyword_ NEWFILE | None |
| M74, Illegal value for TRANSLATION parameter | None |
| 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_ missing | None |
| M78, TCP _devicekeyword_ missing | None |
| 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 lost | None |
| M84, Network protocol error: invalid client message | None |
| M85, Network protocol error: invalid server message | None |
| M86, Cannot relinquish device with I/O pending | None |
| M87, Network buffer overflow | None |
| 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 available | None |
| M92, Mathematical overflow | * DIVZERO, Attempt to divide by zero |
| M93, Mathematical underflow | None |
| M94, Attempt to compute zero to the zero-eth power | None |
| 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 exist | None |
| M98, Resource unavailable | None |
| M99, Invalid operation for context | None |
| M100, Output time-out expired | None |
| 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 identifier | None |
| M104, IPC event identifier is not a valid job-number | None |
| M105, Object not currently accessible | None |
| M106, Object does not support requested method or property | None |
| M107, Object has no default value | None |
| M108, Value if not of data type OREF | None |
| M109, Undefined _devicekeyword_ | None |
| M110, Event identifier not available | None |
| M111, Invalid number of days for date | None |
| M112, Invalid number of seconds for time | * FALLINTOFLST, Fall-through to a label with formallist is not allowed |