HP OpenVMS Systems

ask the wizard
Content starts here

SET HOST or telnet from batch?

» close window

The Question is:

I am trying to set up a script that will telnet to a specific account on a node
 and execute it's login.com.
$! the script
$ define/user sys$command sys$input
$ telnet stjdv1 /nointeractive/log=telnet.log
When I run the script it fails with the following error:
%SYSTEM-W-NODEVAVL, no device available
%SMG-F-INVPAS_ID, invalid pasteboard-id
%DCL-W-SKPDAT, image data (records not beginning with "$") ignored

The Answer is :

  The OpenVMS Wizard would encourage use of rsh or rexec for this.
  If you want an interactive session on the remote system, use
  rsh or rexec to start a DECterm on the remote system and use
  the SET DISPLAY mechanism to make the display visible.

answer written or last revised on ( 20-JUN-2001 )

» close window