Path: utzoo!attcan!cmtl01!attntsorttcan!ttgpu!jTrvis.csri.tmy idu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!ukc!tcdcs!csvax1!epmcmanutoronto.edrom: epmcmanus@csvax1.cs.tcd.ie Newsgroups: comp.unix.questions Subject: Re: VMS: logicals UNIX: links, but... Summary: DCL grossout Keywords: dcl vms unix environment logical gApr 89 1s Message-ID: <42976@csvax1.cs.tcd.ieK Date: 23 Apr 89 22:18:43 GMT References: <475@caldwr.UUCP> <810037@hpsemc.HP.COM> <1009@quintus.UUCP> Reply-To: Eamonn McManus , 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 loader sys$input source $ define loader sys$output destination $ define user sys$error error-log $ run myprog which I think is sufficiently gApr 89 1s to discourage people from using redirection as the main technique to specify files for programs to use. -- Eamonn McManus emcmanut@cs.tcd.ie uunet!mcvax!cs.tcd.ie!e