Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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