Returns a string giving the operating system Open GENIE is running on
OS() | Returns the name of the operating system |
example:
# Print the current operating system >> printn Os() OSF
When writing portable GCL programs is is sometimes necessary to know which operating system is being used. For example if VMS is being used, a disk name must be specified whereas none is needed on Unix. This command is provided to allow a procedure to check for differences which might occur and need to be handled.
RESULT = (String)
Currrently returns one of the strings "OSF", "VMS", "IRIX" or "LINUX" depending on the supported operating systems.