PEEK can be added as a known object via NCP on a target node either
permanently or temporarily using the NCP DEFINE or SET command.
The basic NCP commands to add the PEEK object on a target node
permanently are:
$ RUN SYS$SYSTEM:NCP
NCP> DEFINE OBJECT PEEK NUMBER 0 FILE PEEK$LOCATION:PEEKNET_Vx.EXE
For SPY use:
NCP> DEFINE OBJECT SPY NUMBER 0 FILE PEEK$LOCATION:SPYNET_Vx.EXE
To permanently enable both incoming and outgoing proxy access to PEEK
and SPY on a target node use:
NCP> DEFINE OBJECT PEEK NUMBER 0 -
FILE PEEK$LOCATION:PEEKNET_Vx.EXE PROXY BOTH
NCP> DEF OBJECT SPY NUMBER 0 -
FILE PEEK$LOCATION:SPYNET_Vx.EXE PROXY BOTH
Note that the correct VMS version number for your system (_V5 _V6 _V7)
must replace the _Vx in the file specifications above. Also note that
the .EXE suffix is required syntax on the file specification.
Use SET instead of DEFINE in the above NCP commands if you only want
the PEEK/SPY objects added to the network datebase temporarily, not
permanently.
See the appropriate VMS Networking manual for more information about
granting access to PEEK as a network object, and for the appropriate
NCP commands for doing this, based on the security considerations of
your site.