Previous Topic: &ZTCPERNM

Next Topic: &ZTCPSUPP


&ZTCPINFO

Obtains information about the local host or TCP/IP vendor stack.

&ZTCPINFO infotype

&ZTCPINFO returns data according to the value of infotype as explained below.

Operands:

TYPE

Returns the vendor stack type as specified on the TCPIP START command TYPE=.

STATUS

Returns ACTIVE, STARTING, STOPPING, QUIESCING, or INACTIVE.

HOSTADDR

Returns the local host IP address.

HOSTNAME

Returns the local host alias name.

HOSTFULLNAME

Returns the local host full name.

INTERFACE

Returns descriptive interface information returned by the vendor interface.

CONNECTION

Returns connection information from the vendor interface.

SOLVE_DNR

Returns SOLVE Domain Name Resolver (DNR) information.

Examples: &ZTCPINFO

&INTF = &ZTCPINFO INTERFACE &WRITE DATA=TCPIP INTERFACE IS &INTF

Note: For more information, see the DNR and SHOW DNR command descriptions in the Online Help.