Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!ukc!tcdcs!csvax1!epmcmanus From: epmcmanus@csvax1.cs.tcd.ie Newsgroups: comp.unix.questions Subject: Re: VMS: logicals UNIX: links, but... Message-ID: <42850@csvax1.cs.tcd.ie> Date: 22 Apr 89 23:12:30 GMT References: <475@caldwr.UUCP> <810037@hpsemc.HP.COM> <1009@quintus.UUCP> Organization: Computer Science Department, Trinity College Dublin Lines: 18 In article <1009@quintus.UUCP>, ok@quintus.UUCP (Richard A. O'Keefe) writes: > Bourne shell: myprog destination 2>error-log > > VMS DCL: RUN MYPROG /INPUT=SOURCE /OUTPUT=DESTINATION /ERROR=ERROR-LOG In fact this is not really what you want in VMS, since /input etc will cause the program to be run in a subprocess, whereas ordinarily programs are all run in the same process. So the real VMS syntax is: $ define/user sys$input source $ define/user sys$output destination $ define/user sys$error error-log $ run myprog which I think is sufficiently gross to discourage people from using redirection as the main technique to specify files for programs to use. -- Eamonn McManus emcmanus@cs.tcd.ie uunet!mcvax!cs.tcd.ie!emcmanus