%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: HealthShare = 3, InterSystems IRIS = 4
At this time, InterSystems IRIS does not have components, so this method does not return anything for this product.
At this time, InterSystems IRIS does not have components, so this method does not return anything for this product.
Product: HealthShare = 3, InterSystems IRIS = 4
At this time, InterSystems IRIS does not have components, so this method does not return anything for this product.
InterSystems or User
Returns a boolean value which tells if the kernel 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: HealthShare = 3, InterSystems IRIS = 4
At this time, InterSystems IRIS does not have components, so this method does not return anything for this product.
Product: HealthShare = 3, InterSystems IRIS = 4
At this time, InterSystems IRIS does not have components, so this method does not return anything for this product.
Parameters
mode -- The new SystemMode string for the current instance
Invoking $SYSTEM.Version.SystemMode() without specifiying the mode parameter returns the current SystemMode string without changing it.
Return value -- the SystemMode value prior to calling the $SYSTEM.Version.SystemMode method. Returns the empty string when a SystemMode has not been previously set.