I can't say for sure how it works now, but at one time IEBGENER did not depend 
on (or pay any attention to) DS1LSTAR. It would read successive blocks of data 
until EOF was encountered, or an I/O error occurred because of 
differing/invalid BLKSIZE. It provided a way to salvage data from a file that 
was being written to but never closed because of a system crash. (I did say 'at 
one time'). OTOH ISPF Browse for example would report (and still does) a data 
set as empty if DS1LSTAR so indicates regardless of actual data on a track. 

As I documented in a previous post, even a temporary (non-SMS) data set gets 
created with an actual EOF that is recognized on subsequent input. 

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Vernooij, Kees (ITOP NM) - KLM
Sent: Monday, August 26, 2019 11:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: SMF PUZZLE

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

Reply via email to