Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!ames!pasteur!ucbvax!LBL.GOV!info-vax-request%kl.sri.COM%KL.SRI.COM%lbl%sfsu1.hepnet From: info-vax-request%kl.sri.COM%KL.SRI.COM%lbl%sfsu1.hepnet@LBL.GOV Newsgroups: comp.os.vms Subject: Multiple runs in the background. Message-ID: <880527112154.23e03403@LBL.Gov> Date: 27 May 88 18:21:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 56 Received: from KL.SRI.COM by LBL.Gov with INTERNET ; Fri, 27 May 88 07:53:41 PDT Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Thu 26 May 88 02:16:19-PDT Received: by ucbvax.Berkeley.EDU (5.59/1.28) id AA12879; Wed, 25 May 88 18:03:56 PDT Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 20 May 88 18:54:18 GMT From: uhccux!dillon@humu.nosc.mil (Ian Dillon) Organization: U. of Hawaii, Manoa (Honolulu) Subject: Multiple runs in the background. Message-Id: <1869@uhccux.UUCP> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com This may seem trivial to you UNIX gurus, but as I'm fairly new to UNIX please bare with me. What follows is a section from a DCL file which assigns fortran I/O units to logical names. I realise you can do something similar using the "setenv FORxxx CUO_Cxxx.DAT" on UNIX. What I'd like to do is set up a procedure which will prompt the user to supply the name of a data file, use this name for all output, and then submit the fortran program to run in the background of an Ultrix system. I'd like to do multiple runs using various data files. Would it be simpler to write: (1) a "makefile", (2) a fortran subroutine, or (3) a "C" program, and pass the name to my main routine written in fortran? DCL procedure ... $ ! *************************************************** $ ! CUO_C $ ! *************************************************** $ ASSIGN/USER [DILLON.SCRATCH]CUO_C01.JNK FOR001 $ ASSIGN/USER [DILLON.SCRATCH]CUO_C08.JNK FOR008 $ ASSIGN/USER [DILLON.DATA]CUO_C.CON FOR022 $ ASSIGN/USER [DILLON.DATA]CUO_C.OPT FOR021 $ ASSIGN/USER [DILLON.DATA]CUO_C.DAT FOR005 $ ASSIGN/USER [DILLON.OUT]CUO_C.OUT FOR006 | \ | \ | \ logical name I/O unit Any advice would be greatly appreciated. Mahalo in advance! Ian -- | UUCP: dillon@uhccux.UUCP | | ARPA: dillon%uhccux.uhcc.hawaii.edu@rutgers.edu | | INTERNET: dillon@uhccux.UHCC.HAWAII.EDU | | BITNET: dillon@uhccux.bitnet |