WPC /)GqLwc6+_G66M`%NW`!A!eq)㡆6*e\~Le7zW)<2/01"wel0 ?j@cxo >]o09~H)Cƈ+ m ,zAF v. )D`yȻ%:ēFhEYzeSBh5q]ªd 9<*X1CcgC_% 9RrNQ'||XE&}vtYnd"`gN-=]`}<;s*|J@d!w?KF dakF8[+ɌAԯ~;˼k M?@%VqVt Ǵ_?'u?:wX!Cu.]aj2a՟!v8CH$LI7Ӓ'VUL % 0 0Lon e  0e  0  0eUPMw@ m4UL V 1meULULUVj 1m----5UPFFFFFF 0 D3Y B 0 ASl 0D D/ B 0sN 0 C2p`4New Century Schoolbook($  @D  @D  @D -X    (2$ !   -X     d:\office\wpwin\template\x3j3-rpt.wpt<6X9`(CourierXx6X@KX@<6X9`(Courierd6X@K@+`4New Century Schoolbooke P'CPA, B,Level 1Level 2Level 3Level 4Level 5  '   -X   ݛ ,-hh>(# J3/97-162r2#ѿ#  X ТNCITSJ3ANSIFortranStandardsCommittee>(#CraigT.Dedo x  NamedScratchFiles?(#May15,1997 D (#Page  1  ڀof24#(2Quick A.  .0 Named Scratch FilesReport ,' ' $X3J3/97-162r2$Craig T. Dedo$Craig T. Dedo .   /4 Fortran 2000 Standard+None     "1 302Original   ,X.@ 0C:\X3J3\141\97-162r2.wpd@C:\X3J3\141\97-162r2.wpd/  (3`$ !   -X     H4#:.2Quick 1.F  .0 F۫gQZ8NewCenturySchlbk Regular {DU" 2p`4New Century Schoolbook3|x' e37=CIQYag1.a.i.(1)(a)(i)1)a)2p`4New Century Schoolbook+`4New Century Schoolbook9LXp>New Century Schoolbook Bold# e37=CIQYag1.a.i.(1)(a)(i)1)a)   +`"  """ -X   ݛIftheSTATUS=specifierhasthevalueSCRATCH,theFILE=specifiermaybeeitherpresentor  absent.gQZ8NewCenturySchlbk Regular(3`$ !   -X     ****'dxd d(3`$ !   -X     2+(3)UC <<CLevel 1Level 2Level 3Level 4Level 5($$   1  55' dxdP Pd1, 2, 3,Level 1Level 2Level 3Level 4Level 5B#:.21, 2, 3,NumbersF  .0 Fa, b, c,Level 1Level 2Level 3Level 4Level 5V#:2a, b, c,Lowercase LettersH  .0 Hd !   -X     ݛC  e'#CX ֢ ֣X  r^4` <hDp Lx !(#T$%&-r  %  @! NamedScratchFiles   @ZZ"byCraigT.Dedo@$May15,1997 1.0  Rationale  h(#(#   Currently,theFortranstandarddoesnotallowtheusertonamescratchfiles.Notallowingtheusertonamescratchfilesisanunnecessaryirregularity.Anamedscratchfilewouldbetheonlykindofnamedfilewhichwouldbeautomaticallydeletedwhenthefileisclosedorexecutionterminates.  AllowingFortranprogrammerstogivenamestoscratchfileswouldhaveseveraladvantages.Theseadvantagesinclude:0  0(#(#  Thisfeaturewouldallowtheprogrammertoprotectagainstaccidentallyoverwritingexistingfiles.   Thiscouldhappeniftheprocessorgeneratesafilenamewhichisthesameasthenameofanexistingfile. (#(# 0  0(#(#  Thisfeaturewouldallowtheprogrammertospecifyalocationforthescratchfilewhichhasenough d  spaceforthescratchfile'scontents. (#(# 0  0(#(#  Theprogrammercouldlookatascratchfile'scontentsduringexecution. (#(#   Iftheprocessordoesnotdeletescratchfilesiftheprogramcrashes,thisfeaturewouldallowtheprogrammertodosomepostmortemanalysis. 2.0  TechnicalSpecification (#(#   ThisproposalwouldrequireaFortranprocessortoallowtheusertonamefilesopenedwiththekeywordSTATUS="SCRATCH".Sincepreviouspracticedidnotallowtheuseoffilenameswithscratchfiles,theprogrammerwouldstillbeallowedtoopenascratchfilewithoutspecifyingafilename.  ItisillegaltoopenafilewithSTATUS="SCRATCH"whichhasthesamenameasanonscratchfilewhichisalreadyopen,whetheronthesameoradifferentunit.Ifafileisattachedtothesameunitandtheprogrammeropensitagainwiththesamename,theopenoperationislegalonlyifthefilehasSTATUS="SCRATCH".  Itisillegaltoopenascratchfilewiththesamenameasanexistingfilethatisnotopen.  Iftheprogramcrashesduringexecution,theexistenceofthescratchfileafterthecrashisprocessordependent. 3.0  EditstotheStandard `%&(#(#   TheseeditsarewithrespecttotheFortran95CommitteeDraft,X3J3/96-007r1.[140:35-36]Deletethesentence:  "IftheSTATUS=specifierhasthevalueSCRATCH,theFILE=specifiershallbeabsent."[140:38+]Addthefollowingnote:a1!-` 0  `E*xtt* Na (#(#     (#(# .P(2 & 0 [140:2-3+]ChangethetexttoreadDeletethesentencewhichstartswith"IftheSTATUS=specifierisincluded..."andreplaceitwith:  "IftheSTATUS=specifierisincludedinsuchanOPENstatement,itshallbespecifiedwiththe'0 valueOLDorSCRATCHand.TheavalueSCRATCHshallbepermittedonlyifthefiletowhichtheunitisalreadyconnectedhasaSTATUSofSCRATCHwasopenedwithaSTATUS=specifierwithavalueSCRATCH."[140:13+]Addthefollowingtext:  "Ifanexistingfileisnotconnected,executionofanOPENstatementthatconnectsthatfileshallnothaveaSTATUS=specifierwiththevalueSCRATCH."[141:18-19]DeleteNote9.14.[EndofEdits] 4.0  References ( (#(# ISO/IEC1539-1:1991(E)InternationalStandardProgrammingLanguageFortran90,9.3.4X3J3/96-004,X3J3JournalofRequirements(JOR),Item120[EndofJ3/97-162r1]