GETOSNAME

The GETOSNAME function returns the name of the operating system.

The returned values can be:
  • Windows for any version of Microsoft Windows operating system
  • zLinux for Linux operating system on z/OS hardware
  • Linux for Linux operating system on Intel hardware
  • AIX for AIX operating system on PowerPC hardware
  • OS/390 for native z/OS operating system
Syntax:
GETOSNAME()
Meaning:
GETOSNAME ()
Returns:
A single-text-item