Difference between revisions of "OS()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Disk and File Utilities
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return Operating System name
 
Function to return Operating System name
Line 12: Line 8:
  
 
==See Also==
 
==See Also==
[[GETENV()]], [[NETNAME()]], [[VERSION()]]
+
[[GETENV()]], [[NETNAME()]], [[NETWORK()]], [[VERSION()]]
  
  
Line 30: Line 26:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 17:27, 3 December 2009

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