One of the first tasks the script needs to perform is determine the name of the local host with SaHostGetLocalName(TCL_ADM). Again, the template stores this value in the global array appvals:
set appvals(localhost) [SaHostGetLocalName]
See also: