User's Guide

GETHOST

Get the host name

Function:

Get the name of the current computer.

Parameters:

HOST
Computer host name. Name of the computer on which GETHOST is run. The name of the current computer is returned in the specified TAE string variable.

Examples:

  1. LAS> gethost host=computer

    The name of the current computer is returned in the TAE variable COMPUTER.

Description/Algorithm:

The name of the current computer is returned in the specified TAE string variable.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

  1. [gethost-fatal] Fatal error encountered

    A fatal error was encountered. The error displayed before this one is the specific error encountered.

  2. [gethost-send] Error sending host name to TAE

    An error occurred sending the host name to TAE. If the error persists contact the system administrator.

User Notes:

    None.