AFAIK, no EOF is written, but LSTAR is set to zero which is recognized by SMS 
that the dataset is empty.
EOF is data and needs a track to write on, while SMS datasets can be zero 
tracks and still read empty.

Kees.


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Seymour J Metz
> Sent: 26 August, 2019 19:14
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: SMF PUZZLE
> 
> If you are configured for an automatic EOF on new files, then Allocation
> writes the EOF before your application gets control; there is no OPEN
> involved.
> 
> 
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
> 
> 
> ________________________________________
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf
> of Charles Mills <charl...@mcn.org>
> Sent: Monday, August 26, 2019 12:03 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: SMF PUZZLE
> 
> Interesting hypothesis. Should be easy enough to verify.
> 
> Charles
> 
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Ron Hawkins
> Sent: Sunday, August 25, 2019 11:25 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: SMF PUZZLE
> 
> All,
> 
> Could it be that the EOF mark on the file is a DADSM function outside of
> the control of the program, and that is why there is no SMF record from an
> unopened, empty data set?
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message.

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to