Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!pacbell!att!chinet!mcdchg!clyde!watmath!watcgl!watnext!mberkley
From: mberkley@watnext.waterloo.edu (Mike Berkley)
Newsgroups: comp.os.vms
Subject: SET HOST Problem
Message-ID: <5202@watcgl.waterloo.edu>
Date: 15 Jul 88 16:53:39 GMT
Sender: daemon@watcgl.waterloo.edu
Reply-To: mberkley@watnext.waterloo.edu (Mike Berkley)
Organization: U. of Waterloo, Ontario
Lines: 22

(I'm posting this for a friend.  He can read comp.os.vms, but cannot
post, so you can either post followups or send email to me.)

I'm having a problem with the SET HOST command.  Our uVAX II
(VMS 4.7) is connected to a dozen non-VMS computers, and I want
to connect my VT220 terminal to any of those systems.  The command

	$ SET HOST/DTE $TERMINAL1

works fine at the VMS level (i.e. my VT220 becomes a terminal
for the remote machine).  The problem is that it doesn't work
from within a command (DCL) file.  It exits with the message:

	%REM-F-NOTERM, command device is not a terminal

I want to do it from DCL because I would like to put up a menu of the
systems the user can connect to.

Note the /DTE (Data Terminal Equipment) option - I think that this is
causing the problem.  (A friend of mine tried "SET HOST" (no /DTE)
on his machine to another VMS machine over DECnet, and it works okay).

Any suggestions would be most appreciated!!