%SYSTEM.Version
abstract class %SYSTEM.Version extends %SYSTEM.Help
This class provides various product version information.You can use it via the special $system object:
Write $system.Version.GetBuildOS()
Method Inventory
- FeatureBits()
- Format()
- GetBuildDate()
- GetBuildNumber()
- GetBuildOS()
- GetBuildTime()
- GetCompBuild()
- GetCompBuildDate()
- GetCompBuildOS()
- GetCompBuildTime()
- GetCompPatchId()
- GetCompilerMajorVersion()
- GetCompilerMinorVersion()
- GetCompilerVersion()
- GetComponents()
- GetISCComponentVersion()
- GetISCComponentVersionList()
- GetISCComponents()
- GetISCProduct()
- GetKernelCompiler()
- GetKernelLinker()
- GetKernelOrigin()
- GetMajor()
- GetMinor()
- GetNumber()
- GetOS()
- GetPatchId()
- GetPlatform()
- GetPoint()
- GetProduct()
- GetVersion()
- Is64Bits()
- IsBigEndian()
- IsSingleUser()
- IsUnicode()
- ListISCComponents()
- ListISCComponentsVersions()
- SystemMode()
Methods
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.
- 0 - $ZV
- 1 - Product
- 2 - Product (Platform)
- 3 - Product (Platform) Version
- 4 - Product (Platform) Version (Build)
- 5 - Version (Build)
- Other - ""
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.
Product: Cache = 1, Ensemble = 2, HealthShare = 3
At this time, Caché and Ensemble do not have components, so this method does not return anything for these products.
At this time, Caché and Ensemble do not have components, so this method does not return anything for these products.
Product: Cache = 1, Ensemble = 2, HealthShare = 3
At this time, Caché and Ensemble do not have components, so this method does not return anything for these products.
InterSystems or User
Returns a boolean value which tells if the Cache is 64-bit platform.
Returns a boolean value which tells if the platform uses big endian bit ordering.
Returns a boolean value which tells if the product server is running a single-user evaluation (_SU) kit.
Returns a boolean value which tells if the product server is a UNICODE system.
Product: Cache = 1, Ensemble = 2, HealthShare = 3
At this time, Caché and Ensemble do not have components, so this method does not return anything for these products.
Product: Cache = 1, Ensemble = 2, HealthShare = 3
At this time, Caché and Ensemble do not have components, so this method does not return anything for these products.
Returns empty string when a SystemMode has not been set.