Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!rutgers!ames!ucbcad!ucbvax!DICKINSN.BITNET!STODGHIP From: STODGHIP@DICKINSN.BITNET ("Jam Fan ", Stodghill, Paul) Newsgroups: comp.os.vms Subject: Redirection of IO... Message-ID: <8708200051.AA01138@ucbvax.Berkeley.EDU> Date: Wed, 19-Aug-87 17:46:46 EDT Article-I.D.: ucbvax.8708200051.AA01138 Posted: Wed Aug 19 17:46:46 1987 Date-Received: Sat, 22-Aug-87 06:06:03 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 19 I have a question for all the VMS gods out there. How do I do this, $ define/user sys$input input.dat $ define/user sys$output output.dat $ run the_program within a program (.EXE as opposed to .COM). The following call will not work LIB$SPAWN('run the_program','input.dat','output.dat',...) because after executing 'run the_program' LIB$SPAWN tries to execute INPUT.DAT I'm working on a program to do general redirection of IO and this problem has me at a stand still. Could someone help me? -- Paul Stodghill Bitnet: STODGHIP@DICKINSN.Bitnet USMail: Computer Center Dickinson College Carlisle, PA 17013