Retrieve TCP/IP Information (RTVTCPINF)

The Retrieve TCP/IP Information (RTVTCPINF) command gathers key TCP/IP configuration information from the default system locations and places it in the library specified for the Library (LIB) parameter. The gathered TCP/IP configuration information can be used by the Update TCP/IP Information (UPDTCPINF) command to reset or restore the TCP/IP configuration on this system or another system.

Restrictions: To use this command, you must have *SAVSYS special authority.

Parameters

Keyword Description Choices Notes
LIB Library Name Required, Positional 1

Library (LIB)

Specifies the library in which objects containing TCP/IP configuration information are to be stored. The library must exist on the system.

This is a required parameter.

name
Specify the library where the TCP/IP configuration information will be stored.

Examples

RTVTCPINF   LIB(TEST)

This command gathers key TCP/IP configuration information from the system and places it in library TEST.

Error messages

*ESCAPE Messages

CPFC880
Errors occurred while retrieving TCP/IP configuration information.