$ZVersion

$ZV[ERSION] contains a string value specifying the currently installed GT.M. $ZV[ERSION] is a space-delimited string with four pieces as follows:

<product> <release> <OS> <architecture> 

M routines cannot modify $ZVERSION.

[Caution] Warning

GT.M treats $ZVERSION as a literal at compile time. Therefore, always compile with the same version as that used at runtime.

Example:

GTM>w $zversion
GT.M V6.0-003 Linux x86_64

This example displays the current version identifier for GT.M.