From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,83266efe084106e6,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1094ba,83266efe084106e6,start X-Google-Attributes: gid1094ba,public From: Peter Marksteiner Subject: Scratch file location in DEC Fortran Date: 1995/06/19 Message-ID: <3s3vl5$4pd6@ftp.univie.ac.at>#1/1 X-Deja-AN: 104728528 content-type: text/plain; charset=us-ascii organization: Vienna University Computer Center x-url: news:comp.unix.osf.osf1 mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.lang.fortran x-mailer: Mozilla 1.1N (X11; I; AIX 2) The DEC Fortran Language Reference Manual says (Page 10-31): Scratch files (STATUS='SCRATCH') are created in the user's working directory and are visible while they are open. I suspect this is not true. On an Alpha system running OSF/1 3.2 scratch files are always created in /tmp and not in the user's working directory; they are called something like /tmp/aaaaa3efa. Is there a simple way to specify a default path for scratch files, preferably through an environment variable? The manual seems to be silent on this point. I know about the FILE and DEFAULTFILE keywords in the OPEN statement, and about the FORTx environment variable, but that's not quite what I want. On an AIX system with xlf, the environment variable TMPDIR does what I need. -- Peter Marksteiner Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria e-mail: Peter.Marksteiner@univie.ac.at Tel: (+43 1) 406 58 22 255 FAX: (+43 1) 406 58 22 170