DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

SaHost(TCL_ADM)


SaHost: SaHostGetLocalName, SaHostGetManagedName, SaHostExtractSystemName, SaHostExtractDomain, SaHostsGet, SaHostCheck, SaHostRemoteOsaAccessible -- host name management for SCOadmin applications

Syntax

SaHostGetLocalName
SaHostGetManagedName
SaHostExtractSystemName host
SaHostExtractDomain host
SaHostsGet
SaHostCheck host
SaHostRemoteOsaAccessible

Description

These interfaces provide convenient handling of host names in the networked environment. An application can obtain a fully qualified domain name for the local host as well as the remote host being managed. This in turn can be parsed to extract either the domain or the unqualified system name.

SaHostsGet uses the local host's name service to obtain a list of all known host names on the network. This is ideal for a user interface based on a point and pick list of host names.

SaHostCheck determines whether or not the specified host is known to the name service of the local host. It returns true (1) or false (0) accordingly.

SaHostRemoteOsaAccessible provides a simple boolean test for whether or not remote services are available through the SCOadmin framework. If the local host provides networking services and is properly attached to a live network, a remote OSA is considered accessible.

Arguments


host
fully qualified host name

See also

SaOpenHost(TCL_ADM), SaSelectHost(TCL_ADM), SCO Visual Tcl Programmer's Guide and Reference in SCO Visual Tcl Programmer's Guide and Reference.
16 September 2002
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003