Try OpenEdge Now
skip to main content
ABL Reference
ABL Syntax Reference : DB-REMOTE-HOST function
 

DB-REMOTE-HOST function

Returns a character string containing the IP address of the database connection. The IP address format is determined by the Internet Protocol used when the connection was established. A single input parameter identifies the database, which can be either the logical database name or database number. If the database is not connected using TCP/IP or the -ipver IPv6 startup parameter is not used, the function returns the Unknown value (?).

Syntax

DB-REMOTE-HOST ( {logical-name|integer-expression} )
logical-name
A character expression specifying the logical name of a connected database.
integer-expression
The sequence number of a connected database. For example, DB-REMOTE-HOST(1) returns information on the first connected database, DB-REMOTE-HOST(2) returns information on the second connected database, and so on.

Note

For more information on the Internet Protocol (IP) version (-ipver) startup parameter, see OpenEdge Deployment: Startup Command and Parameter Reference.

See also

REMOTE-HOST attribute