Chapter 6. Commands

Revision History
Revision V6.3-005 29 June 2018
Revision V6.3-004 23 March 2018
Revision V6.3-003 12 December 2017
Revision V6.3-002 22 August 2017
Revision V6.3-001 20 March 2017
Revision V6.2-001 27 February 2015
Revision V6.1-000 28 August 2014
  • In “Key Words in VIEW Command, added the LINK keyword and an example for TRACE.

  • In “ZLink”, added the description of recursive relink.

  • In “ZSHOW Information Codes”, added the description of ZSHOW "R" and removed the description of ZSHOW "C".

  • In “Close”, added information for closing a listening LOCAL socket.

  • In “Job”, added information about using DETACHed sockets in INPUT, OUTPUT, and ERROR Processmarameters.

  • Moved the contents of SET * under SET and KILL * under KILL.

Revision V6.0-003 24 February 2014
Revision V6.0-001 21 March 2013
Revision V6.0-000 19 November 2012
Revision V5.5-000/2 31 October 2012 In “ZSHOW Information Codes”, corrected the definitions of LKS and LKF mnemonics.
Revision V5.5-000/1 05 October 2012 In “ZSYstem”, added a note to highlight PIPE devices as an alternative for ZSYSTEM and improved the description of "JNLFLUSH"[:<region_list>] and “JNLWAIT”.
Revision V5.5-000 15 June 2012 Updated “View”, “Do”, “TROllback”, “ZMessage” for V5.5-000, improved the description of “ZLink”, and corrected the syntax of “ZSYstem”.
Revision V5.4-002B 26 December 2011 Conversion to documentation revision history reflecting GT.M releases with revision history for each chapter.

Table of Contents

Break
Examples of BREAK
Close
Do
Examples of DO
Else
Examples of ELSE
For
Examples of FOR
Goto
Examples of GOTO
Halt
Hang
Examples of HANG
If
Examples of If
Job
The JOB Environment
JOB Processparameters
Examples of JOB
Kill
Examples of KILL
Lock
Using Locks within Transactions
Example of LOCK
Merge
Examples of MERGE
New
Examples of NEW
Open
Quit
Examples of QUIT
Read
Set
Examples of SET
TCommit
TREstart
TROllback
TStart
S[ERIAL]
T[RANSACTIONID]=expr
Use
View
Key Words in VIEW Command
Examples of VIEW
Write
Xecute
Examples of XECUTE
ZAllocate
Examples of ZALLOCATE
ZBreak
Examples of ZBREAK
ZCOMpile
Examples of ZCompile
ZContinue
ZDeallocate
Examples of ZDEALLOCATE
ZEDit
Examples of ZEDIT
ZGoto
Examples of ZGOTO
ZHALT
Examples of ZHALT
ZHelp
Examples of ZHELP
ZLink
ZLINK Compilation
Examples of ZLINK
Auto-ZLINK
Auto-ZLINK setup
ZLINK, auto-ZLINK and Routine Names
ZKill
ZMessage
Examples of ZMESSAGE
ZPrint
Examples of ZPRINT
ZRUPDATE
ZSHow
ZSHOW Information Codes
Examples of ZSHow
ZSHOW Destination Variables
Use of ZSHOW
ZSTep
ZSTEP Into
ZSTep OUtof
ZSTep OVer
ZSTEP Actions
ZSTEP Interactions
Use of ZSTEP
Examples of ZSTEP
ZSYstem
Examples of ZSYSTEM
ZTCommit
Examples of ZTCOMMIT
ZTRigger
ZTStart
ZWIthdraw
Examples of ZWITHDRAW
ZWRite
ZWRITE Format for Alias Variables
Examples of ZWRITE

This chapter describes M language commands implemented in GT.M. All commands starting with the letter Z are GT.M additions to the ANSI standard command set. The M standard specifies standard abbreviations for commands and rejects any non-standard abbreviation. Behavior of I/O commands including OPEN, USE, READ, WRITE, and CLOSE is described in Chapter 9: “Input/Output Processing.