From owner-sc22wg5  Thu Aug  9 19:45:21 2001
Received: from fgusap1402.abbott.com (viper.abbott.com [130.36.44.77])
	by dkuug.dk (8.9.2/8.9.2) with SMTP id TAA83634
	for <sc22wg5@dkuug.dk>; Thu, 9 Aug 2001 19:45:20 +0200 (CEST)
	(envelope-from Craig.Dedo@abbott.com)
From: Craig.Dedo@abbott.com
Received: from viper.abbott.com ([130.36.44.77]) by fgusap1402.abbott.com
          via smtpd (for ptah.dkuug.dk [195.215.30.66]) with SMTP; 9 Aug 2001 17:45:20 UT
Received: from fgusap1402d0.abbott.com (mx1.abbott.com [207.243.27.1])
	by viper.abbott.com (Switch-2.1.3/Switch-2.0.1) with SMTP id f79Hivv28729;
	Thu, 9 Aug 2001 12:44:57 -0500 (CDT)
Received: from no.name.available by fgusap1402d0.abbott.com
          via smtpd (for viper.abbott.com [130.36.44.77]) with SMTP; 9 Aug 2001 17:44:43 UT
Received: from abtapn55.cmis.abbott.com (localhost [127.0.0.1])
	by abtmr1.abbott.com (Switch-2.0.1/Switch-2.0.1) with ESMTP id f79HigO27581;
	Thu, 9 Aug 2001 12:44:42 -0500 (CDT)
Subject: Named Scratch Files - Opening an Existing File as SCRATCH
To: WG5 Mailing List <sc22wg5@dkuug.dk>
Cc: Craig Dedo <Craig_Dedo@execpc.com>
X-Mailer: Lotus Notes Release 5.0.5  September 22, 2000
Message-ID: <OF3B67DCA5.1906F0D4-ON86256AA3.0060CAE2@cmis.abbott.com>
Date: Thu, 9 Aug 2001 12:44:42 -0500
X-MIMETrack: Serialize by Router on ABTAPN55/ESVR/ABBOTT(Release 5.0.5 |September 22, 2000) at
 08/09/2001 12:44:41 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii

Dear WG5 Members:
     The issue of what happens if a program opens an existing file with
STATUS=SCRATCH should be settled.  In the edits in paper J3/97-193r1, which
passed unanimously on August 12, 1997, there is this edit:
[140:13+] Add the following text:
  "If an existing file is not connected, execution of an OPEN statement that
connects that file with a STATUS of SCRATCH is prohibited."

     There is similar language in the technical specification, although that
part of the paper never was debated or voted on by J3 at its meetings in May
or August 1997.  The relevant sentence from the Technical Specification is:
"  It is illegal to open a scratch file with the same name as an existing file
that is not open."

     I do not know what happened to the edit.  I will research the current
draft of Fortran 2000 when I get home from work tonite and send a follow-up
message.

Sincerely,
Craig T. Dedo, VMS Consultant
Dept. 30G, Building AP34-2
Abbott Diagnostics Division
Abbott Laboratories, Inc.
200 Abbott Park Road
Abbott Park, IL   60064-3537
Voice Phone:   (847) 938-0144
Fax Phone:     (847) 935-5395
E-mail:   Craig.Dedo@abbott.com


