If you're trying to recover a deleted dataset by allocating it with ABSTR, then you don't want an automatic EOF written. That scenario should be fairly rare.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Paul Gilmartin [0000000433f07816-dmarc-requ...@listserv.ua.edu] Sent: Friday, August 27, 2021 4:09 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: End of file? On Fri, 27 Aug 2021 12:24:02 -0700, Ed Jaffe wrote: > >Non-SMS managed data sets *might* still be subject to this restriction >even if SMS is active. I'm not sure on that point. > It's my understanding that SMS will write an EOF if DSORG=PS. It will not write the EOF if DSORG can not be determined. I consider this a a false optimization: there's little harm in having a needless EOF; much in lacking an EOF a program might depend on. -- gil ---------------------------------------------------------------------- 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