Operating System - OpenVMS
1755960 Members
4556 Online
108839 Solutions
New Discussion юеВ

Re: Clearing local host file in TCPIP Services for OpenVMS

 
SOLVED
Go to solution
Trace Trembath
Frequent Advisor

Clearing local host file in TCPIP Services for OpenVMS

Does anyone know how I can dump all hosts that are currently defined in the local host file of an OpenVMS system running VMS 7.2-1 and TCPIP Services V5.1? There are too many hosts to enter $tcpip set nohost commands for every host.

Thanks.
Trace
4 REPLIES 4
Craig A Berry
Honored Contributor
Solution

Re: Clearing local host file in TCPIP Services for OpenVMS

It looks like wildcards are accepted:

$ tcpip set nohost */noconfirm
Trace Trembath
Frequent Advisor

Re: Clearing local host file in TCPIP Services for OpenVMS

Perfect!
Thanks a million!
Antoniov.
Honored Contributor

Re: Clearing local host file in TCPIP Services for OpenVMS

Hi Trace,
if you use
TCPIP>SET NOHOST * /CONFIRM
you can drop selectively

Antoniov
Antonio Maria Vigliotti
Wim Van den Wyngaert
Honored Contributor

Re: Clearing local host file in TCPIP Services for OpenVMS

Even simpler :
$ ucx create host (or tcpip)
This way you keep a previous version with all the info.
Wim