Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


Obtain information about the system version.

Background Information

ObjectScript provides a special variable ($ZVERSION) that you can use to obtain version information for Caché or Ensemble. The other languages do not provide analogous variables.

Available Tools

Provides methods like the following:

  • GetComponents()

  • GetBuildNumber()

  • GetPlatform()

  • GetProduct()

  • GetVersion()

  • And others

Availability: All namespaces.


The special variable $SYSTEM is bound to the %SYSTEM package. This means that (for ObjectScript) instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().