Difference between revisions of "OS()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 12: Line 12:
  
 
==See Also==
 
==See Also==
[[GETENV()]], [[VERSION()]]
+
[[GETENV()]], [[NETNAME()]], [[VERSION()]]
  
  
Line 33: Line 33:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Disk and File Utilities]]
 +
[[Category:Disk and File Utilities Functions]]
 +
[[Category:Environment]]
 +
[[Category:Environment Functions]]

Revision as of 11:44, 9 June 2009

Class

Disk and File Utilities


Purpose

Function to return Operating System name


Syntax

OS()


See Also

GETENV(), NETNAME(), 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 Database Server, Recital Mirage Server, Recital Terminal Developer