Extensions For Additional Capability

For ways to adjust some process operating characteristics, see the command description “View”. For ways to get information about certain process operating characteristics, see the function description “$View()”.

In GT.M, support of environment specification for global names and resource names is possible. It is possible to excercise user code to customize interpretation of the environment specification. See Chapter 5: “General Language Features of M for details.

The following table summarizes GT.M extensions that increase general capability.

GT.M Extensions for Additional Capability




Modifies the environment.


Facilitates incremental locking by locking a name without unlocking previously locked names.


Unlocks one or more names without necessarily unlocking other names.


Provides access to on-line help.


"Kills" data in a node without affecting the node's descendants.


Enhanced to return the next unsubscripted variable in collating sequence from the current environment. Name-level $ORDER() always returns an empty string when used with extended references.


Examines the GT.M environment.


Returns the status from the last compile.


Converts a date and/or time in $HOROLOG format into formatted text, using a user-specified format string.


Returns the previous element in a collating sequence, at the current level of a local or global array.


Return device dependent I/O status information.


Maintains the compiler qualifiers to be used on automatic compilation.

$ZBIT functions

A series of functions beginning with the characters $ZBIT that allow manipulation of bits.


Maintains the name of the current global directory; may be set to switch this process to a new database.


Contains translated name of current I/O device.


Specifies the code to be XECUTE'd when an interrupt is processed.


Contains an integer value indicating the time duration GT.M should wait for the completion of all activities fenced by the current transaction's outermost TSTART/TCOMMIT pair.


Maintains the list of directories to search during look-ups of object and source files.


Returns the status code for the last subprocess invoked with the ZSYSTEM command.


Contains a designation of the current version name, level, and operating system.

*The ZALLOCATE and ZDEALLOCATE commands are provided for compatibility with other M systems. However, FIS recommends use of the standard LOCK command, which provides an incremental locking facility. The incremental lock provides both flexibility and greater compatibility with the M language standard.

**The $ZPREVIOUS function is provided for compatibility with previous versions of GT.M and other M systems. However, FIS recommends use of the standard two-argument form for the $ORDER function.