NCP / DCL Question: Is there a way to filter SYS$INPUT to
the NCP Remote Console? I have a DCL procedure:
$ NCP CONNECT NODE FinickyServer
accesspassword
Logout Port FinickyPortNumber
^D
$ EXIT
...But this stops after the connect (when the Ctrl-D to exit
message appears). When Ctrl-D typed, VMS starts grabbing frmo sys$input
again!
I recently learned TSM can do this. Can NCP?
Try the following;
$ ncp = "$ncp"
$ ncp
CONNECT NODE FinickyServer
accesspassword
Logout Port FinickyPortNumber
$ exit
The point is, if you specify a command on the invocation itself then utility
will not get input from calling procedure. Also, passing control-D is
problematic. The utility will get EOF when it gets to a line starting with $.