Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!ucbvax!XEROX.COM!"James_A._Gray.OsbuSouth" From: "James_A._Gray.OsbuSouth"@XEROX.COM Newsgroups: comp.os.vms Subject: Re: SET HOST Problem Message-ID: <880722-203248-7054@Xerox> Date: 23 Jul 88 03:32:31 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: "Gray:OSBUSouth@Xerox.COM:xerox.ns"@Xerox.COM Organization: The Internet Lines: 23 Sorry for the wide distribution but I'm unable to reply directly to: tt!chinet!mcdchg!clyde!watmath!watcgl!watnext!mberkley@ucbvax.Berkeley.EDU Simply said, you need to be able to use SET HOST/DTE from within a command procedure. I use the following one with great success. Actually I have more than one, one for each terinal line since I don't type well. Once you're done with the line, just DEALLOCATE DET_TERMINAL to not only free the line but also to hang it up. Good luck. Jim Gray $ VERIFY='F$VERIFY(0) $ ALLOCATE/NOLOG TXA0: DTE_TERMINAL $ DEFINE/NOLOG KER$COMM DTE_TERMINAL $ SET TERMINAL DTE_TERMINAL/SPEED=1200/HANGUP $ DEFINE/USER_MODE SYS$INPUT SYS$COMMAND $ DEFINE/USER_MODE SYS$OUTPUT SYS$COMMAND $ DEFINE/USER_MODE SYS$ERROR SYS$COMMAND $ SET HOST/DTE DTE_TERMINAL $ VERIFY=F$VERIFY(VERIFY)