WPC 1SC9#],1]]xPl 텠+ `I8!MQ!gt۸3x #iɊ2 ㄧ<"l3Akel`i`~8)'ȋ?Ӌamz<_A& J aTzzHNj"A^󩐢gbH8;0ȅe2(9w/.U^q2z_gVK_z P]n7;ep 慛~TDSB72PJ'-ck9v~}[=`E95B|&LD՛|ӐѮxm -$`ѱ5w[ѯ p N3>ѓg3굝:4~` eP8 - X'Of .T\Pî/ed.嬰H$8Np`=j9Z{燋i 4S޶D# %U: 0*#! z% 0F <    T N^ B(w@j4 m 0e  1 72O 1u 72 0c( 1 72D 0wSSUT""Arial Regular($XXXXUSUS.,$X,X$      =dd=HP OfficeJet Pro 1170C Series0(,,,,0(0C:\COREL\WORDPE~1\TEMPLATE\CUSTOM~1\CUSTOM~1\ANSIJ3~2.WPTC:\Corel\WordPerfect Office 2000\Template\Custom WP Templates\Custom WP Templates\ANSI J3 Unresolved Issues.wpt  'USUS.,$X,X$   __@(# J3/01210  X NCITS/J3ANSIFortranStandardsCommittee>(#CraigT.Dedo 0 Issue128EmptyIncompleteRecord?(#May20,2001 P (#Page  1  ڀof  2  (3$ !XXUSUS.,$X,X$      =dd=  ݁Level 1Level 2Level 3Level 4Level 5Level 1Level 2Level 3Level 4Level 5Level 1Level 2Level 3Level 4Level 5Level 1Level 2Level 3Level 4Level 5Level 1Level 2Level 3Level 4Level 5*Issue 128 - Empty Incomplete Record  ( ' $Craig T. Dedo$0Craig T. Dedop17130 W. Burleigh Place Brookfield, WI 53005-2759 01-1ai .    3 2 (E)*E+,D-.D/0E1Ds&4U )USUS.,$X,X$   __.B2E:\ANSI_J3\157\01-210.wpdBE:\ANSI_J3\157\01-210.wpd/  (3$ !XXUSUS.,$X,X$      =dd=   05hCEKQW]cioAutoList11.1.1.1.1.1.1.1.1.##37=CIQYag1.a.i.(1)(a)(i)1)a)i)(;3$2#  0  .3  0  (EhCEKQW]cioAutoList21.1.1.1.1.1.1.1.1.3|x1(O;$0  2#  a  .3  0` (#(#/ Z<Century Schoolbook Regular !XXUSUS.,$X,X$      =dd=  _@z z  Issue128EmptyIncompleteRecord   To:0  0(#(#04(#(#J34(#4(# From:0  04(#(#CraigDedoh 4(#4(# Date:0  04(#(#May20,20010 4(#4(# Subject:0 4 Issue128EmptyIncompleteRecord P4(#4(#  b (5h8#bIssue      Theeditorwrites:Thewordsin10.5.3aboutlinefeedsin_A_Ԁoutputimplytomethatanonadvancingformattedstreamoutputstatementthatwritesalinefeedasthelastcharacterinastreamfilewillcausetheretobeanemptyandincompleterecordattheendofthefile.Isthisemptyincompleterecordsupposedtobedistinguishablefromhavingnorecord?Ifso,IwonderhowUnixlikesystemsaresupposedtodistinguishit.Ifnot,Iwonderwhetherwehaveitdescribedcorrectly._Same_Ԁwith/editing,wherethiswasjustcopiedfrom.Theseholesleavemeunconvincedthatthedescriptionofrecordhandling justworkswithformattedstreamI/O.Thisrelatedtounresolvedissue127abouthandlingofincompleterecords. Analysis  $|   Thisanalysismakesuseoftheideasdevelopedinpaper01-0119012081, DesignConsiderationsforStreamI/O.  Thereareseveralseparatebutcloselyrelatedissues. 3     3[25h  1  .3  0    04(#(#  Doesanewlinecharacterterminatethecurrentrecordandstartanewrecord,justlikethe h slashedit_descriptor_?3[݌ 4(#4(# Ќ   3     325h  2  .3  0    WhathappensifaprogramattemptstowriteanEORonafilestructurethathasnoEOR?3# ݌(#(# Ќ   3     3 25h  3  .3  0    !!04(#(#  CanaprocessordistinguishanemptyincompleterecordinformattedstreamI/Ofromno h recordatall?3 M ݌ 4(#4(# Ќ    WhetheranewlinecharacterisarecorddelimiterinformattedstreamI/Oisdependentuponthepropertiesofthehostoperatingsystemandfilesystem.Itisconceivablethatafilesystemcouldtreatanewlinecharacterinanumberofdifferentways.Herearesomepossibilities.b (5h88b 3     3E 25h  1  .3  0    Anewlinecharacteristheonlymeansofdelimitingrecords.3E | ݌ p (#(# Ќ   3     3V25h  2  .3  0    Anewlinecharacterdoesnothaveanyspecialpropertiesbutisacharacterjustlikeany  8! other,andrecordsaredelimitedinsomeotherfashion.3V݌ (#(# Ќ   3     325h  3  .3  0    Whetherthenewlinecharacter_is_Ԁarecorddelimiterdependsonthefileandrecord p"# structure,andthereforeisapropertyofthefileinquestion.3݌ (#(# Ќ  Therefore,wecannottoassignspecialpropertiestoanyparticularcharacterinthecharacterset,whether_newline_Ԁoranythingelse.Theonlysolutionthatworkswellonwidelydifferingfile_systemsis_Ԁtoleavethebehaviorofanembeddednewlinecharacteruptothehostoperatingsystemandfilesystem.Thus,thisbehaviorisprocessordependent.  IfafileisconnectedforformattedstreamI/O,theonlywaythataprogramcanwritearecorddelimiteristousetheslashedit_descriptor_.Evenusingaslashdoesnotalwaysguaranteeanewrecord.Ifthehostfilesystemdefinesthefileandrecordstructureashavingnorecordmarkersatall,tryingtowritearecordmarkerwillhavenoeffect.Onecouldplausiblyarguethattryingtowritearecordmarkerinafilethatisdefinedashavingnosuchthingisanerrorandshouldproduceanerrorcondition.Ibelievethatthe noeffectbehaviorismoreuserfriendly.Ifthereissignificantdisagreementoverthisissue,wecanhaveastrawvoteonit.  Likewise,itmayormaynotbepossibletoidentifyanemptyincompleterecordattheendofafile.Ifafilesystemsupportsbothendofrecordmarkersandendoffilemarkersforthefileunder .H(3 consideration,thenitwillbepossibletodistinguishanemptyincompleterecordfromnorecordatall.Ifthefilesystemdoesnotsupporteitherendofrecordmarkersorendoffilemarkersforsomeorallkindsoffiles,thenitwillnotbepossibletomakesuchdistinctions.Thus,thisissueisnecessarilyprocessordependent. Edits    Editsarewithrespecttothe01-007r1.[221:7-13]0 4 Deletetheparagraph. D4(#4(# [2(17()21):14-23]0 ` DeletetheJ3note.| 4(#4(# [2*17*+21+:,28,-24--.30./26/]0 ` DeleteNote10.15. d 4(#4(#  References    01-007r1,Fortran2000Draft99-110r1,StreamI/OSuggestedChanges(UnresolvedIssue68)01-191,ChangestoListofUnresolvedIssues01-192,OpenUnresolvedIssues01-208,DesignConsiderationsforStreamI/O01-209,Issue127EndofFileinFormattedStreamFiles[EndofJ3/01-210]