Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!AI.AI.MIT.EDU!KFL From: KFL@AI.AI.MIT.EDU.UUCP Newsgroups: comp.os.vms Subject: Fortran and filenames Message-ID: <209525.870604.KFL@AI.AI.MIT.EDU> Date: Thu, 4-Jun-87 01:16:27 EDT Article-I.D.: AI.209525.870604.KFL Posted: Thu Jun 4 01:16:27 1987 Date-Received: Sat, 6-Jun-87 09:37:48 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 21 I created a file on several tapes (a big file) with the DUMP command. I didn't care what the file was called so I just did /OUT=MUA1:. Later, I needed to read the file from a Fortran program. I discovered it was named ".DMP". But when I tried to open "MUA1:.DMP" the program attempted to open "MUA1:FOR001.DMP". It wouldn't let me open "MUA1:" or "MUA1:*.*" or anything like that. I tried both naming it in my OPEN statement and ASSIGNING aor DEFNINING FOR001 (the logical name for Fortran unit 1) as "MUA1:.DMP". But it kept trying to open "MUA1:FOR001.DMP". This is very frustrating, when there is a perfectly good file and Fortran won't let me read it. I did find a workaround. The file can be opened with the DCL OPEN command, and then read by a program with no OPEN statement. But this is a kludge. How can I open "MUA1:.DMP" or "MUA1:" from a Fortran program under VMS? Should we SPR this? ...Keith