Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

$$VERSION^%ZOSV(): Get OS Version Number or Name

Reference Type: Supported, Category: Operating System Interface, Integration Agreement: 10097

Description

This extrinsic function returns the operating system version number or name.

Format

  $$VERSION^%ZOSV([flag])

Input Parameters

flag:

(optional) If you pass a value of 1, the operating system name is returned instead of the version number.

NOTE: The name is as defined by the vendor and does not necessarily correspond with the OS name stored in ^%ZOSF("OS").

Output

returns:

Returns the operating system version number or name, depending on the (optional) flag input parameter.

Example 1

>W $$VERSION^%ZOSV(1)

Cache for OpenVMS/ALPHA V7.x (Alpha)

Example 2

>W $$VERSION^%ZOSV

4.1.16

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.