DocBook|Search
Class Reference
%SYSTEM.Version
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%SYSTEM] >  [Version]
Private  Storage  

abstract class %SYSTEM.Version extends Help

This class provides various product version information.

You can use it via the special $system object:

	Write $system.Version.GetBuildOS()

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
28


Summary

Methods
FeatureBits Format GetBuildDate GetBuildNumber
GetBuildOS GetBuildTime GetCompBuild GetCompBuildDate
GetCompBuildOS GetCompBuildTime GetCompPatchId GetCompilerMajorVersion
GetCompilerMinorVersion GetCompilerVersion GetComponents GetMajor
GetMinor GetNumber GetOS GetPatchId
GetPlatform GetPoint GetProduct GetVersion
Help Is64Bits IsBigEndian IsSingleUser
IsUnicode


Methods

• classmethod FeatureBits(bit As %Integer = "") as %Binary
Return all the feature codes stored in $zversion(0)

You can then test this for specific features using $zbitget(return,bit)

If you pass in a value for bit then this will test for this specific bit and return 1 if it is set otherwise 0.

• classmethod Format(Format As %Numeric = 0, zv As %String = $zv) as %String
Formats the version info according to the following format types:
  • 0 - $ZV
  • 1 - Product
  • 2 - Product (Platform)
  • 3 - Product (Platform) Version
  • 4 - Product (Platform) Version (Build)
  • 5 - Version (Build)
  • Other - ""
• classmethod GetBuildDate(zv As %String = $zv) as %String
Returns the date the product was built in $HOROLOG format.
• classmethod GetBuildNumber(zv As %String = $zv) as %Integer
Returns the build number for the product.
• classmethod GetBuildOS(zv As %String = $zv) as %String
Returns the operating system for which the product was built.
• classmethod GetBuildTime(zv As %String = $zv) as %String
Returns the time of day the product was built in $HOROLOG format.
• classmethod GetCompBuild(component As %String = "SYS") as %Integer
Returns the build number for the specified component. (Deprecated)
• classmethod GetCompBuildDate(component As %String = "SYS") as %String
Returns the build date for the specified component. (Deprecated)
• classmethod GetCompBuildOS(component As %String = "SYS") as %String
Returns the operating system a Caché component was built for. (Deprecated)
• classmethod GetCompBuildTime(component As %String = "SYS") as %String
Returns the Time of build for a Caché component. (Deprecated)
• classmethod GetCompPatchId(component As %String) as %String
Returns the patch ID[s] included in a component of this version of Caché (Deprecated)
• classmethod GetCompilerMajorVersion() as %Numeric
Returns the major version number of the Caché compiler.
• classmethod GetCompilerMinorVersion() as %Numeric
Returns the minor version number of the Caché compiler.
• classmethod GetCompilerVersion() as %Numeric
Returns the major.minor version number of the Caché compiler.

The system can only execute object code compiled with the same major version number. It can execute object code compiled with any minor version number that is less than or equal to the current minor version.

• classmethod GetComponents() as %List
Returns a list of components used by the %Version class. (Deprecated)
• classmethod GetMajor(zv As %String = $zv) as %String
Returns the major version number for the product.
• classmethod GetMinor(zv As %String = $zv) as %String
Returns the minor version number for the product.
• classmethod GetNumber(zv As %String = $zv) as %String
Returns the major.minor[.point] version number for the product.
• classmethod GetOS(zv As %String = $zv) as %String
Returns the OS for which the product was built.
• classmethod GetPatchId(zv As %String = $zv) as %String
Returns the patch ID[s] included in this version of the product;
• classmethod GetPlatform(zv As %String = $zv) as %String
Returns the platform for which the product was built.
• classmethod GetPoint(zv As %String = $zv) as %String
Returns the point version number for the product.
• classmethod GetProduct(zv As %String = $zv) as %String
Returns the product name.
• classmethod GetVersion(zv As %String = $zv) as %String
Returns a string containing complete version information.
• classmethod Is64Bits() as %Boolean
Is this Cache a 64-bit platform?

Returns a boolean value which tells if the Cache is 64-bit platform.

• classmethod IsBigEndian() as %Boolean
Is this system built for a big endian platform?

Returns a boolean value which tells if the platform uses big endian bit ordering.

• classmethod IsSingleUser() as %Boolean
Is this a single-user server kit?

Returns a boolean value which tells if the product server is running a single-user evaluation (_SU) kit.

• classmethod IsUnicode() as %Boolean
Is this a UNICODE system?

Returns a boolean value which tells if the product server is a UNICODE system.