Skip to main content
Previous sectionNext section

Version

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.

Reminder

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().