dataHost()

Returns the host name the Data Manager is running on.

Synopsis

dyn_string dataHost();

Parameters

None

Return Value

dyn_string (in a single system the host name the Data Manager is running on and an empty string.

In a redundant system the left and the right computer).

in a redundant System:

[1] = Left Data

[2] = Right Data

In a non-redundant system:

[1] = Data

[2] = "" (empty string)

Description

In a single system the function returns the host name the Data Manager is running on as well as an empty string. In a redundant system the function returns the left and the right computer (you can see the left and the right computer in the System management panel under Diagnostics-System overview if your system is redundant)

Example

main()
{
   dyn_string host;
   host = dataHost();//Returns the host the Data Manager is running on
   DebugN(host);
}

Assignment

Miscellaneous functions

Availability

CTRL