OS()

From Recital Documentation Wiki
Revision as of 17:27, 3 December 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to return Operating System name


Syntax

OS()


See Also

GETENV(), NETNAME(), NETWORK(), VERSION()


Description

The OS() function returns a character string of mixed case containing the name of the operating system. In UNIX/Linux, the OS() command returns the CPU name as well as the operating system. This function is very useful for determining the operating system before using the RUN command.


Example

// On OpenVMS
? os()
OpenVMS
// On UNIX (SCO)
SCO Openserver 5


Products

Recital, Recital Server