Previous Topic: &ZSYSNAME

Next Topic: &ZTCPHSTA


&ZTCP

Returns the status of the socket interface.

Check the status of the API and take the appropriate action.

Example: &ZTCP

& IF &ZTCP NE ACTIVE &THEN +
 &DO      -* Write the error message and return
    &WRITE THE TCP/IP INTERFACE IS INACTIVE
    &END
 &DOEND
.
.

Note: The value in this system variable is obtained by performing a SHOW TCPIP command.

More information:

&ZTCPHSTA

&ZTCPHSTF

&ZTCPHSTN