Extensions For Additional Capability

For ways to adjust some process operating characteristics, refer to the VIEW section of the "Commands" chapter in this manual. For ways to get information about certain process operating characteristics, refer to the $VIEW() section of the "Functions" chapter in this manual.

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. Refer to "General Language Features" chapter in this manual for details.

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

GT.M Extensions for Additional Capability

EXTENSION

EXPLANATION

View

Modifies the environment.

ZAllocate*

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

ZDeallocate*

Unlocks one or more names without necessarily unlocking other names.

ZHelp

Provides access to on-line help.

ZWIthdraw

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

$Order()

Enhanced to return the next unsubscripted variable in collating sequence from the current environment.

$View()

Examines the GT.M environment.

$ZCall()**

Returns a value from an external routine or user-defined function written in another programming language.

$ZCStatus

Returns the status from the last compile.

$ZDate()

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

$ZPrevious()***

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

$ZA,$ZB, $ZEOF

Return device dependent I/O status information.

$ZCOmpile

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.

$ZGBLdir

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

$ZIO

Contains translated name of current I/O device.

$ZINTerrupt

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

$ZMAXTPTIme

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.

$ZROutines

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

$ZSYstem

Returns the status from the last VMS shell invocation.

$ZVERsion

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, Sanchez 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 $ZCALL function is provided for compatibility with previous versions of GT.M and other M systems. However, Sanchez recommends use of the standard external reference for routines and functions. The external reference provides both flexibility and compatibility with the M language standard.

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