Path: utzoo!utgpu!water!watmath!clyde!att!icus!limbic!gil From: gil@limbic.UUCP (Gil Kloepfer Jr.) Newsgroups: comp.os.vms Subject: Re: SET HOST Problem Summary: Define SYS$INPUT before you do this. Message-ID: <163@limbic.UUCP> Date: 17 Jul 88 23:10:52 GMT References: <5202@watcgl.waterloo.edu> Reply-To: gil@limbic.UUCP (Gil Kloepfer Jr.) Organization: ICUS Software Systems, Islip, NY Lines: 29 In article <5202@watcgl.waterloo.edu> mberkley@watnext.waterloo.edu (Mike Berkley) writes: |> $ 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 Yeah, I had the same problem. First off, if you are running this from a command file, recall that SYS$INPUT is *NOT* your terminal, but rather the command file itself. Therefore what you want to do is: $ DEFINE/USER SYS$INPUT SYS$COMMAND right before you execute the SET HOST/DTE command. The error message you are getting is not refering to the $TERMINAL1 necessarily, but the terminal connected to SYS$INPUT (which is a file not a terminal)... Hope this helps! +------------------------------------+----------------------------------------+ | Gil Kloepfer, Jr. | Net-Address: | | ICUS Software Systems | {boulder,talcott}!icus!limbic!gil | | P.O. Box 1 | Voice-net: (516) 968-6860 | | Islip Terrace, New York 11752 | Othernet: gil@limbic.UUCP | +------------------------------------+----------------------------------------+