How Get OS Verison
How to get the computers OS version
Discussion (3)0
Comments
See ##class(%SYSTEM.Version).GetOS() and other methods
By the way, the above method returns the OS, Cache or IRIS was built for.
Because you can only install a product (Cache or IRIS) on a OS for which the product was built, so the above method returns the OS where your product runs.